From 5e0dd5ae61ddf5b9e8986ef6e184b272181f171f Mon Sep 17 00:00:00 2001 From: Denis Ogun Date: Mon, 2 Dec 2024 22:36:51 -0800 Subject: [PATCH] feat: initial public SDK release --- .github/CODEOWNERS | 1 + .github/workflows/commit-lint.yml | 21 + .github/workflows/release.yml | 28 + .gitignore | 46 + .releaserc.yml | 5 + CMakeLists.txt | 31 + LICENSE.md | 188 + README.md | 48 + SECURITY.md | 5 + .../v1/classification.pub.grpc.pb.cc | 29 + .../v1/classification.pub.grpc.pb.h | 37 + .../entitymanager/v1/classification.pub.pb.cc | 1090 ++ .../entitymanager/v1/classification.pub.pb.h | 1192 ++ .../v1/contact_details.pub.grpc.pb.cc | 29 + .../v1/contact_details.pub.grpc.pb.h | 37 + .../v1/contact_details.pub.pb.cc | 363 + .../entitymanager/v1/contact_details.pub.pb.h | 351 + .../v1/correlations.pub.grpc.pb.cc | 29 + .../v1/correlations.pub.grpc.pb.h | 37 + .../entitymanager/v1/correlations.pub.pb.cc | 941 ++ .../entitymanager/v1/correlations.pub.pb.h | 1043 ++ .../v1/dimensions.pub.grpc.pb.cc | 29 + .../entitymanager/v1/dimensions.pub.grpc.pb.h | 37 + .../entitymanager/v1/dimensions.pub.pb.cc | 335 + .../entitymanager/v1/dimensions.pub.pb.h | 319 + .../entitymanager/v1/entity.pub.grpc.pb.cc | 29 + .../entitymanager/v1/entity.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/entity.pub.pb.cc | 9130 +++++++++++ src/anduril/entitymanager/v1/entity.pub.pb.h | 12611 ++++++++++++++++ .../v1/entity_manager_grpcapi.pub.grpc.pb.cc | 286 + .../v1/entity_manager_grpcapi.pub.grpc.pb.h | 1064 ++ .../v1/entity_manager_grpcapi.pub.pb.cc | 4168 +++++ .../v1/entity_manager_grpcapi.pub.pb.h | 4541 ++++++ .../entitymanager/v1/filter.pub.grpc.pb.cc | 29 + .../entitymanager/v1/filter.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/filter.pub.pb.cc | 6970 +++++++++ src/anduril/entitymanager/v1/filter.pub.pb.h | 7646 ++++++++++ .../v1/filter_dynamic.pub.grpc.pb.cc | 29 + .../v1/filter_dynamic.pub.grpc.pb.h | 37 + .../entitymanager/v1/filter_dynamic.pub.pb.cc | 963 ++ .../entitymanager/v1/filter_dynamic.pub.pb.h | 1079 ++ .../entitymanager/v1/geoentity.pub.grpc.pb.cc | 29 + .../entitymanager/v1/geoentity.pub.grpc.pb.h | 37 + .../entitymanager/v1/geoentity.pub.pb.cc | 3273 ++++ .../entitymanager/v1/geoentity.pub.pb.h | 3710 +++++ .../entitymanager/v1/group.pub.grpc.pb.cc | 29 + .../entitymanager/v1/group.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/group.pub.pb.cc | 223 + src/anduril/entitymanager/v1/group.pub.pb.h | 253 + .../v1/health_status.pub.grpc.pb.cc | 29 + .../v1/health_status.pub.grpc.pb.h | 37 + .../entitymanager/v1/health_status.pub.pb.cc | 2120 +++ .../entitymanager/v1/health_status.pub.pb.h | 2393 +++ .../entitymanager/v1/location.pub.grpc.pb.cc | 29 + .../entitymanager/v1/location.pub.grpc.pb.h | 37 + .../entitymanager/v1/location.pub.pb.cc | 2650 ++++ .../entitymanager/v1/location.pub.pb.h | 3463 +++++ .../entitymanager/v1/media.pub.grpc.pb.cc | 29 + .../entitymanager/v1/media.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/media.pub.pb.cc | 721 + src/anduril/entitymanager/v1/media.pub.pb.h | 756 + .../v1/notification.pub.grpc.pb.cc | 29 + .../v1/notification.pub.grpc.pb.h | 37 + .../entitymanager/v1/notification.pub.pb.cc | 493 + .../entitymanager/v1/notification.pub.pb.h | 569 + .../entitymanager/v1/ontology.pub.grpc.pb.cc | 29 + .../entitymanager/v1/ontology.pub.grpc.pb.h | 37 + .../entitymanager/v1/ontology.pub.pb.cc | 744 + .../entitymanager/v1/ontology.pub.pb.h | 742 + .../entitymanager/v1/options.pub.grpc.pb.cc | 29 + .../entitymanager/v1/options.pub.grpc.pb.h | 37 + .../entitymanager/v1/options.pub.pb.cc | 99 + src/anduril/entitymanager/v1/options.pub.pb.h | 96 + .../entitymanager/v1/orbit.pub.grpc.pb.cc | 29 + .../entitymanager/v1/orbit.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/orbit.pub.pb.cc | 391 + src/anduril/entitymanager/v1/orbit.pub.pb.h | 395 + .../entitymanager/v1/payloads.pub.grpc.pb.cc | 29 + .../entitymanager/v1/payloads.pub.grpc.pb.h | 37 + .../entitymanager/v1/payloads.pub.pb.cc | 1111 ++ .../entitymanager/v1/payloads.pub.pb.h | 1160 ++ .../entitymanager/v1/power.pub.grpc.pb.cc | 29 + .../entitymanager/v1/power.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/power.pub.pb.cc | 1550 ++ src/anduril/entitymanager/v1/power.pub.pb.h | 1758 +++ .../v1/rate_limit.pub.grpc.pb.cc | 29 + .../entitymanager/v1/rate_limit.pub.grpc.pb.h | 37 + .../entitymanager/v1/rate_limit.pub.pb.cc | 337 + .../entitymanager/v1/rate_limit.pub.pb.h | 319 + .../v1/relationship.pub.grpc.pb.cc | 29 + .../v1/relationship.pub.grpc.pb.h | 37 + .../entitymanager/v1/relationship.pub.pb.cc | 1990 +++ .../entitymanager/v1/relationship.pub.pb.h | 2265 +++ .../v1/route_details.pub.grpc.pb.cc | 29 + .../v1/route_details.pub.grpc.pb.h | 37 + .../entitymanager/v1/route_details.pub.pb.cc | 433 + .../entitymanager/v1/route_details.pub.pb.h | 461 + .../entitymanager/v1/schedule.pub.grpc.pb.cc | 29 + .../entitymanager/v1/schedule.pub.grpc.pb.h | 37 + .../entitymanager/v1/schedule.pub.pb.cc | 1031 ++ .../entitymanager/v1/schedule.pub.pb.h | 1041 ++ .../entitymanager/v1/sensors.pub.grpc.pb.cc | 29 + .../entitymanager/v1/sensors.pub.grpc.pb.h | 37 + .../entitymanager/v1/sensors.pub.pb.cc | 2970 ++++ src/anduril/entitymanager/v1/sensors.pub.pb.h | 3644 +++++ .../entitymanager/v1/signal.pub.grpc.pb.cc | 29 + .../entitymanager/v1/signal.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/signal.pub.pb.cc | 3868 +++++ src/anduril/entitymanager/v1/signal.pub.pb.h | 4605 ++++++ .../entitymanager/v1/supplies.pub.grpc.pb.cc | 29 + .../entitymanager/v1/supplies.pub.grpc.pb.h | 37 + .../entitymanager/v1/supplies.pub.pb.cc | 932 ++ .../entitymanager/v1/supplies.pub.pb.h | 1059 ++ .../v1/target_priority.pub.grpc.pb.cc | 29 + .../v1/target_priority.pub.grpc.pb.h | 37 + .../v1/target_priority.pub.pb.cc | 1367 ++ .../entitymanager/v1/target_priority.pub.pb.h | 1407 ++ .../v1/transponder_codes.pub.grpc.pb.cc | 29 + .../v1/transponder_codes.pub.grpc.pb.h | 37 + .../v1/transponder_codes.pub.pb.cc | 1176 ++ .../v1/transponder_codes.pub.pb.h | 1272 ++ .../entitymanager/v1/types.pub.grpc.pb.cc | 29 + .../entitymanager/v1/types.pub.grpc.pb.h | 37 + src/anduril/entitymanager/v1/types.pub.pb.cc | 715 + src/anduril/entitymanager/v1/types.pub.pb.h | 801 + src/anduril/ontology/v1/type.pub.grpc.pb.cc | 29 + src/anduril/ontology/v1/type.pub.grpc.pb.h | 37 + src/anduril/ontology/v1/type.pub.pb.cc | 197 + src/anduril/ontology/v1/type.pub.pb.h | 336 + .../v1/generic_spec.pub.grpc.pb.cc | 29 + .../taskmanager/v1/generic_spec.pub.grpc.pb.h | 37 + .../taskmanager/v1/generic_spec.pub.pb.cc | 390 + .../taskmanager/v1/generic_spec.pub.pb.h | 395 + .../taskmanager/v1/task.pub.grpc.pb.cc | 29 + src/anduril/taskmanager/v1/task.pub.grpc.pb.h | 37 + src/anduril/taskmanager/v1/task.pub.pb.cc | 6645 ++++++++ src/anduril/taskmanager/v1/task.pub.pb.h | 8232 ++++++++++ .../taskmanager/v1/task_api.pub.grpc.pb.cc | 29 + .../taskmanager/v1/task_api.pub.grpc.pb.h | 37 + src/anduril/taskmanager/v1/task_api.pub.pb.cc | 995 ++ src/anduril/taskmanager/v1/task_api.pub.pb.h | 1008 ++ .../v1/task_manager_grpcapi.pub.grpc.pb.cc | 251 + .../v1/task_manager_grpcapi.pub.grpc.pb.h | 891 ++ .../v1/task_manager_grpcapi.pub.pb.cc | 5327 +++++++ .../v1/task_manager_grpcapi.pub.pb.h | 5643 +++++++ .../common/v1/common_tasks.pub.grpc.pb.cc | 35 + .../common/v1/common_tasks.pub.grpc.pb.h | 43 + .../common/v1/common_tasks.pub.pb.cc | 1174 ++ .../common/v1/common_tasks.pub.pb.h | 1135 ++ .../rf/v1/rf_tasks.pub.grpc.pb.cc | 35 + .../rf/v1/rf_tasks.pub.grpc.pb.h | 43 + .../desertguardian/rf/v1/rf_tasks.pub.pb.cc | 880 ++ .../ad/desertguardian/rf/v1/rf_tasks.pub.pb.h | 899 ++ .../jadc2/thirdparty/v1/power.pub.grpc.pb.cc | 33 + .../jadc2/thirdparty/v1/power.pub.grpc.pb.h | 41 + .../tasks/jadc2/thirdparty/v1/power.pub.pb.cc | 357 + .../tasks/jadc2/thirdparty/v1/power.pub.pb.h | 375 + .../thirdparty/v1/transit.pub.grpc.pb.cc | 33 + .../jadc2/thirdparty/v1/transit.pub.grpc.pb.h | 41 + .../jadc2/thirdparty/v1/transit.pub.pb.cc | 1082 ++ .../jadc2/thirdparty/v1/transit.pub.pb.h | 1128 ++ src/anduril/tasks/v2/catalog.pub.grpc.pb.cc | 29 + src/anduril/tasks/v2/catalog.pub.grpc.pb.h | 37 + src/anduril/tasks/v2/catalog.pub.pb.cc | 675 + src/anduril/tasks/v2/catalog.pub.pb.h | 671 + src/anduril/tasks/v2/common.pub.grpc.pb.cc | 29 + src/anduril/tasks/v2/common.pub.grpc.pb.h | 37 + src/anduril/tasks/v2/common.pub.pb.cc | 1877 +++ src/anduril/tasks/v2/common.pub.pb.h | 1898 +++ src/anduril/tasks/v2/objective.pub.grpc.pb.cc | 29 + src/anduril/tasks/v2/objective.pub.grpc.pb.h | 37 + src/anduril/tasks/v2/objective.pub.pb.cc | 838 + src/anduril/tasks/v2/objective.pub.pb.h | 942 ++ .../tasks/v2/shared/isr.pub.grpc.pb.cc | 29 + src/anduril/tasks/v2/shared/isr.pub.grpc.pb.h | 37 + src/anduril/tasks/v2/shared/isr.pub.pb.cc | 7635 ++++++++++ src/anduril/tasks/v2/shared/isr.pub.pb.h | 8543 +++++++++++ .../tasks/v2/shared/maneuver.pub.grpc.pb.cc | 29 + .../tasks/v2/shared/maneuver.pub.grpc.pb.h | 37 + .../tasks/v2/shared/maneuver.pub.pb.cc | 2337 +++ src/anduril/tasks/v2/shared/maneuver.pub.pb.h | 2330 +++ .../tasks/v2/shared/strike.pub.grpc.pb.cc | 29 + .../tasks/v2/shared/strike.pub.grpc.pb.h | 37 + src/anduril/tasks/v2/shared/strike.pub.pb.cc | 2411 +++ src/anduril/tasks/v2/shared/strike.pub.pb.h | 2630 ++++ src/anduril/type/attribution.pub.grpc.pb.cc | 27 + src/anduril/type/attribution.pub.grpc.pb.h | 35 + src/anduril/type/attribution.pub.pb.cc | 384 + src/anduril/type/attribution.pub.pb.h | 381 + src/anduril/type/color.pub.grpc.pb.cc | 27 + src/anduril/type/color.pub.grpc.pb.h | 35 + src/anduril/type/color.pub.pb.cc | 477 + src/anduril/type/color.pub.pb.h | 493 + src/anduril/type/coords.pub.grpc.pb.cc | 27 + src/anduril/type/coords.pub.grpc.pb.h | 35 + src/anduril/type/coords.pub.pb.cc | 6959 +++++++++ src/anduril/type/coords.pub.pb.h | 6927 +++++++++ src/anduril/type/geometry.pub.grpc.pb.cc | 27 + src/anduril/type/geometry.pub.grpc.pb.h | 35 + src/anduril/type/geometry.pub.pb.cc | 544 + src/anduril/type/geometry.pub.pb.h | 633 + src/anduril/type/orbit.pub.grpc.pb.cc | 27 + src/anduril/type/orbit.pub.grpc.pb.h | 35 + src/anduril/type/orbit.pub.pb.cc | 2374 +++ src/anduril/type/orbit.pub.pb.h | 3154 ++++ 205 files changed, 210403 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/commit-lint.yml create mode 100644 .github/workflows/release.yml create mode 100644 .gitignore create mode 100644 .releaserc.yml create mode 100644 CMakeLists.txt create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 SECURITY.md create mode 100644 src/anduril/entitymanager/v1/classification.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/classification.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/classification.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/classification.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/contact_details.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/contact_details.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/correlations.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/correlations.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/correlations.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/correlations.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/dimensions.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/dimensions.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/entity.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/entity.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/entity.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/entity.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/filter.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/filter.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/filter.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/filter.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/filter_dynamic.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/filter_dynamic.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/geoentity.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/geoentity.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/group.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/group.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/group.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/group.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/health_status.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/health_status.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/health_status.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/health_status.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/location.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/location.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/location.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/location.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/media.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/media.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/media.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/media.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/notification.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/notification.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/notification.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/notification.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/ontology.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/ontology.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/ontology.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/ontology.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/options.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/options.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/options.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/options.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/orbit.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/orbit.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/orbit.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/orbit.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/payloads.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/payloads.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/payloads.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/payloads.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/power.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/power.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/power.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/power.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/rate_limit.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/rate_limit.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/relationship.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/relationship.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/relationship.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/relationship.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/route_details.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/route_details.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/route_details.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/route_details.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/schedule.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/schedule.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/schedule.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/schedule.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/sensors.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/sensors.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/sensors.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/sensors.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/signal.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/signal.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/signal.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/signal.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/supplies.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/supplies.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/supplies.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/supplies.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/target_priority.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/target_priority.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/transponder_codes.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/transponder_codes.pub.pb.h create mode 100644 src/anduril/entitymanager/v1/types.pub.grpc.pb.cc create mode 100644 src/anduril/entitymanager/v1/types.pub.grpc.pb.h create mode 100644 src/anduril/entitymanager/v1/types.pub.pb.cc create mode 100644 src/anduril/entitymanager/v1/types.pub.pb.h create mode 100644 src/anduril/ontology/v1/type.pub.grpc.pb.cc create mode 100644 src/anduril/ontology/v1/type.pub.grpc.pb.h create mode 100644 src/anduril/ontology/v1/type.pub.pb.cc create mode 100644 src/anduril/ontology/v1/type.pub.pb.h create mode 100644 src/anduril/taskmanager/v1/generic_spec.pub.grpc.pb.cc create mode 100644 src/anduril/taskmanager/v1/generic_spec.pub.grpc.pb.h create mode 100644 src/anduril/taskmanager/v1/generic_spec.pub.pb.cc create mode 100644 src/anduril/taskmanager/v1/generic_spec.pub.pb.h create mode 100644 src/anduril/taskmanager/v1/task.pub.grpc.pb.cc create mode 100644 src/anduril/taskmanager/v1/task.pub.grpc.pb.h create mode 100644 src/anduril/taskmanager/v1/task.pub.pb.cc create mode 100644 src/anduril/taskmanager/v1/task.pub.pb.h create mode 100644 src/anduril/taskmanager/v1/task_api.pub.grpc.pb.cc create mode 100644 src/anduril/taskmanager/v1/task_api.pub.grpc.pb.h create mode 100644 src/anduril/taskmanager/v1/task_api.pub.pb.cc create mode 100644 src/anduril/taskmanager/v1/task_api.pub.pb.h create mode 100644 src/anduril/taskmanager/v1/task_manager_grpcapi.pub.grpc.pb.cc create mode 100644 src/anduril/taskmanager/v1/task_manager_grpcapi.pub.grpc.pb.h create mode 100644 src/anduril/taskmanager/v1/task_manager_grpcapi.pub.pb.cc create mode 100644 src/anduril/taskmanager/v1/task_manager_grpcapi.pub.pb.h create mode 100644 src/anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub.grpc.pb.h create mode 100644 src/anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub.pb.cc create mode 100644 src/anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub.pb.h create mode 100644 src/anduril/tasks/ad/desertguardian/rf/v1/rf_tasks.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/ad/desertguardian/rf/v1/rf_tasks.pub.grpc.pb.h create mode 100644 src/anduril/tasks/ad/desertguardian/rf/v1/rf_tasks.pub.pb.cc create mode 100644 src/anduril/tasks/ad/desertguardian/rf/v1/rf_tasks.pub.pb.h create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/power.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/power.pub.grpc.pb.h create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/power.pub.pb.cc create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/power.pub.pb.h create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/transit.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/transit.pub.grpc.pb.h create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/transit.pub.pb.cc create mode 100644 src/anduril/tasks/jadc2/thirdparty/v1/transit.pub.pb.h create mode 100644 src/anduril/tasks/v2/catalog.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/v2/catalog.pub.grpc.pb.h create mode 100644 src/anduril/tasks/v2/catalog.pub.pb.cc create mode 100644 src/anduril/tasks/v2/catalog.pub.pb.h create mode 100644 src/anduril/tasks/v2/common.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/v2/common.pub.grpc.pb.h create mode 100644 src/anduril/tasks/v2/common.pub.pb.cc create mode 100644 src/anduril/tasks/v2/common.pub.pb.h create mode 100644 src/anduril/tasks/v2/objective.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/v2/objective.pub.grpc.pb.h create mode 100644 src/anduril/tasks/v2/objective.pub.pb.cc create mode 100644 src/anduril/tasks/v2/objective.pub.pb.h create mode 100644 src/anduril/tasks/v2/shared/isr.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/v2/shared/isr.pub.grpc.pb.h create mode 100644 src/anduril/tasks/v2/shared/isr.pub.pb.cc create mode 100644 src/anduril/tasks/v2/shared/isr.pub.pb.h create mode 100644 src/anduril/tasks/v2/shared/maneuver.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/v2/shared/maneuver.pub.grpc.pb.h create mode 100644 src/anduril/tasks/v2/shared/maneuver.pub.pb.cc create mode 100644 src/anduril/tasks/v2/shared/maneuver.pub.pb.h create mode 100644 src/anduril/tasks/v2/shared/strike.pub.grpc.pb.cc create mode 100644 src/anduril/tasks/v2/shared/strike.pub.grpc.pb.h create mode 100644 src/anduril/tasks/v2/shared/strike.pub.pb.cc create mode 100644 src/anduril/tasks/v2/shared/strike.pub.pb.h create mode 100644 src/anduril/type/attribution.pub.grpc.pb.cc create mode 100644 src/anduril/type/attribution.pub.grpc.pb.h create mode 100644 src/anduril/type/attribution.pub.pb.cc create mode 100644 src/anduril/type/attribution.pub.pb.h create mode 100644 src/anduril/type/color.pub.grpc.pb.cc create mode 100644 src/anduril/type/color.pub.grpc.pb.h create mode 100644 src/anduril/type/color.pub.pb.cc create mode 100644 src/anduril/type/color.pub.pb.h create mode 100644 src/anduril/type/coords.pub.grpc.pb.cc create mode 100644 src/anduril/type/coords.pub.grpc.pb.h create mode 100644 src/anduril/type/coords.pub.pb.cc create mode 100644 src/anduril/type/coords.pub.pb.h create mode 100644 src/anduril/type/geometry.pub.grpc.pb.cc create mode 100644 src/anduril/type/geometry.pub.grpc.pb.h create mode 100644 src/anduril/type/geometry.pub.pb.cc create mode 100644 src/anduril/type/geometry.pub.pb.h create mode 100644 src/anduril/type/orbit.pub.grpc.pb.cc create mode 100644 src/anduril/type/orbit.pub.grpc.pb.h create mode 100644 src/anduril/type/orbit.pub.pb.cc create mode 100644 src/anduril/type/orbit.pub.pb.h diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..1ff88f6 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @anduril/lattice-sdk-maintainers diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml new file mode 100644 index 0000000..533d48c --- /dev/null +++ b/.github/workflows/commit-lint.yml @@ -0,0 +1,21 @@ +name: "Lint commit" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + - reopened +permissions: + pull-requests: read +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + requireScope: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ddf99de --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Release +on: + push: + branches: + - master + +permissions: + contents: read + +jobs: + release: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write # to be able to publish a GitHub release + issues: write # to be able to comment on released issues + pull-requests: write # to be able to comment on released pull requests + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v4 + with: + semantic_version: 24.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b638836 --- /dev/null +++ b/.gitignore @@ -0,0 +1,46 @@ +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +# CMake +CMakeLists.txt.user +CMakeCache.txt +CMakeFiles +CMakeScripts +Testing +Makefile +cmake_install.cmake +install_manifest.txt +compile_commands.json +CTestTestfile.cmake +_deps +CMakeUserPresets.json diff --git a/.releaserc.yml b/.releaserc.yml new file mode 100644 index 0000000..fce64bb --- /dev/null +++ b/.releaserc.yml @@ -0,0 +1,5 @@ +plugins: [ + "@semantic-release/commit-analyzer", + '@semantic-release/release-notes-generator', + "@semantic-release/github" +] \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..bdbf039 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,31 @@ +include(CMakePackageConfigHelpers) + +cmake_minimum_required(VERSION 3.16) +project(lattice-sdk-cpp LANGUAGES CXX) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED on) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(ABSL_PROPAGATE_CXX_STD ON) +set(ABSL_ENABLE_INSTALL ON) + +## Get all the Proto generated files +file(GLOB_RECURSE lattice-sdk_SOURCES src/*.cc) +set(SOURCES ${lattice-sdk_SOURCES}) + +file(GLOB_RECURSE lattice-sdk_HEADERS src/*.h) +set(HEADERS ${lattice-sdk_HEADERS}) + +add_library(${PROJECT_NAME} ${SOURCES} ${HEADERS}) + +target_include_directories(${PROJECT_NAME} + PUBLIC + $ + $ +) + +# Find system-installed gRPC and Protobuf libraries +find_package(gRPC 1.68.0 CONFIG REQUIRED) +find_package(protobuf 29.0.0 CONFIG REQUIRED) + +target_link_libraries(${PROJECT_NAME} PUBLIC gRPC::grpc++ protobuf::libprotobuf) diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..d267397 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,188 @@ +# Anduril Lattice Software Development Kit License Agreement + +## Terms and Conditions + +This is the Anduril Lattice Software Development Kit (SDK) License Agreement (the “License Agreement”). + +1. **Introduction** + - 1.1 "Anduril" means Anduril Industries, Inc., organized under the laws of the State of Delaware, USA, and operating under the laws of +the USA with principal place of business at 1400 Anduril, Costa Mesa, California 92626, USA. + - 1.2 "Lattice" means the Anduril Lattice™ software stack for devices, as made available by Anduril, as updated from time to time. + - 1.3 The Anduril Lattice Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the +Lattice system files, packaged APIs, and Anduril APIs add-ons) is licensed to you subject to the terms of the License Agreement. The +License Agreement forms a legally binding contract between you and Anduril in relation to your use of the SDK. + - 1.4 A "compatible implementation" means any use that (i) is compatible with Lattice; or (ii) successfully is validated by Anduril to be +compatible with Lattice. The determination of a compatible implementation is solely at the discretion of Anduril. + +2. **Accepting this License Agreement** + + - 2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License +Agreement. + - 2.2 By clicking to accept and/or using this SDK, you hereby agree to the terms of the License Agreement. + - 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the +laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. + - 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that +you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you +may not accept the License Agreement or use the SDK on behalf of your employer or other entity. Use of the SDK on hardware owned +by an entity such as your employer binds your employer to this License Agreement. + +3. **SDK License from Anduril** + + - 3.1 Subject to the terms of the License Agreement, Anduril grants you a limited, revocable, worldwide, royalty-free, non-assignable, non- +exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Lattice. + - 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Lattice) or to +develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of +Lattice, provided that this SDK is not used for that purpose. + - 3.3 You agree that Anduril or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights +that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark +law, and any and all other proprietary rights. Anduril reserves all rights not expressly granted to you. + - 3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by +applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, +disassemble, or create derivative works of the SDK or any part of the SDK. + - 3.5 Use, reproduction and distribution of components of the SDK licensed under an open-source software license are governed solely by +the terms of that open-source software license and not the License Agreement. + - 3.6 You agree that the form and nature of the SDK that Anduril provides may change without prior notice to you and that future versions +of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Anduril may stop +(permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Anduril's sole discretion, +without prior notice to you. + - 3.7 Nothing in the License Agreement gives you a right to use any of Anduril's trade names, trademarks, service marks, logos, domain +names, or other distinctive brand features. + - 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that +may be affixed to or contained within the SDK. + +4. **Use of the SDK by You** + + - 4.1 Anduril agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software +applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. + - 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any +applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the +export of data or software to and from the United States or other relevant countries). + - 4.3 You agree that if you use the SDK to develop applications for Anduril Lattice users, you will protect the privacy and legal rights of +those users. If your application stores personal or sensitive information, it must do so securely. You may not use a third-party’s Lattice +account information or credentials to access Lattice. + - 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that +interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any +third party including, but not limited to, Anduril or any fixed or mobile communications carrier. + - 4.5 You agree that you are solely responsible for (and that Anduril has no responsibility to you or to any third party for) any data, content, +or resources that you create, transmit or display through Anduril Lattice and/or applications for Lattice, and for the consequences of your +actions (including any loss or damage which Anduril may suffer) by doing so. + - 4.6 You agree that you are solely responsible for (and that Anduril has no responsibility to you or to any third party for) any breach of your +obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and +for the consequences (including any loss or damage which Anduril or any third party may suffer) of any such breach. + +5. **Your Developer Credentials** + + - 5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by +Anduril or which you may choose yourself and that you will be solely responsible for all applications that are developed under your +developer credentials. + +6. **Privacy and Information** + + - 6.1 In order to continually innovate and improve the SDK, Anduril may collect certain usage statistics from the software including but not +limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in +the SDK are being used and how they are being used. + - 6.2 Anonymized and aggregated sets of the data may be used or shared by Anduril to improve the SDK. + +7. **Third Party Applications** + + - 7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, +you agree that Anduril is not responsible for those applications, data, content, or resources. You understand that all data, content or +resources which you may access through such third party applications are the sole responsibility of the person from which they originated +and that Anduril is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party +applications, data, content, or resources. + - 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by +intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, +rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless +you have been specifically given permission to do so by the relevant owners. + - 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between +you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. + +8. **Using Lattice APIs** + + - 8.1 Anduril Data APIs + - 8.1.1 If you use any API to retrieve data, you acknowledge that the data may be protected by intellectual property rights which are owned +by Anduril or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be +subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data +(either in whole or in part) unless allowed by the relevant owner and/or terms of service. + - 8.1.2 If you use any API to retrieve a user's data, you acknowledge and agree that you shall retrieve data only with the user's explicit +consent and only when, and for the limited purposes for which, the user has given you permission to do so. + +9. **Terminating this License Agreement** + + - 9.1 The License Agreement will continue to apply until terminated by either you or Anduril as set out below. + - 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer +credentials. + - 9.3 Anduril may at any time, terminate the License Agreement with you if: (i) you have breached any provision of the License Agreement; +or (ii) Anduril is required to do so by law; or (iii) the partner with whom Anduril offered certain parts of SDK (such as APIs) to you has +terminated its relationship with Anduril or ceased to offer certain parts of the SDK to you; or (iv) Anduril decides to no longer provide the +SDK to you, or (v) in Anduril's sole discretion, it is no longer commercially viable to provide the SDK. + - 9.4 When the License Agreement comes to an end, you shall delete all copies in your possession of the SDK, and discontinue using the +SDK and related APIs.The provisions of paragraph 14.7 shall continue to apply indefinitely. + +10. **DISCLAIMER OF WARRANTIES** + + - 10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK +IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM ANDURIL. + - 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE +SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER +SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. + - 10.3 ANDURIL FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR +IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +11. **LIMITATION OF LIABILITY** + + - 11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT ANDURIL, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS +SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER +OR NOT ANDURIL OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY +OF ANY SUCH LOSSES ARISING. + +12. **Indemnification** + + - 12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Anduril, its affiliates and their respective +directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, +liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, +(b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual +property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with +the License Agreement. + +13. **Changes to the License Agreement** + + - 13.1 Anduril may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, +Anduril will make a new version of the License Agreement available on the website where the SDK is made available. + +14. **General Legal Terms** + + - 14.1 The License Agreement constitutes the whole legal agreement between you and Anduril and governs your use of the SDK (excluding +any services which Anduril may provide to you under a separate written agreement), and completely replaces any prior agreements +between you and Anduril in relation to the SDK. + - 14.2 You agree that if Anduril does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or +which Anduril has the benefit of under any applicable law), this will not be taken to be a formal waiver of Anduril's rights and that those +rights or remedies will still be available to Anduril. + - 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then +that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions +of the License Agreement will continue to be valid and enforceable. + - 14.4 You acknowledge and agree that any subsidiaries or affiliates of Anduril is the parent shall be third party beneficiaries to the License +Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement +that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the +License Agreement. + - 14.5 EXPORT RESTRICTIONS. YOU MAY NOT EXPORT THIS LICENSE. THE SDK MAY BE SUBJECT TO UNITED STATES EXPORT +LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND +REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END +USE. + - 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Anduril without the prior written +approval of the other party. Neither you nor Anduril shall be permitted to delegate their responsibilities or obligations under the License +Agreement without the prior written approval of the other party. + - 14.7 The License Agreement, and your relationship with Anduril under the License Agreement, shall be governed by the laws of the State +of Delaware without regard to its conflict of laws provisions. Except for claims for injunctive or equitable relief, and claims regarding +intellectual property rights to the extent not relating to indemnification under this Agreement (all of which may be brought in any competent +state or federal court), any dispute arising under this Agreement shall be finally settled in accordance with the Comprehensive Arbitration +Rules of the Judicial Arbitration and Mediation Service, Inc. (“JAMS”) by three arbitrators appointed in accordance with such Rules. The +arbitration shall take place in Irvine, California and the arbitral decision may be enforced in any competent U.S. federal court. In the event +of any court action, you agree to submit to the exclusive jurisdiction of the courts located in the city of Irvine located in Orange, California. +Notwithstanding this, you agree that Anduril shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal +relief) in any jurisdiction. + + +**November 27, 2024** diff --git a/README.md b/README.md new file mode 100644 index 0000000..5c9bd5e --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# Lattice SDK C++ + +[![Version](https://img.shields.io/github/v/release/anduril/lattice-sdk-cpp)](https://github.com/anduril/lattice-sdk-cpp/releases) + +The official [Anduril](https://www.anduril.com/) Lattice SDK for C++. + +## Documentation + +See the documentation for [Lattice C++ SDK](https://docs.anduril.com/sdks/cpp). + +## Requirements + +⚠️ It's very important that the versions of lib protobuf match the version that it was compiled with as C++ requires very specific [guarantees](https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp). The current requirements are: + +* `gRPC == 1.68.0` +* `Protobuf == 29.0.0` +* `CMake >= 3.16` + +## Installation + +The only supported way of install the C++ SDK is by fetching the package using CMake. Please use a fixed version of `GIT_TAG` to ensure that +you are not impacted by dependency updates of `gRPC` or `Protobuf`. The latest version is available [here](https://github.com/anduril/lattice-sdk-cpp/releases/latest). + +### CMakeLists.txt + +```cmake +cmake_minimum_required(VERSION 3.14.0) +project(lattice-sdk-example) + +# Download the SDK from github and add it as part of the project +include(FetchContent) +FetchContent_Declare( + lattice-sdk-cpp + GIT_REPOSITORY https://github.com/anduril/lattice-sdk-cpp.git + GIT_TAG v1.0.0 +) +FetchContent_MakeAvailable(lattice-sdk-cpp) + +# Other build instructions +.... + +# Link SDK with your sample application. +target_link_libraries(sample_app lattice-sdk-cpp) +``` + +## Support + +For support with this library please [file an issue](https://github.com/anduril/lattice-sdk-cpp/issues/new) or reach out to your Anduril representative. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..ffa35e9 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,5 @@ +# Security Policy + +## Reporting a Vulnerability + +Please report any security issues to the Anduril Information Security team using the email disclosures@anduril.com. Additional information including our pgp key can be found in the [security.txt page](https://www.anduril.com/.well-known/security.txt) of our website. diff --git a/src/anduril/entitymanager/v1/classification.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/classification.pub.grpc.pb.cc new file mode 100644 index 0000000..eff34d2 --- /dev/null +++ b/src/anduril/entitymanager/v1/classification.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/classification.pub.proto + +#include "anduril/entitymanager/v1/classification.pub.pb.h" +#include "anduril/entitymanager/v1/classification.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/classification.pub.grpc.pb.h b/src/anduril/entitymanager/v1/classification.pub.grpc.pb.h new file mode 100644 index 0000000..2a8d1c9 --- /dev/null +++ b/src/anduril/entitymanager/v1/classification.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/classification.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/classification.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/classification.pub.pb.cc b/src/anduril/entitymanager/v1/classification.pub.pb.cc new file mode 100644 index 0000000..b7976f3 --- /dev/null +++ b/src/anduril/entitymanager/v1/classification.pub.pb.cc @@ -0,0 +1,1090 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/classification.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/classification.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr ClassificationInformation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : caveats_{}, + level_{static_cast< ::anduril::entitymanager::v1::ClassificationLevels >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ClassificationInformation::ClassificationInformation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ClassificationInformationDefaultTypeInternal { + PROTOBUF_CONSTEXPR ClassificationInformationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ClassificationInformationDefaultTypeInternal() {} + union { + ClassificationInformation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ClassificationInformationDefaultTypeInternal _ClassificationInformation_default_instance_; + +inline constexpr FieldClassificationInformation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + field_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + classification_information_{nullptr} {} + +template +PROTOBUF_CONSTEXPR FieldClassificationInformation::FieldClassificationInformation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FieldClassificationInformationDefaultTypeInternal { + PROTOBUF_CONSTEXPR FieldClassificationInformationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FieldClassificationInformationDefaultTypeInternal() {} + union { + FieldClassificationInformation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldClassificationInformationDefaultTypeInternal _FieldClassificationInformation_default_instance_; + +inline constexpr Classification::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + fields_{}, + default__{nullptr} {} + +template +PROTOBUF_CONSTEXPR Classification::Classification(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ClassificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR ClassificationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ClassificationDefaultTypeInternal() {} + union { + Classification _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ClassificationDefaultTypeInternal _Classification_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Classification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Classification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Classification, _impl_.default__), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Classification, _impl_.fields_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldClassificationInformation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldClassificationInformation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldClassificationInformation, _impl_.field_path_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldClassificationInformation, _impl_.classification_information_), + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ClassificationInformation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ClassificationInformation, _impl_.level_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ClassificationInformation, _impl_.caveats_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 10, -1, sizeof(::anduril::entitymanager::v1::Classification)}, + {12, 22, -1, sizeof(::anduril::entitymanager::v1::FieldClassificationInformation)}, + {24, -1, -1, sizeof(::anduril::entitymanager::v1::ClassificationInformation)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Classification_default_instance_._instance, + &::anduril::entitymanager::v1::_FieldClassificationInformation_default_instance_._instance, + &::anduril::entitymanager::v1::_ClassificationInformation_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n1anduril/entitymanager/v1/classificatio" + "n.pub.proto\022\030anduril.entitymanager.v1\"\267\001" + "\n\016Classification\022M\n\007default\030\002 \001(\01323.andu" + "ril.entitymanager.v1.ClassificationInfor" + "mationR\007default\022P\n\006fields\030\003 \003(\01328.anduri" + "l.entitymanager.v1.FieldClassificationIn" + "formationR\006fieldsJ\004\010\001\020\002\"\263\001\n\036FieldClassif" + "icationInformation\022\035\n\nfield_path\030\001 \001(\tR\t" + "fieldPath\022r\n\032classification_information\030" + "\002 \001(\01323.anduril.entitymanager.v1.Classif" + "icationInformationR\031classificationInform" + "ation\"{\n\031ClassificationInformation\022D\n\005le" + "vel\030\001 \001(\0162..anduril.entitymanager.v1.Cla" + "ssificationLevelsR\005level\022\030\n\007caveats\030\002 \003(" + "\tR\007caveats*\204\002\n\024ClassificationLevels\022!\n\035C" + "LASSIFICATION_LEVELS_INVALID\020\000\022&\n\"CLASSI" + "FICATION_LEVELS_UNCLASSIFIED\020\001\0221\n-CLASSI" + "FICATION_LEVELS_CONTROLLED_UNCLASSIFIED\020" + "\002\022&\n\"CLASSIFICATION_LEVELS_CONFIDENTIAL\020" + "\003\022 \n\034CLASSIFICATION_LEVELS_SECRET\020\004\022$\n C" + "LASSIFICATION_LEVELS_TOP_SECRET\020\005B\207\002\n\034co" + "m.anduril.entitymanager.v1B\026Classificati" + "onPubProtoP\001ZMghe.anduril.dev/anduril/an" + "durilapis-go/anduril/entitymanager/v1;en" + "titymanager\242\002\003AEX\252\002\030Anduril.Entitymanage" + "r.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduri" + "l\\Entitymanager\\V1\\GPBMetadata\352\002\032Anduril" + "::Entitymanager::V1b\006proto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto = { + false, + false, + 1107, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + "anduril/entitymanager/v1/classification.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto_once, + nullptr, + 0, + 3, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* ClassificationLevels_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t ClassificationLevels_internal_data_[] = { + 393216u, 0u, }; +bool ClassificationLevels_IsValid(int value) { + return 0 <= value && value <= 5; +} +// =================================================================== + +class Classification::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Classification, _impl_._has_bits_); +}; + +Classification::Classification(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Classification) +} +inline PROTOBUF_NDEBUG_INLINE Classification::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Classification& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + fields_{visibility, arena, from.fields_} {} + +Classification::Classification( + ::google::protobuf::Arena* arena, + const Classification& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Classification* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.default__ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ClassificationInformation>( + arena, *from._impl_.default__) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Classification) +} +inline PROTOBUF_NDEBUG_INLINE Classification::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + fields_{visibility, arena} {} + +inline void Classification::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.default__ = {}; +} +Classification::~Classification() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Classification) + SharedDtor(*this); +} +inline void Classification::SharedDtor(MessageLite& self) { + Classification& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.default__; + this_._impl_.~Impl_(); +} + +inline void* Classification::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Classification(arena); +} +constexpr auto Classification::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Classification, _impl_.fields_) + + decltype(Classification::_impl_.fields_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Classification), alignof(Classification), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Classification::PlacementNew_, + sizeof(Classification), + alignof(Classification)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Classification::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Classification_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Classification::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Classification::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Classification::ByteSizeLong, + &Classification::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Classification, _impl_._cached_size_), + false, + }, + &Classification::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Classification::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Classification::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Classification, _impl_._has_bits_), + 0, // no _extensions_ + 3, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967289, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Classification>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.ClassificationInformation default = 2 [json_name = "default"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Classification, _impl_.default__)}}, + // repeated .anduril.entitymanager.v1.FieldClassificationInformation fields = 3 [json_name = "fields"]; + {::_pbi::TcParser::FastMtR1, + {26, 63, 1, PROTOBUF_FIELD_OFFSET(Classification, _impl_.fields_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.ClassificationInformation default = 2 [json_name = "default"]; + {PROTOBUF_FIELD_OFFSET(Classification, _impl_.default__), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.FieldClassificationInformation fields = 3 [json_name = "fields"]; + {PROTOBUF_FIELD_OFFSET(Classification, _impl_.fields_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ClassificationInformation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FieldClassificationInformation>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Classification::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Classification) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fields_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.default__ != nullptr); + _impl_.default__->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Classification::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Classification& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Classification::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Classification& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Classification) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.ClassificationInformation default = 2 [json_name = "default"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.default__, this_._impl_.default__->GetCachedSize(), target, + stream); + } + + // repeated .anduril.entitymanager.v1.FieldClassificationInformation fields = 3 [json_name = "fields"]; + for (unsigned i = 0, n = static_cast( + this_._internal_fields_size()); + i < n; i++) { + const auto& repfield = this_._internal_fields().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Classification) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Classification::ByteSizeLong(const MessageLite& base) { + const Classification& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Classification::ByteSizeLong() const { + const Classification& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Classification) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.FieldClassificationInformation fields = 3 [json_name = "fields"]; + { + total_size += 1UL * this_._internal_fields_size(); + for (const auto& msg : this_._internal_fields()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .anduril.entitymanager.v1.ClassificationInformation default = 2 [json_name = "default"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.default__); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Classification::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Classification) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_fields()->MergeFrom( + from._internal_fields()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.default__ != nullptr); + if (_this->_impl_.default__ == nullptr) { + _this->_impl_.default__ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ClassificationInformation>(arena, *from._impl_.default__); + } else { + _this->_impl_.default__->MergeFrom(*from._impl_.default__); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Classification::CopyFrom(const Classification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Classification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Classification::InternalSwap(Classification* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.fields_.InternalSwap(&other->_impl_.fields_); + swap(_impl_.default__, other->_impl_.default__); +} + +::google::protobuf::Metadata Classification::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class FieldClassificationInformation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_._has_bits_); +}; + +FieldClassificationInformation::FieldClassificationInformation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.FieldClassificationInformation) +} +inline PROTOBUF_NDEBUG_INLINE FieldClassificationInformation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::FieldClassificationInformation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + field_path_(arena, from.field_path_) {} + +FieldClassificationInformation::FieldClassificationInformation( + ::google::protobuf::Arena* arena, + const FieldClassificationInformation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FieldClassificationInformation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.classification_information_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ClassificationInformation>( + arena, *from._impl_.classification_information_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.FieldClassificationInformation) +} +inline PROTOBUF_NDEBUG_INLINE FieldClassificationInformation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + field_path_(arena) {} + +inline void FieldClassificationInformation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.classification_information_ = {}; +} +FieldClassificationInformation::~FieldClassificationInformation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.FieldClassificationInformation) + SharedDtor(*this); +} +inline void FieldClassificationInformation::SharedDtor(MessageLite& self) { + FieldClassificationInformation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.field_path_.Destroy(); + delete this_._impl_.classification_information_; + this_._impl_.~Impl_(); +} + +inline void* FieldClassificationInformation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FieldClassificationInformation(arena); +} +constexpr auto FieldClassificationInformation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldClassificationInformation), + alignof(FieldClassificationInformation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull FieldClassificationInformation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_FieldClassificationInformation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FieldClassificationInformation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FieldClassificationInformation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FieldClassificationInformation::ByteSizeLong, + &FieldClassificationInformation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_._cached_size_), + false, + }, + &FieldClassificationInformation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FieldClassificationInformation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 74, 2> FieldClassificationInformation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FieldClassificationInformation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.ClassificationInformation classification_information = 2 [json_name = "classificationInformation"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_.classification_information_)}}, + // string field_path = 1 [json_name = "fieldPath"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_.field_path_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string field_path = 1 [json_name = "fieldPath"]; + {PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_.field_path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.ClassificationInformation classification_information = 2 [json_name = "classificationInformation"]; + {PROTOBUF_FIELD_OFFSET(FieldClassificationInformation, _impl_.classification_information_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ClassificationInformation>()}, + }}, {{ + "\67\12\0\0\0\0\0\0" + "anduril.entitymanager.v1.FieldClassificationInformation" + "field_path" + }}, +}; + +PROTOBUF_NOINLINE void FieldClassificationInformation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.FieldClassificationInformation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.field_path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.classification_information_ != nullptr); + _impl_.classification_information_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FieldClassificationInformation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FieldClassificationInformation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FieldClassificationInformation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FieldClassificationInformation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.FieldClassificationInformation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string field_path = 1 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + const std::string& _s = this_._internal_field_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.FieldClassificationInformation.field_path"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.ClassificationInformation classification_information = 2 [json_name = "classificationInformation"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.classification_information_, this_._impl_.classification_information_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.FieldClassificationInformation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t FieldClassificationInformation::ByteSizeLong(const MessageLite& base) { + const FieldClassificationInformation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FieldClassificationInformation::ByteSizeLong() const { + const FieldClassificationInformation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.FieldClassificationInformation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string field_path = 1 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_field_path()); + } + } + { + // .anduril.entitymanager.v1.ClassificationInformation classification_information = 2 [json_name = "classificationInformation"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.classification_information_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void FieldClassificationInformation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.FieldClassificationInformation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_field_path().empty()) { + _this->_internal_set_field_path(from._internal_field_path()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.classification_information_ != nullptr); + if (_this->_impl_.classification_information_ == nullptr) { + _this->_impl_.classification_information_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ClassificationInformation>(arena, *from._impl_.classification_information_); + } else { + _this->_impl_.classification_information_->MergeFrom(*from._impl_.classification_information_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void FieldClassificationInformation::CopyFrom(const FieldClassificationInformation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.FieldClassificationInformation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void FieldClassificationInformation::InternalSwap(FieldClassificationInformation* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.field_path_, &other->_impl_.field_path_, arena); + swap(_impl_.classification_information_, other->_impl_.classification_information_); +} + +::google::protobuf::Metadata FieldClassificationInformation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ClassificationInformation::_Internal { + public: +}; + +ClassificationInformation::ClassificationInformation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ClassificationInformation) +} +inline PROTOBUF_NDEBUG_INLINE ClassificationInformation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ClassificationInformation& from_msg) + : caveats_{visibility, arena, from.caveats_}, + _cached_size_{0} {} + +ClassificationInformation::ClassificationInformation( + ::google::protobuf::Arena* arena, + const ClassificationInformation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ClassificationInformation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.level_ = from._impl_.level_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ClassificationInformation) +} +inline PROTOBUF_NDEBUG_INLINE ClassificationInformation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : caveats_{visibility, arena}, + _cached_size_{0} {} + +inline void ClassificationInformation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.level_ = {}; +} +ClassificationInformation::~ClassificationInformation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ClassificationInformation) + SharedDtor(*this); +} +inline void ClassificationInformation::SharedDtor(MessageLite& self) { + ClassificationInformation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ClassificationInformation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ClassificationInformation(arena); +} +constexpr auto ClassificationInformation::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(ClassificationInformation, _impl_.caveats_) + + decltype(ClassificationInformation::_impl_.caveats_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(ClassificationInformation), alignof(ClassificationInformation), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&ClassificationInformation::PlacementNew_, + sizeof(ClassificationInformation), + alignof(ClassificationInformation)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ClassificationInformation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ClassificationInformation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ClassificationInformation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ClassificationInformation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ClassificationInformation::ByteSizeLong, + &ClassificationInformation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ClassificationInformation, _impl_._cached_size_), + false, + }, + &ClassificationInformation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ClassificationInformation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 66, 2> ClassificationInformation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ClassificationInformation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated string caveats = 2 [json_name = "caveats"]; + {::_pbi::TcParser::FastUR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ClassificationInformation, _impl_.caveats_)}}, + // .anduril.entitymanager.v1.ClassificationLevels level = 1 [json_name = "level"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ClassificationInformation, _impl_.level_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ClassificationInformation, _impl_.level_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.ClassificationLevels level = 1 [json_name = "level"]; + {PROTOBUF_FIELD_OFFSET(ClassificationInformation, _impl_.level_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // repeated string caveats = 2 [json_name = "caveats"]; + {PROTOBUF_FIELD_OFFSET(ClassificationInformation, _impl_.caveats_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + }}, + // no aux_entries + {{ + "\62\0\7\0\0\0\0\0" + "anduril.entitymanager.v1.ClassificationInformation" + "caveats" + }}, +}; + +PROTOBUF_NOINLINE void ClassificationInformation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ClassificationInformation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.caveats_.Clear(); + _impl_.level_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ClassificationInformation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ClassificationInformation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ClassificationInformation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ClassificationInformation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ClassificationInformation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.ClassificationLevels level = 1 [json_name = "level"]; + if (this_._internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_level(), target); + } + + // repeated string caveats = 2 [json_name = "caveats"]; + for (int i = 0, n = this_._internal_caveats_size(); i < n; ++i) { + const auto& s = this_._internal_caveats().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ClassificationInformation.caveats"); + target = stream->WriteString(2, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ClassificationInformation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ClassificationInformation::ByteSizeLong(const MessageLite& base) { + const ClassificationInformation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ClassificationInformation::ByteSizeLong() const { + const ClassificationInformation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ClassificationInformation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string caveats = 2 [json_name = "caveats"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_caveats().size()); + for (int i = 0, n = this_._internal_caveats().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_caveats().Get(i)); + } + } + } + { + // .anduril.entitymanager.v1.ClassificationLevels level = 1 [json_name = "level"]; + if (this_._internal_level() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_level()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ClassificationInformation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ClassificationInformation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_caveats()->MergeFrom(from._internal_caveats()); + if (from._internal_level() != 0) { + _this->_impl_.level_ = from._impl_.level_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ClassificationInformation::CopyFrom(const ClassificationInformation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ClassificationInformation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ClassificationInformation::InternalSwap(ClassificationInformation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.caveats_.InternalSwap(&other->_impl_.caveats_); + swap(_impl_.level_, other->_impl_.level_); +} + +::google::protobuf::Metadata ClassificationInformation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/classification.pub.pb.h b/src/anduril/entitymanager/v1/classification.pub.pb.h new file mode 100644 index 0000000..570fa81 --- /dev/null +++ b/src/anduril/entitymanager/v1/classification.pub.pb.h @@ -0,0 +1,1192 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/classification.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Classification; +struct ClassificationDefaultTypeInternal; +extern ClassificationDefaultTypeInternal _Classification_default_instance_; +class ClassificationInformation; +struct ClassificationInformationDefaultTypeInternal; +extern ClassificationInformationDefaultTypeInternal _ClassificationInformation_default_instance_; +class FieldClassificationInformation; +struct FieldClassificationInformationDefaultTypeInternal; +extern FieldClassificationInformationDefaultTypeInternal _FieldClassificationInformation_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum ClassificationLevels : int { + CLASSIFICATION_LEVELS_INVALID = 0, + CLASSIFICATION_LEVELS_UNCLASSIFIED = 1, + CLASSIFICATION_LEVELS_CONTROLLED_UNCLASSIFIED = 2, + CLASSIFICATION_LEVELS_CONFIDENTIAL = 3, + CLASSIFICATION_LEVELS_SECRET = 4, + CLASSIFICATION_LEVELS_TOP_SECRET = 5, + ClassificationLevels_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ClassificationLevels_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ClassificationLevels_IsValid(int value); +extern const uint32_t ClassificationLevels_internal_data_[]; +constexpr ClassificationLevels ClassificationLevels_MIN = static_cast(0); +constexpr ClassificationLevels ClassificationLevels_MAX = static_cast(5); +constexpr int ClassificationLevels_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +ClassificationLevels_descriptor(); +template +const std::string& ClassificationLevels_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ClassificationLevels_Name()."); + return ClassificationLevels_Name(static_cast(value)); +} +template <> +inline const std::string& ClassificationLevels_Name(ClassificationLevels value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ClassificationLevels_Parse(absl::string_view name, ClassificationLevels* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ClassificationLevels_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class ClassificationInformation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ClassificationInformation) */ { + public: + inline ClassificationInformation() : ClassificationInformation(nullptr) {} + ~ClassificationInformation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ClassificationInformation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ClassificationInformation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ClassificationInformation( + ::google::protobuf::internal::ConstantInitialized); + + inline ClassificationInformation(const ClassificationInformation& from) : ClassificationInformation(nullptr, from) {} + inline ClassificationInformation(ClassificationInformation&& from) noexcept + : ClassificationInformation(nullptr, std::move(from)) {} + inline ClassificationInformation& operator=(const ClassificationInformation& from) { + CopyFrom(from); + return *this; + } + inline ClassificationInformation& operator=(ClassificationInformation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ClassificationInformation& default_instance() { + return *internal_default_instance(); + } + static inline const ClassificationInformation* internal_default_instance() { + return reinterpret_cast( + &_ClassificationInformation_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(ClassificationInformation& a, ClassificationInformation& b) { a.Swap(&b); } + inline void Swap(ClassificationInformation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ClassificationInformation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ClassificationInformation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ClassificationInformation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ClassificationInformation& from) { ClassificationInformation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ClassificationInformation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ClassificationInformation"; } + + protected: + explicit ClassificationInformation(::google::protobuf::Arena* arena); + ClassificationInformation(::google::protobuf::Arena* arena, const ClassificationInformation& from); + ClassificationInformation(::google::protobuf::Arena* arena, ClassificationInformation&& from) noexcept + : ClassificationInformation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCaveatsFieldNumber = 2, + kLevelFieldNumber = 1, + }; + // repeated string caveats = 2 [json_name = "caveats"]; + int caveats_size() const; + private: + int _internal_caveats_size() const; + + public: + void clear_caveats() ; + const std::string& caveats(int index) const; + std::string* mutable_caveats(int index); + template + void set_caveats(int index, Arg_&& value, Args_... args); + std::string* add_caveats(); + template + void add_caveats(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& caveats() const; + ::google::protobuf::RepeatedPtrField* mutable_caveats(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_caveats() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_caveats(); + + public: + // .anduril.entitymanager.v1.ClassificationLevels level = 1 [json_name = "level"]; + void clear_level() ; + ::anduril::entitymanager::v1::ClassificationLevels level() const; + void set_level(::anduril::entitymanager::v1::ClassificationLevels value); + + private: + ::anduril::entitymanager::v1::ClassificationLevels _internal_level() const; + void _internal_set_level(::anduril::entitymanager::v1::ClassificationLevels value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ClassificationInformation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 66, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ClassificationInformation& from_msg); + ::google::protobuf::RepeatedPtrField caveats_; + int level_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class FieldClassificationInformation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.FieldClassificationInformation) */ { + public: + inline FieldClassificationInformation() : FieldClassificationInformation(nullptr) {} + ~FieldClassificationInformation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(FieldClassificationInformation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldClassificationInformation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR FieldClassificationInformation( + ::google::protobuf::internal::ConstantInitialized); + + inline FieldClassificationInformation(const FieldClassificationInformation& from) : FieldClassificationInformation(nullptr, from) {} + inline FieldClassificationInformation(FieldClassificationInformation&& from) noexcept + : FieldClassificationInformation(nullptr, std::move(from)) {} + inline FieldClassificationInformation& operator=(const FieldClassificationInformation& from) { + CopyFrom(from); + return *this; + } + inline FieldClassificationInformation& operator=(FieldClassificationInformation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FieldClassificationInformation& default_instance() { + return *internal_default_instance(); + } + static inline const FieldClassificationInformation* internal_default_instance() { + return reinterpret_cast( + &_FieldClassificationInformation_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(FieldClassificationInformation& a, FieldClassificationInformation& b) { a.Swap(&b); } + inline void Swap(FieldClassificationInformation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FieldClassificationInformation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FieldClassificationInformation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const FieldClassificationInformation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const FieldClassificationInformation& from) { FieldClassificationInformation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(FieldClassificationInformation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.FieldClassificationInformation"; } + + protected: + explicit FieldClassificationInformation(::google::protobuf::Arena* arena); + FieldClassificationInformation(::google::protobuf::Arena* arena, const FieldClassificationInformation& from); + FieldClassificationInformation(::google::protobuf::Arena* arena, FieldClassificationInformation&& from) noexcept + : FieldClassificationInformation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldPathFieldNumber = 1, + kClassificationInformationFieldNumber = 2, + }; + // string field_path = 1 [json_name = "fieldPath"]; + void clear_field_path() ; + const std::string& field_path() const; + template + void set_field_path(Arg_&& arg, Args_... args); + std::string* mutable_field_path(); + PROTOBUF_NODISCARD std::string* release_field_path(); + void set_allocated_field_path(std::string* value); + + private: + const std::string& _internal_field_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_path( + const std::string& value); + std::string* _internal_mutable_field_path(); + + public: + // .anduril.entitymanager.v1.ClassificationInformation classification_information = 2 [json_name = "classificationInformation"]; + bool has_classification_information() const; + void clear_classification_information() ; + const ::anduril::entitymanager::v1::ClassificationInformation& classification_information() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ClassificationInformation* release_classification_information(); + ::anduril::entitymanager::v1::ClassificationInformation* mutable_classification_information(); + void set_allocated_classification_information(::anduril::entitymanager::v1::ClassificationInformation* value); + void unsafe_arena_set_allocated_classification_information(::anduril::entitymanager::v1::ClassificationInformation* value); + ::anduril::entitymanager::v1::ClassificationInformation* unsafe_arena_release_classification_information(); + + private: + const ::anduril::entitymanager::v1::ClassificationInformation& _internal_classification_information() const; + ::anduril::entitymanager::v1::ClassificationInformation* _internal_mutable_classification_information(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.FieldClassificationInformation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 74, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const FieldClassificationInformation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr field_path_; + ::anduril::entitymanager::v1::ClassificationInformation* classification_information_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Classification final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Classification) */ { + public: + inline Classification() : Classification(nullptr) {} + ~Classification() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Classification* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Classification)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Classification( + ::google::protobuf::internal::ConstantInitialized); + + inline Classification(const Classification& from) : Classification(nullptr, from) {} + inline Classification(Classification&& from) noexcept + : Classification(nullptr, std::move(from)) {} + inline Classification& operator=(const Classification& from) { + CopyFrom(from); + return *this; + } + inline Classification& operator=(Classification&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Classification& default_instance() { + return *internal_default_instance(); + } + static inline const Classification* internal_default_instance() { + return reinterpret_cast( + &_Classification_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Classification& a, Classification& b) { a.Swap(&b); } + inline void Swap(Classification* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Classification* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Classification* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Classification& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Classification& from) { Classification::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Classification* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Classification"; } + + protected: + explicit Classification(::google::protobuf::Arena* arena); + Classification(::google::protobuf::Arena* arena, const Classification& from); + Classification(::google::protobuf::Arena* arena, Classification&& from) noexcept + : Classification(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldsFieldNumber = 3, + kDefaultFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.FieldClassificationInformation fields = 3 [json_name = "fields"]; + int fields_size() const; + private: + int _internal_fields_size() const; + + public: + void clear_fields() ; + ::anduril::entitymanager::v1::FieldClassificationInformation* mutable_fields(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>* mutable_fields(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>& _internal_fields() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>* _internal_mutable_fields(); + public: + const ::anduril::entitymanager::v1::FieldClassificationInformation& fields(int index) const; + ::anduril::entitymanager::v1::FieldClassificationInformation* add_fields(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>& fields() const; + // .anduril.entitymanager.v1.ClassificationInformation default = 2 [json_name = "default"]; + bool has_default_() const; + void clear_default_() ; + const ::anduril::entitymanager::v1::ClassificationInformation& default_() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ClassificationInformation* release_default_(); + ::anduril::entitymanager::v1::ClassificationInformation* mutable_default_(); + void set_allocated_default_(::anduril::entitymanager::v1::ClassificationInformation* value); + void unsafe_arena_set_allocated_default_(::anduril::entitymanager::v1::ClassificationInformation* value); + ::anduril::entitymanager::v1::ClassificationInformation* unsafe_arena_release_default_(); + + private: + const ::anduril::entitymanager::v1::ClassificationInformation& _internal_default_() const; + ::anduril::entitymanager::v1::ClassificationInformation* _internal_mutable_default_(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Classification) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Classification& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::FieldClassificationInformation > fields_; + ::anduril::entitymanager::v1::ClassificationInformation* default__; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Classification + +// .anduril.entitymanager.v1.ClassificationInformation default = 2 [json_name = "default"]; +inline bool Classification::has_default_() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.default__ != nullptr); + return value; +} +inline void Classification::clear_default_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.default__ != nullptr) _impl_.default__->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::ClassificationInformation& Classification::_internal_default_() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::ClassificationInformation* p = _impl_.default__; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_ClassificationInformation_default_instance_); +} +inline const ::anduril::entitymanager::v1::ClassificationInformation& Classification::default_() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Classification.default) + return _internal_default_(); +} +inline void Classification::unsafe_arena_set_allocated_default_(::anduril::entitymanager::v1::ClassificationInformation* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.default__); + } + _impl_.default__ = reinterpret_cast<::anduril::entitymanager::v1::ClassificationInformation*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Classification.default) +} +inline ::anduril::entitymanager::v1::ClassificationInformation* Classification::release_default_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::ClassificationInformation* released = _impl_.default__; + _impl_.default__ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::ClassificationInformation* Classification::unsafe_arena_release_default_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Classification.default) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::ClassificationInformation* temp = _impl_.default__; + _impl_.default__ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::ClassificationInformation* Classification::_internal_mutable_default_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.default__ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ClassificationInformation>(GetArena()); + _impl_.default__ = reinterpret_cast<::anduril::entitymanager::v1::ClassificationInformation*>(p); + } + return _impl_.default__; +} +inline ::anduril::entitymanager::v1::ClassificationInformation* Classification::mutable_default_() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::ClassificationInformation* _msg = _internal_mutable_default_(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Classification.default) + return _msg; +} +inline void Classification::set_allocated_default_(::anduril::entitymanager::v1::ClassificationInformation* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.default__); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.default__ = reinterpret_cast<::anduril::entitymanager::v1::ClassificationInformation*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Classification.default) +} + +// repeated .anduril.entitymanager.v1.FieldClassificationInformation fields = 3 [json_name = "fields"]; +inline int Classification::_internal_fields_size() const { + return _internal_fields().size(); +} +inline int Classification::fields_size() const { + return _internal_fields_size(); +} +inline void Classification::clear_fields() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fields_.Clear(); +} +inline ::anduril::entitymanager::v1::FieldClassificationInformation* Classification::mutable_fields(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Classification.fields) + return _internal_mutable_fields()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>* Classification::mutable_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Classification.fields) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_fields(); +} +inline const ::anduril::entitymanager::v1::FieldClassificationInformation& Classification::fields(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Classification.fields) + return _internal_fields().Get(index); +} +inline ::anduril::entitymanager::v1::FieldClassificationInformation* Classification::add_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::FieldClassificationInformation* _add = _internal_mutable_fields()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Classification.fields) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>& Classification::fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Classification.fields) + return _internal_fields(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>& +Classification::_internal_fields() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.fields_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldClassificationInformation>* +Classification::_internal_mutable_fields() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.fields_; +} + +// ------------------------------------------------------------------- + +// FieldClassificationInformation + +// string field_path = 1 [json_name = "fieldPath"]; +inline void FieldClassificationInformation::clear_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.ClearToEmpty(); +} +inline const std::string& FieldClassificationInformation::field_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldClassificationInformation.field_path) + return _internal_field_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void FieldClassificationInformation::set_field_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.FieldClassificationInformation.field_path) +} +inline std::string* FieldClassificationInformation::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_field_path(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldClassificationInformation.field_path) + return _s; +} +inline const std::string& FieldClassificationInformation::_internal_field_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.field_path_.Get(); +} +inline void FieldClassificationInformation::_internal_set_field_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(value, GetArena()); +} +inline std::string* FieldClassificationInformation::_internal_mutable_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.field_path_.Mutable( GetArena()); +} +inline std::string* FieldClassificationInformation::release_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldClassificationInformation.field_path) + return _impl_.field_path_.Release(); +} +inline void FieldClassificationInformation::set_allocated_field_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.field_path_.IsDefault()) { + _impl_.field_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldClassificationInformation.field_path) +} + +// .anduril.entitymanager.v1.ClassificationInformation classification_information = 2 [json_name = "classificationInformation"]; +inline bool FieldClassificationInformation::has_classification_information() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.classification_information_ != nullptr); + return value; +} +inline void FieldClassificationInformation::clear_classification_information() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.classification_information_ != nullptr) _impl_.classification_information_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::ClassificationInformation& FieldClassificationInformation::_internal_classification_information() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::ClassificationInformation* p = _impl_.classification_information_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_ClassificationInformation_default_instance_); +} +inline const ::anduril::entitymanager::v1::ClassificationInformation& FieldClassificationInformation::classification_information() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldClassificationInformation.classification_information) + return _internal_classification_information(); +} +inline void FieldClassificationInformation::unsafe_arena_set_allocated_classification_information(::anduril::entitymanager::v1::ClassificationInformation* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.classification_information_); + } + _impl_.classification_information_ = reinterpret_cast<::anduril::entitymanager::v1::ClassificationInformation*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FieldClassificationInformation.classification_information) +} +inline ::anduril::entitymanager::v1::ClassificationInformation* FieldClassificationInformation::release_classification_information() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::ClassificationInformation* released = _impl_.classification_information_; + _impl_.classification_information_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::ClassificationInformation* FieldClassificationInformation::unsafe_arena_release_classification_information() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldClassificationInformation.classification_information) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::ClassificationInformation* temp = _impl_.classification_information_; + _impl_.classification_information_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::ClassificationInformation* FieldClassificationInformation::_internal_mutable_classification_information() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.classification_information_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ClassificationInformation>(GetArena()); + _impl_.classification_information_ = reinterpret_cast<::anduril::entitymanager::v1::ClassificationInformation*>(p); + } + return _impl_.classification_information_; +} +inline ::anduril::entitymanager::v1::ClassificationInformation* FieldClassificationInformation::mutable_classification_information() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::ClassificationInformation* _msg = _internal_mutable_classification_information(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldClassificationInformation.classification_information) + return _msg; +} +inline void FieldClassificationInformation::set_allocated_classification_information(::anduril::entitymanager::v1::ClassificationInformation* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.classification_information_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.classification_information_ = reinterpret_cast<::anduril::entitymanager::v1::ClassificationInformation*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldClassificationInformation.classification_information) +} + +// ------------------------------------------------------------------- + +// ClassificationInformation + +// .anduril.entitymanager.v1.ClassificationLevels level = 1 [json_name = "level"]; +inline void ClassificationInformation::clear_level() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.level_ = 0; +} +inline ::anduril::entitymanager::v1::ClassificationLevels ClassificationInformation::level() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ClassificationInformation.level) + return _internal_level(); +} +inline void ClassificationInformation::set_level(::anduril::entitymanager::v1::ClassificationLevels value) { + _internal_set_level(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ClassificationInformation.level) +} +inline ::anduril::entitymanager::v1::ClassificationLevels ClassificationInformation::_internal_level() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::ClassificationLevels>(_impl_.level_); +} +inline void ClassificationInformation::_internal_set_level(::anduril::entitymanager::v1::ClassificationLevels value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.level_ = value; +} + +// repeated string caveats = 2 [json_name = "caveats"]; +inline int ClassificationInformation::_internal_caveats_size() const { + return _internal_caveats().size(); +} +inline int ClassificationInformation::caveats_size() const { + return _internal_caveats_size(); +} +inline void ClassificationInformation::clear_caveats() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.caveats_.Clear(); +} +inline std::string* ClassificationInformation::add_caveats() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_caveats()->Add(); + // @@protoc_insertion_point(field_add_mutable:anduril.entitymanager.v1.ClassificationInformation.caveats) + return _s; +} +inline const std::string& ClassificationInformation::caveats(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ClassificationInformation.caveats) + return _internal_caveats().Get(index); +} +inline std::string* ClassificationInformation::mutable_caveats(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ClassificationInformation.caveats) + return _internal_mutable_caveats()->Mutable(index); +} +template +inline void ClassificationInformation::set_caveats(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_caveats()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ClassificationInformation.caveats) +} +template +inline void ClassificationInformation::add_caveats(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_caveats(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.ClassificationInformation.caveats) +} +inline const ::google::protobuf::RepeatedPtrField& +ClassificationInformation::caveats() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.ClassificationInformation.caveats) + return _internal_caveats(); +} +inline ::google::protobuf::RepeatedPtrField* +ClassificationInformation::mutable_caveats() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.ClassificationInformation.caveats) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_caveats(); +} +inline const ::google::protobuf::RepeatedPtrField& +ClassificationInformation::_internal_caveats() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.caveats_; +} +inline ::google::protobuf::RepeatedPtrField* +ClassificationInformation::_internal_mutable_caveats() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.caveats_; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::ClassificationLevels> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::ClassificationLevels>() { + return ::anduril::entitymanager::v1::ClassificationLevels_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.cc new file mode 100644 index 0000000..9d3c87b --- /dev/null +++ b/src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/contact_details.pub.proto + +#include "anduril/entitymanager/v1/contact_details.pub.pb.h" +#include "anduril/entitymanager/v1/contact_details.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.h b/src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.h new file mode 100644 index 0000000..3d2a390 --- /dev/null +++ b/src/anduril/entitymanager/v1/contact_details.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/contact_details.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/contact_details.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/contact_details.pub.pb.cc b/src/anduril/entitymanager/v1/contact_details.pub.pb.cc new file mode 100644 index 0000000..f9c4dcc --- /dev/null +++ b/src/anduril/entitymanager/v1/contact_details.pub.pb.cc @@ -0,0 +1,363 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/contact_details.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/contact_details.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr ContactDetails::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : phone_number_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ContactDetails::ContactDetails(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ContactDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR ContactDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ContactDetailsDefaultTypeInternal() {} + union { + ContactDetails _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContactDetailsDefaultTypeInternal _ContactDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ContactDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ContactDetails, _impl_.phone_number_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::ContactDetails)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_ContactDetails_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n2anduril/entitymanager/v1/contact_detai" + "ls.pub.proto\022\030anduril.entitymanager.v1\"3" + "\n\016ContactDetails\022!\n\014phone_number\030\001 \001(\tR\013" + "phoneNumberB\207\002\n\034com.anduril.entitymanage" + "r.v1B\026ContactDetailsPubProtoP\001ZMghe.andu" + "ril.dev/anduril/andurilapis-go/anduril/e" + "ntitymanager/v1;entitymanager\242\002\003AEX\252\002\030An" + "duril.Entitymanager.V1\312\002\030Anduril\\Entitym" + "anager\\V1\342\002$Anduril\\Entitymanager\\V1\\GPB" + "Metadata\352\002\032Anduril::Entitymanager::V1b\006p" + "roto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto = { + false, + false, + 405, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto, + "anduril/entitymanager/v1/contact_details.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto_once, + nullptr, + 0, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class ContactDetails::_Internal { + public: +}; + +ContactDetails::ContactDetails(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ContactDetails) +} +inline PROTOBUF_NDEBUG_INLINE ContactDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ContactDetails& from_msg) + : phone_number_(arena, from.phone_number_), + _cached_size_{0} {} + +ContactDetails::ContactDetails( + ::google::protobuf::Arena* arena, + const ContactDetails& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ContactDetails* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ContactDetails) +} +inline PROTOBUF_NDEBUG_INLINE ContactDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : phone_number_(arena), + _cached_size_{0} {} + +inline void ContactDetails::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ContactDetails::~ContactDetails() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ContactDetails) + SharedDtor(*this); +} +inline void ContactDetails::SharedDtor(MessageLite& self) { + ContactDetails& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.phone_number_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ContactDetails::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ContactDetails(arena); +} +constexpr auto ContactDetails::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ContactDetails), + alignof(ContactDetails)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ContactDetails::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ContactDetails_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ContactDetails::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ContactDetails::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ContactDetails::ByteSizeLong, + &ContactDetails::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ContactDetails, _impl_._cached_size_), + false, + }, + &ContactDetails::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ContactDetails::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 60, 2> ContactDetails::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ContactDetails>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string phone_number = 1 [json_name = "phoneNumber"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ContactDetails, _impl_.phone_number_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string phone_number = 1 [json_name = "phoneNumber"]; + {PROTOBUF_FIELD_OFFSET(ContactDetails, _impl_.phone_number_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\47\14\0\0\0\0\0\0" + "anduril.entitymanager.v1.ContactDetails" + "phone_number" + }}, +}; + +PROTOBUF_NOINLINE void ContactDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ContactDetails) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.phone_number_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ContactDetails::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ContactDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ContactDetails::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ContactDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ContactDetails) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string phone_number = 1 [json_name = "phoneNumber"]; + if (!this_._internal_phone_number().empty()) { + const std::string& _s = this_._internal_phone_number(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ContactDetails.phone_number"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ContactDetails) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ContactDetails::ByteSizeLong(const MessageLite& base) { + const ContactDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ContactDetails::ByteSizeLong() const { + const ContactDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ContactDetails) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // string phone_number = 1 [json_name = "phoneNumber"]; + if (!this_._internal_phone_number().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_phone_number()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ContactDetails::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ContactDetails) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_phone_number().empty()) { + _this->_internal_set_phone_number(from._internal_phone_number()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ContactDetails::CopyFrom(const ContactDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ContactDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ContactDetails::InternalSwap(ContactDetails* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.phone_number_, &other->_impl_.phone_number_, arena); +} + +::google::protobuf::Metadata ContactDetails::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/contact_details.pub.pb.h b/src/anduril/entitymanager/v1/contact_details.pub.pb.h new file mode 100644 index 0000000..7beb100 --- /dev/null +++ b/src/anduril/entitymanager/v1/contact_details.pub.pb.h @@ -0,0 +1,351 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/contact_details.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class ContactDetails; +struct ContactDetailsDefaultTypeInternal; +extern ContactDetailsDefaultTypeInternal _ContactDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class ContactDetails final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ContactDetails) */ { + public: + inline ContactDetails() : ContactDetails(nullptr) {} + ~ContactDetails() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ContactDetails* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ContactDetails)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ContactDetails( + ::google::protobuf::internal::ConstantInitialized); + + inline ContactDetails(const ContactDetails& from) : ContactDetails(nullptr, from) {} + inline ContactDetails(ContactDetails&& from) noexcept + : ContactDetails(nullptr, std::move(from)) {} + inline ContactDetails& operator=(const ContactDetails& from) { + CopyFrom(from); + return *this; + } + inline ContactDetails& operator=(ContactDetails&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ContactDetails& default_instance() { + return *internal_default_instance(); + } + static inline const ContactDetails* internal_default_instance() { + return reinterpret_cast( + &_ContactDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(ContactDetails& a, ContactDetails& b) { a.Swap(&b); } + inline void Swap(ContactDetails* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ContactDetails* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ContactDetails* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ContactDetails& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ContactDetails& from) { ContactDetails::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ContactDetails* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ContactDetails"; } + + protected: + explicit ContactDetails(::google::protobuf::Arena* arena); + ContactDetails(::google::protobuf::Arena* arena, const ContactDetails& from); + ContactDetails(::google::protobuf::Arena* arena, ContactDetails&& from) noexcept + : ContactDetails(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPhoneNumberFieldNumber = 1, + }; + // string phone_number = 1 [json_name = "phoneNumber"]; + void clear_phone_number() ; + const std::string& phone_number() const; + template + void set_phone_number(Arg_&& arg, Args_... args); + std::string* mutable_phone_number(); + PROTOBUF_NODISCARD std::string* release_phone_number(); + void set_allocated_phone_number(std::string* value); + + private: + const std::string& _internal_phone_number() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_phone_number( + const std::string& value); + std::string* _internal_mutable_phone_number(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ContactDetails) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 60, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ContactDetails& from_msg); + ::google::protobuf::internal::ArenaStringPtr phone_number_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ContactDetails + +// string phone_number = 1 [json_name = "phoneNumber"]; +inline void ContactDetails::clear_phone_number() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.phone_number_.ClearToEmpty(); +} +inline const std::string& ContactDetails::phone_number() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ContactDetails.phone_number) + return _internal_phone_number(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ContactDetails::set_phone_number(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.phone_number_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ContactDetails.phone_number) +} +inline std::string* ContactDetails::mutable_phone_number() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_phone_number(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ContactDetails.phone_number) + return _s; +} +inline const std::string& ContactDetails::_internal_phone_number() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.phone_number_.Get(); +} +inline void ContactDetails::_internal_set_phone_number(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.phone_number_.Set(value, GetArena()); +} +inline std::string* ContactDetails::_internal_mutable_phone_number() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.phone_number_.Mutable( GetArena()); +} +inline std::string* ContactDetails::release_phone_number() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ContactDetails.phone_number) + return _impl_.phone_number_.Release(); +} +inline void ContactDetails::set_allocated_phone_number(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.phone_number_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.phone_number_.IsDefault()) { + _impl_.phone_number_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ContactDetails.phone_number) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fcontact_5fdetails_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/correlations.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/correlations.pub.grpc.pb.cc new file mode 100644 index 0000000..771ec0c --- /dev/null +++ b/src/anduril/entitymanager/v1/correlations.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/correlations.pub.proto + +#include "anduril/entitymanager/v1/correlations.pub.pb.h" +#include "anduril/entitymanager/v1/correlations.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/correlations.pub.grpc.pb.h b/src/anduril/entitymanager/v1/correlations.pub.grpc.pb.h new file mode 100644 index 0000000..977e450 --- /dev/null +++ b/src/anduril/entitymanager/v1/correlations.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/correlations.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/correlations.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/correlations.pub.pb.cc b/src/anduril/entitymanager/v1/correlations.pub.pb.cc new file mode 100644 index 0000000..e4008c5 --- /dev/null +++ b/src/anduril/entitymanager/v1/correlations.pub.pb.cc @@ -0,0 +1,941 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/correlations.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/correlations.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr CorrelationScore::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : other_entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + score_{0}, + interpretation_{static_cast< ::anduril::entitymanager::v1::ScoreInterpretation >(0)}, + link16_compliant_{false}, + other_status_{static_cast< ::anduril::entitymanager::v1::CorrelationStatus >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR CorrelationScore::CorrelationScore(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CorrelationScoreDefaultTypeInternal { + PROTOBUF_CONSTEXPR CorrelationScoreDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CorrelationScoreDefaultTypeInternal() {} + union { + CorrelationScore _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CorrelationScoreDefaultTypeInternal _CorrelationScore_default_instance_; + +inline constexpr Correlated::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + scores_{}, + primary_entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + expires_time_{nullptr}, + status_{static_cast< ::anduril::entitymanager::v1::CorrelationStatus >(0)} {} + +template +PROTOBUF_CONSTEXPR Correlated::Correlated(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CorrelatedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CorrelatedDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CorrelatedDefaultTypeInternal() {} + union { + Correlated _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CorrelatedDefaultTypeInternal _Correlated_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlated, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlated, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlated, _impl_.primary_entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlated, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlated, _impl_.scores_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlated, _impl_.expires_time_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationScore, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationScore, _impl_.other_entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationScore, _impl_.score_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationScore, _impl_.interpretation_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationScore, _impl_.link16_compliant_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationScore, _impl_.other_status_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 12, -1, sizeof(::anduril::entitymanager::v1::Correlated)}, + {16, -1, -1, sizeof(::anduril::entitymanager::v1::CorrelationScore)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Correlated_default_instance_._instance, + &::anduril::entitymanager::v1::_CorrelationScore_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n/anduril/entitymanager/v1/correlations." + "pub.proto\022\030anduril.entitymanager.v1\032\037goo" + "gle/protobuf/timestamp.proto\"\200\002\n\nCorrela" + "ted\022*\n\021primary_entity_id\030\001 \001(\tR\017primaryE" + "ntityId\022C\n\006status\030\002 \001(\0162+.anduril.entity" + "manager.v1.CorrelationStatusR\006status\022B\n\006" + "scores\030\003 \003(\0132*.anduril.entitymanager.v1." + "CorrelationScoreR\006scores\022=\n\014expires_time" + "\030\004 \001(\0132\032.google.protobuf.TimestampR\013expi" + "resTime\"\246\002\n\020CorrelationScore\022&\n\017other_en" + "tity_id\030\001 \001(\tR\rotherEntityId\022\024\n\005score\030\002 " + "\001(\002R\005score\022U\n\016interpretation\030\003 \001(\0162-.and" + "uril.entitymanager.v1.ScoreInterpretatio" + "nR\016interpretation\022-\n\020link16_compliant\030\004 " + "\001(\010B\002\030\001R\017link16Compliant\022N\n\014other_status" + "\030\005 \001(\0162+.anduril.entitymanager.v1.Correl" + "ationStatusR\013otherStatus*\361\001\n\021Correlation" + "Status\022\036\n\032CORRELATION_STATUS_INVALID\020\000\022(" + "\n$CORRELATION_STATUS_MANUAL_INSPECTION\020\001" + "\022%\n!CORRELATION_STATUS_AUTO_SUGGESTED\020\002\022" + "*\n\"CORRELATION_STATUS_START_CORRELATE\020\003\032" + "\002\010\001\022 \n\034CORRELATION_STATUS_CONFIRMED\020\004\022\035\n" + "\031CORRELATION_STATUS_DENIED\020\005*\241\001\n\023ScoreIn" + "terpretation\022 \n\034SCORE_INTERPRETATION_INV" + "ALID\020\000\022!\n\035SCORE_INTERPRETATION_UNLIKELY\020" + "\001\022\037\n\033SCORE_INTERPRETATION_LIKELY\020\002\022$\n SC" + "ORE_INTERPRETATION_VERY_LIKELY\020\003B\205\002\n\034com" + ".anduril.entitymanager.v1B\024CorrelationsP" + "ubProtoP\001ZMghe.anduril.dev/anduril/andur" + "ilapis-go/anduril/entitymanager/v1;entit" + "ymanager\242\002\003AEX\252\002\030Anduril.Entitymanager.V" + "1\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduril\\E" + "ntitymanager\\V1\\GPBMetadata\352\002\032Anduril::E" + "ntitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_deps[1] = + { + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto = { + false, + false, + 1344, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto, + "anduril/entitymanager/v1/correlations.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_deps, + 1, + 2, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* CorrelationStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t CorrelationStatus_internal_data_[] = { + 393216u, 0u, }; +bool CorrelationStatus_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* ScoreInterpretation_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t ScoreInterpretation_internal_data_[] = { + 262144u, 0u, }; +bool ScoreInterpretation_IsValid(int value) { + return 0 <= value && value <= 3; +} +// =================================================================== + +class Correlated::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Correlated, _impl_._has_bits_); +}; + +void Correlated::clear_expires_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.expires_time_ != nullptr) _impl_.expires_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Correlated::Correlated(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Correlated) +} +inline PROTOBUF_NDEBUG_INLINE Correlated::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Correlated& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + scores_{visibility, arena, from.scores_}, + primary_entity_id_(arena, from.primary_entity_id_) {} + +Correlated::Correlated( + ::google::protobuf::Arena* arena, + const Correlated& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Correlated* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.expires_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.expires_time_) + : nullptr; + _impl_.status_ = from._impl_.status_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Correlated) +} +inline PROTOBUF_NDEBUG_INLINE Correlated::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + scores_{visibility, arena}, + primary_entity_id_(arena) {} + +inline void Correlated::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, expires_time_), + 0, + offsetof(Impl_, status_) - + offsetof(Impl_, expires_time_) + + sizeof(Impl_::status_)); +} +Correlated::~Correlated() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Correlated) + SharedDtor(*this); +} +inline void Correlated::SharedDtor(MessageLite& self) { + Correlated& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.primary_entity_id_.Destroy(); + delete this_._impl_.expires_time_; + this_._impl_.~Impl_(); +} + +inline void* Correlated::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Correlated(arena); +} +constexpr auto Correlated::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Correlated, _impl_.scores_) + + decltype(Correlated::_impl_.scores_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Correlated), alignof(Correlated), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Correlated::PlacementNew_, + sizeof(Correlated), + alignof(Correlated)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Correlated::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Correlated_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Correlated::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Correlated::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Correlated::ByteSizeLong, + &Correlated::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Correlated, _impl_._cached_size_), + false, + }, + &Correlated::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Correlated::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 2, 61, 2> Correlated::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Correlated, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Correlated>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.Timestamp expires_time = 4 [json_name = "expiresTime"]; + {::_pbi::TcParser::FastMtS1, + {34, 0, 1, PROTOBUF_FIELD_OFFSET(Correlated, _impl_.expires_time_)}}, + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Correlated, _impl_.primary_entity_id_)}}, + // .anduril.entitymanager.v1.CorrelationStatus status = 2 [json_name = "status"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Correlated, _impl_.status_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Correlated, _impl_.status_)}}, + // repeated .anduril.entitymanager.v1.CorrelationScore scores = 3 [json_name = "scores"]; + {::_pbi::TcParser::FastMtR1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(Correlated, _impl_.scores_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + {PROTOBUF_FIELD_OFFSET(Correlated, _impl_.primary_entity_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.CorrelationStatus status = 2 [json_name = "status"]; + {PROTOBUF_FIELD_OFFSET(Correlated, _impl_.status_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // repeated .anduril.entitymanager.v1.CorrelationScore scores = 3 [json_name = "scores"]; + {PROTOBUF_FIELD_OFFSET(Correlated, _impl_.scores_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp expires_time = 4 [json_name = "expiresTime"]; + {PROTOBUF_FIELD_OFFSET(Correlated, _impl_.expires_time_), _Internal::kHasBitsOffset + 0, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationScore>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + "\43\21\0\0\0\0\0\0" + "anduril.entitymanager.v1.Correlated" + "primary_entity_id" + }}, +}; + +PROTOBUF_NOINLINE void Correlated::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Correlated) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.scores_.Clear(); + _impl_.primary_entity_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.expires_time_ != nullptr); + _impl_.expires_time_->Clear(); + } + _impl_.status_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Correlated::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Correlated& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Correlated::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Correlated& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Correlated) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + if (!this_._internal_primary_entity_id().empty()) { + const std::string& _s = this_._internal_primary_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Correlated.primary_entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .anduril.entitymanager.v1.CorrelationStatus status = 2 [json_name = "status"]; + if (this_._internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_status(), target); + } + + // repeated .anduril.entitymanager.v1.CorrelationScore scores = 3 [json_name = "scores"]; + for (unsigned i = 0, n = static_cast( + this_._internal_scores_size()); + i < n; i++) { + const auto& repfield = this_._internal_scores().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp expires_time = 4 [json_name = "expiresTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.expires_time_, this_._impl_.expires_time_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Correlated) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Correlated::ByteSizeLong(const MessageLite& base) { + const Correlated& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Correlated::ByteSizeLong() const { + const Correlated& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Correlated) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.CorrelationScore scores = 3 [json_name = "scores"]; + { + total_size += 1UL * this_._internal_scores_size(); + for (const auto& msg : this_._internal_scores()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + if (!this_._internal_primary_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_primary_entity_id()); + } + } + { + // .google.protobuf.Timestamp expires_time = 4 [json_name = "expiresTime"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.expires_time_); + } + } + { + // .anduril.entitymanager.v1.CorrelationStatus status = 2 [json_name = "status"]; + if (this_._internal_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Correlated::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Correlated) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_scores()->MergeFrom( + from._internal_scores()); + if (!from._internal_primary_entity_id().empty()) { + _this->_internal_set_primary_entity_id(from._internal_primary_entity_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.expires_time_ != nullptr); + if (_this->_impl_.expires_time_ == nullptr) { + _this->_impl_.expires_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.expires_time_); + } else { + _this->_impl_.expires_time_->MergeFrom(*from._impl_.expires_time_); + } + } + if (from._internal_status() != 0) { + _this->_impl_.status_ = from._impl_.status_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Correlated::CopyFrom(const Correlated& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Correlated) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Correlated::InternalSwap(Correlated* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.scores_.InternalSwap(&other->_impl_.scores_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.primary_entity_id_, &other->_impl_.primary_entity_id_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Correlated, _impl_.status_) + + sizeof(Correlated::_impl_.status_) + - PROTOBUF_FIELD_OFFSET(Correlated, _impl_.expires_time_)>( + reinterpret_cast(&_impl_.expires_time_), + reinterpret_cast(&other->_impl_.expires_time_)); +} + +::google::protobuf::Metadata Correlated::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class CorrelationScore::_Internal { + public: +}; + +CorrelationScore::CorrelationScore(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.CorrelationScore) +} +inline PROTOBUF_NDEBUG_INLINE CorrelationScore::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::CorrelationScore& from_msg) + : other_entity_id_(arena, from.other_entity_id_), + _cached_size_{0} {} + +CorrelationScore::CorrelationScore( + ::google::protobuf::Arena* arena, + const CorrelationScore& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CorrelationScore* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, score_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, score_), + offsetof(Impl_, other_status_) - + offsetof(Impl_, score_) + + sizeof(Impl_::other_status_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.CorrelationScore) +} +inline PROTOBUF_NDEBUG_INLINE CorrelationScore::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : other_entity_id_(arena), + _cached_size_{0} {} + +inline void CorrelationScore::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, score_), + 0, + offsetof(Impl_, other_status_) - + offsetof(Impl_, score_) + + sizeof(Impl_::other_status_)); +} +CorrelationScore::~CorrelationScore() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.CorrelationScore) + SharedDtor(*this); +} +inline void CorrelationScore::SharedDtor(MessageLite& self) { + CorrelationScore& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.other_entity_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* CorrelationScore::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CorrelationScore(arena); +} +constexpr auto CorrelationScore::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CorrelationScore), + alignof(CorrelationScore)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull CorrelationScore::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CorrelationScore_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CorrelationScore::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CorrelationScore::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CorrelationScore::ByteSizeLong, + &CorrelationScore::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_._cached_size_), + false, + }, + &CorrelationScore::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CorrelationScore::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 65, 2> CorrelationScore::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationScore>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string other_entity_id = 1 [json_name = "otherEntityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.other_entity_id_)}}, + // float score = 2 [json_name = "score"]; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.score_)}}, + // .anduril.entitymanager.v1.ScoreInterpretation interpretation = 3 [json_name = "interpretation"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CorrelationScore, _impl_.interpretation_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.interpretation_)}}, + // bool link16_compliant = 4 [json_name = "link16Compliant", deprecated = true]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.link16_compliant_)}}, + // .anduril.entitymanager.v1.CorrelationStatus other_status = 5 [json_name = "otherStatus"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CorrelationScore, _impl_.other_status_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.other_status_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string other_entity_id = 1 [json_name = "otherEntityId"]; + {PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.other_entity_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // float score = 2 [json_name = "score"]; + {PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.score_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // .anduril.entitymanager.v1.ScoreInterpretation interpretation = 3 [json_name = "interpretation"]; + {PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.interpretation_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // bool link16_compliant = 4 [json_name = "link16Compliant", deprecated = true]; + {PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.link16_compliant_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // .anduril.entitymanager.v1.CorrelationStatus other_status = 5 [json_name = "otherStatus"]; + {PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.other_status_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + "\51\17\0\0\0\0\0\0" + "anduril.entitymanager.v1.CorrelationScore" + "other_entity_id" + }}, +}; + +PROTOBUF_NOINLINE void CorrelationScore::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.CorrelationScore) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.other_entity_id_.ClearToEmpty(); + ::memset(&_impl_.score_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.other_status_) - + reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.other_status_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CorrelationScore::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CorrelationScore& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CorrelationScore::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CorrelationScore& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.CorrelationScore) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string other_entity_id = 1 [json_name = "otherEntityId"]; + if (!this_._internal_other_entity_id().empty()) { + const std::string& _s = this_._internal_other_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.CorrelationScore.other_entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // float score = 2 [json_name = "score"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_score()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_score(), target); + } + + // .anduril.entitymanager.v1.ScoreInterpretation interpretation = 3 [json_name = "interpretation"]; + if (this_._internal_interpretation() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_interpretation(), target); + } + + // bool link16_compliant = 4 [json_name = "link16Compliant", deprecated = true]; + if (this_._internal_link16_compliant() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_link16_compliant(), target); + } + + // .anduril.entitymanager.v1.CorrelationStatus other_status = 5 [json_name = "otherStatus"]; + if (this_._internal_other_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 5, this_._internal_other_status(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.CorrelationScore) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t CorrelationScore::ByteSizeLong(const MessageLite& base) { + const CorrelationScore& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CorrelationScore::ByteSizeLong() const { + const CorrelationScore& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.CorrelationScore) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string other_entity_id = 1 [json_name = "otherEntityId"]; + if (!this_._internal_other_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_other_entity_id()); + } + // float score = 2 [json_name = "score"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_score()) != 0) { + total_size += 5; + } + // .anduril.entitymanager.v1.ScoreInterpretation interpretation = 3 [json_name = "interpretation"]; + if (this_._internal_interpretation() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_interpretation()); + } + // bool link16_compliant = 4 [json_name = "link16Compliant", deprecated = true]; + if (this_._internal_link16_compliant() != 0) { + total_size += 2; + } + // .anduril.entitymanager.v1.CorrelationStatus other_status = 5 [json_name = "otherStatus"]; + if (this_._internal_other_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_other_status()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void CorrelationScore::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.CorrelationScore) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_other_entity_id().empty()) { + _this->_internal_set_other_entity_id(from._internal_other_entity_id()); + } + if (::absl::bit_cast<::uint32_t>(from._internal_score()) != 0) { + _this->_impl_.score_ = from._impl_.score_; + } + if (from._internal_interpretation() != 0) { + _this->_impl_.interpretation_ = from._impl_.interpretation_; + } + if (from._internal_link16_compliant() != 0) { + _this->_impl_.link16_compliant_ = from._impl_.link16_compliant_; + } + if (from._internal_other_status() != 0) { + _this->_impl_.other_status_ = from._impl_.other_status_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CorrelationScore::CopyFrom(const CorrelationScore& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.CorrelationScore) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CorrelationScore::InternalSwap(CorrelationScore* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.other_entity_id_, &other->_impl_.other_entity_id_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.other_status_) + + sizeof(CorrelationScore::_impl_.other_status_) + - PROTOBUF_FIELD_OFFSET(CorrelationScore, _impl_.score_)>( + reinterpret_cast(&_impl_.score_), + reinterpret_cast(&other->_impl_.score_)); +} + +::google::protobuf::Metadata CorrelationScore::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/correlations.pub.pb.h b/src/anduril/entitymanager/v1/correlations.pub.pb.h new file mode 100644 index 0000000..67e725b --- /dev/null +++ b/src/anduril/entitymanager/v1/correlations.pub.pb.h @@ -0,0 +1,1043 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/correlations.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Correlated; +struct CorrelatedDefaultTypeInternal; +extern CorrelatedDefaultTypeInternal _Correlated_default_instance_; +class CorrelationScore; +struct CorrelationScoreDefaultTypeInternal; +extern CorrelationScoreDefaultTypeInternal _CorrelationScore_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum CorrelationStatus : int { + CORRELATION_STATUS_INVALID = 0, + CORRELATION_STATUS_MANUAL_INSPECTION = 1, + CORRELATION_STATUS_AUTO_SUGGESTED = 2, + CORRELATION_STATUS_START_CORRELATE [[deprecated]] = 3, + CORRELATION_STATUS_CONFIRMED = 4, + CORRELATION_STATUS_DENIED = 5, + CorrelationStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + CorrelationStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool CorrelationStatus_IsValid(int value); +extern const uint32_t CorrelationStatus_internal_data_[]; +constexpr CorrelationStatus CorrelationStatus_MIN = static_cast(0); +constexpr CorrelationStatus CorrelationStatus_MAX = static_cast(5); +constexpr int CorrelationStatus_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +CorrelationStatus_descriptor(); +template +const std::string& CorrelationStatus_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to CorrelationStatus_Name()."); + return CorrelationStatus_Name(static_cast(value)); +} +template <> +inline const std::string& CorrelationStatus_Name(CorrelationStatus value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool CorrelationStatus_Parse(absl::string_view name, CorrelationStatus* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CorrelationStatus_descriptor(), name, value); +} +enum ScoreInterpretation : int { + SCORE_INTERPRETATION_INVALID = 0, + SCORE_INTERPRETATION_UNLIKELY = 1, + SCORE_INTERPRETATION_LIKELY = 2, + SCORE_INTERPRETATION_VERY_LIKELY = 3, + ScoreInterpretation_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ScoreInterpretation_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ScoreInterpretation_IsValid(int value); +extern const uint32_t ScoreInterpretation_internal_data_[]; +constexpr ScoreInterpretation ScoreInterpretation_MIN = static_cast(0); +constexpr ScoreInterpretation ScoreInterpretation_MAX = static_cast(3); +constexpr int ScoreInterpretation_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* +ScoreInterpretation_descriptor(); +template +const std::string& ScoreInterpretation_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ScoreInterpretation_Name()."); + return ScoreInterpretation_Name(static_cast(value)); +} +template <> +inline const std::string& ScoreInterpretation_Name(ScoreInterpretation value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ScoreInterpretation_Parse(absl::string_view name, ScoreInterpretation* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ScoreInterpretation_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class CorrelationScore final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.CorrelationScore) */ { + public: + inline CorrelationScore() : CorrelationScore(nullptr) {} + ~CorrelationScore() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CorrelationScore* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CorrelationScore)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CorrelationScore( + ::google::protobuf::internal::ConstantInitialized); + + inline CorrelationScore(const CorrelationScore& from) : CorrelationScore(nullptr, from) {} + inline CorrelationScore(CorrelationScore&& from) noexcept + : CorrelationScore(nullptr, std::move(from)) {} + inline CorrelationScore& operator=(const CorrelationScore& from) { + CopyFrom(from); + return *this; + } + inline CorrelationScore& operator=(CorrelationScore&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CorrelationScore& default_instance() { + return *internal_default_instance(); + } + static inline const CorrelationScore* internal_default_instance() { + return reinterpret_cast( + &_CorrelationScore_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(CorrelationScore& a, CorrelationScore& b) { a.Swap(&b); } + inline void Swap(CorrelationScore* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CorrelationScore* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CorrelationScore* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CorrelationScore& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CorrelationScore& from) { CorrelationScore::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CorrelationScore* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.CorrelationScore"; } + + protected: + explicit CorrelationScore(::google::protobuf::Arena* arena); + CorrelationScore(::google::protobuf::Arena* arena, const CorrelationScore& from); + CorrelationScore(::google::protobuf::Arena* arena, CorrelationScore&& from) noexcept + : CorrelationScore(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOtherEntityIdFieldNumber = 1, + kScoreFieldNumber = 2, + kInterpretationFieldNumber = 3, + kLink16CompliantFieldNumber = 4, + kOtherStatusFieldNumber = 5, + }; + // string other_entity_id = 1 [json_name = "otherEntityId"]; + void clear_other_entity_id() ; + const std::string& other_entity_id() const; + template + void set_other_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_other_entity_id(); + PROTOBUF_NODISCARD std::string* release_other_entity_id(); + void set_allocated_other_entity_id(std::string* value); + + private: + const std::string& _internal_other_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_other_entity_id( + const std::string& value); + std::string* _internal_mutable_other_entity_id(); + + public: + // float score = 2 [json_name = "score"]; + void clear_score() ; + float score() const; + void set_score(float value); + + private: + float _internal_score() const; + void _internal_set_score(float value); + + public: + // .anduril.entitymanager.v1.ScoreInterpretation interpretation = 3 [json_name = "interpretation"]; + void clear_interpretation() ; + ::anduril::entitymanager::v1::ScoreInterpretation interpretation() const; + void set_interpretation(::anduril::entitymanager::v1::ScoreInterpretation value); + + private: + ::anduril::entitymanager::v1::ScoreInterpretation _internal_interpretation() const; + void _internal_set_interpretation(::anduril::entitymanager::v1::ScoreInterpretation value); + + public: + // bool link16_compliant = 4 [json_name = "link16Compliant", deprecated = true]; + [[deprecated]] void clear_link16_compliant() ; + [[deprecated]] bool link16_compliant() const; + [[deprecated]] void set_link16_compliant(bool value); + + private: + bool _internal_link16_compliant() const; + void _internal_set_link16_compliant(bool value); + + public: + // .anduril.entitymanager.v1.CorrelationStatus other_status = 5 [json_name = "otherStatus"]; + void clear_other_status() ; + ::anduril::entitymanager::v1::CorrelationStatus other_status() const; + void set_other_status(::anduril::entitymanager::v1::CorrelationStatus value); + + private: + ::anduril::entitymanager::v1::CorrelationStatus _internal_other_status() const; + void _internal_set_other_status(::anduril::entitymanager::v1::CorrelationStatus value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.CorrelationScore) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 0, + 65, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CorrelationScore& from_msg); + ::google::protobuf::internal::ArenaStringPtr other_entity_id_; + float score_; + int interpretation_; + bool link16_compliant_; + int other_status_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Correlated final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Correlated) */ { + public: + inline Correlated() : Correlated(nullptr) {} + ~Correlated() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Correlated* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Correlated)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Correlated( + ::google::protobuf::internal::ConstantInitialized); + + inline Correlated(const Correlated& from) : Correlated(nullptr, from) {} + inline Correlated(Correlated&& from) noexcept + : Correlated(nullptr, std::move(from)) {} + inline Correlated& operator=(const Correlated& from) { + CopyFrom(from); + return *this; + } + inline Correlated& operator=(Correlated&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Correlated& default_instance() { + return *internal_default_instance(); + } + static inline const Correlated* internal_default_instance() { + return reinterpret_cast( + &_Correlated_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Correlated& a, Correlated& b) { a.Swap(&b); } + inline void Swap(Correlated* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Correlated* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Correlated* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Correlated& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Correlated& from) { Correlated::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Correlated* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Correlated"; } + + protected: + explicit Correlated(::google::protobuf::Arena* arena); + Correlated(::google::protobuf::Arena* arena, const Correlated& from); + Correlated(::google::protobuf::Arena* arena, Correlated&& from) noexcept + : Correlated(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kScoresFieldNumber = 3, + kPrimaryEntityIdFieldNumber = 1, + kExpiresTimeFieldNumber = 4, + kStatusFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.CorrelationScore scores = 3 [json_name = "scores"]; + int scores_size() const; + private: + int _internal_scores_size() const; + + public: + void clear_scores() ; + ::anduril::entitymanager::v1::CorrelationScore* mutable_scores(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>* mutable_scores(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>& _internal_scores() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>* _internal_mutable_scores(); + public: + const ::anduril::entitymanager::v1::CorrelationScore& scores(int index) const; + ::anduril::entitymanager::v1::CorrelationScore* add_scores(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>& scores() const; + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + void clear_primary_entity_id() ; + const std::string& primary_entity_id() const; + template + void set_primary_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_primary_entity_id(); + PROTOBUF_NODISCARD std::string* release_primary_entity_id(); + void set_allocated_primary_entity_id(std::string* value); + + private: + const std::string& _internal_primary_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_primary_entity_id( + const std::string& value); + std::string* _internal_mutable_primary_entity_id(); + + public: + // .google.protobuf.Timestamp expires_time = 4 [json_name = "expiresTime"]; + bool has_expires_time() const; + void clear_expires_time() ; + const ::google::protobuf::Timestamp& expires_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_expires_time(); + ::google::protobuf::Timestamp* mutable_expires_time(); + void set_allocated_expires_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_expires_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_expires_time(); + + private: + const ::google::protobuf::Timestamp& _internal_expires_time() const; + ::google::protobuf::Timestamp* _internal_mutable_expires_time(); + + public: + // .anduril.entitymanager.v1.CorrelationStatus status = 2 [json_name = "status"]; + void clear_status() ; + ::anduril::entitymanager::v1::CorrelationStatus status() const; + void set_status(::anduril::entitymanager::v1::CorrelationStatus value); + + private: + ::anduril::entitymanager::v1::CorrelationStatus _internal_status() const; + void _internal_set_status(::anduril::entitymanager::v1::CorrelationStatus value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Correlated) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 2, + 61, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Correlated& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::CorrelationScore > scores_; + ::google::protobuf::internal::ArenaStringPtr primary_entity_id_; + ::google::protobuf::Timestamp* expires_time_; + int status_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Correlated + +// string primary_entity_id = 1 [json_name = "primaryEntityId"]; +inline void Correlated::clear_primary_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.ClearToEmpty(); +} +inline const std::string& Correlated::primary_entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlated.primary_entity_id) + return _internal_primary_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Correlated::set_primary_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Correlated.primary_entity_id) +} +inline std::string* Correlated::mutable_primary_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_primary_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlated.primary_entity_id) + return _s; +} +inline const std::string& Correlated::_internal_primary_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.primary_entity_id_.Get(); +} +inline void Correlated::_internal_set_primary_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.Set(value, GetArena()); +} +inline std::string* Correlated::_internal_mutable_primary_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.primary_entity_id_.Mutable( GetArena()); +} +inline std::string* Correlated::release_primary_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Correlated.primary_entity_id) + return _impl_.primary_entity_id_.Release(); +} +inline void Correlated::set_allocated_primary_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.primary_entity_id_.IsDefault()) { + _impl_.primary_entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Correlated.primary_entity_id) +} + +// .anduril.entitymanager.v1.CorrelationStatus status = 2 [json_name = "status"]; +inline void Correlated::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = 0; +} +inline ::anduril::entitymanager::v1::CorrelationStatus Correlated::status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlated.status) + return _internal_status(); +} +inline void Correlated::set_status(::anduril::entitymanager::v1::CorrelationStatus value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Correlated.status) +} +inline ::anduril::entitymanager::v1::CorrelationStatus Correlated::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::CorrelationStatus>(_impl_.status_); +} +inline void Correlated::_internal_set_status(::anduril::entitymanager::v1::CorrelationStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = value; +} + +// repeated .anduril.entitymanager.v1.CorrelationScore scores = 3 [json_name = "scores"]; +inline int Correlated::_internal_scores_size() const { + return _internal_scores().size(); +} +inline int Correlated::scores_size() const { + return _internal_scores_size(); +} +inline void Correlated::clear_scores() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.scores_.Clear(); +} +inline ::anduril::entitymanager::v1::CorrelationScore* Correlated::mutable_scores(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlated.scores) + return _internal_mutable_scores()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>* Correlated::mutable_scores() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Correlated.scores) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_scores(); +} +inline const ::anduril::entitymanager::v1::CorrelationScore& Correlated::scores(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlated.scores) + return _internal_scores().Get(index); +} +inline ::anduril::entitymanager::v1::CorrelationScore* Correlated::add_scores() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::CorrelationScore* _add = _internal_mutable_scores()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Correlated.scores) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>& Correlated::scores() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Correlated.scores) + return _internal_scores(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>& +Correlated::_internal_scores() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.scores_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CorrelationScore>* +Correlated::_internal_mutable_scores() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.scores_; +} + +// .google.protobuf.Timestamp expires_time = 4 [json_name = "expiresTime"]; +inline bool Correlated::has_expires_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.expires_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Correlated::_internal_expires_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.expires_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Correlated::expires_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlated.expires_time) + return _internal_expires_time(); +} +inline void Correlated::unsafe_arena_set_allocated_expires_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expires_time_); + } + _impl_.expires_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Correlated.expires_time) +} +inline ::google::protobuf::Timestamp* Correlated::release_expires_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.expires_time_; + _impl_.expires_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Correlated::unsafe_arena_release_expires_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Correlated.expires_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.expires_time_; + _impl_.expires_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Correlated::_internal_mutable_expires_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.expires_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.expires_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.expires_time_; +} +inline ::google::protobuf::Timestamp* Correlated::mutable_expires_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_expires_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlated.expires_time) + return _msg; +} +inline void Correlated::set_allocated_expires_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expires_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.expires_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Correlated.expires_time) +} + +// ------------------------------------------------------------------- + +// CorrelationScore + +// string other_entity_id = 1 [json_name = "otherEntityId"]; +inline void CorrelationScore::clear_other_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.other_entity_id_.ClearToEmpty(); +} +inline const std::string& CorrelationScore::other_entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationScore.other_entity_id) + return _internal_other_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CorrelationScore::set_other_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.other_entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationScore.other_entity_id) +} +inline std::string* CorrelationScore::mutable_other_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_other_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CorrelationScore.other_entity_id) + return _s; +} +inline const std::string& CorrelationScore::_internal_other_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.other_entity_id_.Get(); +} +inline void CorrelationScore::_internal_set_other_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.other_entity_id_.Set(value, GetArena()); +} +inline std::string* CorrelationScore::_internal_mutable_other_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.other_entity_id_.Mutable( GetArena()); +} +inline std::string* CorrelationScore::release_other_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CorrelationScore.other_entity_id) + return _impl_.other_entity_id_.Release(); +} +inline void CorrelationScore::set_allocated_other_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.other_entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.other_entity_id_.IsDefault()) { + _impl_.other_entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CorrelationScore.other_entity_id) +} + +// float score = 2 [json_name = "score"]; +inline void CorrelationScore::clear_score() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = 0; +} +inline float CorrelationScore::score() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationScore.score) + return _internal_score(); +} +inline void CorrelationScore::set_score(float value) { + _internal_set_score(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationScore.score) +} +inline float CorrelationScore::_internal_score() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.score_; +} +inline void CorrelationScore::_internal_set_score(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = value; +} + +// .anduril.entitymanager.v1.ScoreInterpretation interpretation = 3 [json_name = "interpretation"]; +inline void CorrelationScore::clear_interpretation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.interpretation_ = 0; +} +inline ::anduril::entitymanager::v1::ScoreInterpretation CorrelationScore::interpretation() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationScore.interpretation) + return _internal_interpretation(); +} +inline void CorrelationScore::set_interpretation(::anduril::entitymanager::v1::ScoreInterpretation value) { + _internal_set_interpretation(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationScore.interpretation) +} +inline ::anduril::entitymanager::v1::ScoreInterpretation CorrelationScore::_internal_interpretation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::ScoreInterpretation>(_impl_.interpretation_); +} +inline void CorrelationScore::_internal_set_interpretation(::anduril::entitymanager::v1::ScoreInterpretation value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.interpretation_ = value; +} + +// bool link16_compliant = 4 [json_name = "link16Compliant", deprecated = true]; +inline void CorrelationScore::clear_link16_compliant() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.link16_compliant_ = false; +} +inline bool CorrelationScore::link16_compliant() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationScore.link16_compliant) + return _internal_link16_compliant(); +} +inline void CorrelationScore::set_link16_compliant(bool value) { + _internal_set_link16_compliant(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationScore.link16_compliant) +} +inline bool CorrelationScore::_internal_link16_compliant() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.link16_compliant_; +} +inline void CorrelationScore::_internal_set_link16_compliant(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.link16_compliant_ = value; +} + +// .anduril.entitymanager.v1.CorrelationStatus other_status = 5 [json_name = "otherStatus"]; +inline void CorrelationScore::clear_other_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.other_status_ = 0; +} +inline ::anduril::entitymanager::v1::CorrelationStatus CorrelationScore::other_status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationScore.other_status) + return _internal_other_status(); +} +inline void CorrelationScore::set_other_status(::anduril::entitymanager::v1::CorrelationStatus value) { + _internal_set_other_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationScore.other_status) +} +inline ::anduril::entitymanager::v1::CorrelationStatus CorrelationScore::_internal_other_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::CorrelationStatus>(_impl_.other_status_); +} +inline void CorrelationScore::_internal_set_other_status(::anduril::entitymanager::v1::CorrelationStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.other_status_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::CorrelationStatus> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::CorrelationStatus>() { + return ::anduril::entitymanager::v1::CorrelationStatus_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::ScoreInterpretation> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::ScoreInterpretation>() { + return ::anduril::entitymanager::v1::ScoreInterpretation_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fcorrelations_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.cc new file mode 100644 index 0000000..12b109e --- /dev/null +++ b/src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/dimensions.pub.proto + +#include "anduril/entitymanager/v1/dimensions.pub.pb.h" +#include "anduril/entitymanager/v1/dimensions.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.h b/src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.h new file mode 100644 index 0000000..009718f --- /dev/null +++ b/src/anduril/entitymanager/v1/dimensions.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/dimensions.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/dimensions.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/dimensions.pub.pb.cc b/src/anduril/entitymanager/v1/dimensions.pub.pb.cc new file mode 100644 index 0000000..5abc891 --- /dev/null +++ b/src/anduril/entitymanager/v1/dimensions.pub.pb.cc @@ -0,0 +1,335 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/dimensions.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/dimensions.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Dimensions::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : length_m_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Dimensions::Dimensions(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct DimensionsDefaultTypeInternal { + PROTOBUF_CONSTEXPR DimensionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DimensionsDefaultTypeInternal() {} + union { + Dimensions _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DimensionsDefaultTypeInternal _Dimensions_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Dimensions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Dimensions, _impl_.length_m_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Dimensions)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Dimensions_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n-anduril/entitymanager/v1/dimensions.pu" + "b.proto\022\030anduril.entitymanager.v1\"\'\n\nDim" + "ensions\022\031\n\010length_m\030\001 \001(\002R\007lengthMB\203\002\n\034c" + "om.anduril.entitymanager.v1B\022DimensionsP" + "ubProtoP\001ZMghe.anduril.dev/anduril/andur" + "ilapis-go/anduril/entitymanager/v1;entit" + "ymanager\242\002\003AEX\252\002\030Anduril.Entitymanager.V" + "1\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduril\\E" + "ntitymanager\\V1\\GPBMetadata\352\002\032Anduril::E" + "ntitymanager::V1b\006proto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto = { + false, + false, + 384, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto, + "anduril/entitymanager/v1/dimensions.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto_once, + nullptr, + 0, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class Dimensions::_Internal { + public: +}; + +Dimensions::Dimensions(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Dimensions) +} +Dimensions::Dimensions( + ::google::protobuf::Arena* arena, const Dimensions& from) + : Dimensions(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE Dimensions::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Dimensions::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.length_m_ = {}; +} +Dimensions::~Dimensions() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Dimensions) + SharedDtor(*this); +} +inline void Dimensions::SharedDtor(MessageLite& self) { + Dimensions& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Dimensions::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Dimensions(arena); +} +constexpr auto Dimensions::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Dimensions), + alignof(Dimensions)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Dimensions::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Dimensions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Dimensions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Dimensions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Dimensions::ByteSizeLong, + &Dimensions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Dimensions, _impl_._cached_size_), + false, + }, + &Dimensions::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Dimensions::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Dimensions::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Dimensions>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float length_m = 1 [json_name = "lengthM"]; + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(Dimensions, _impl_.length_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float length_m = 1 [json_name = "lengthM"]; + {PROTOBUF_FIELD_OFFSET(Dimensions, _impl_.length_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void Dimensions::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Dimensions) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_m_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Dimensions::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Dimensions& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Dimensions::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Dimensions& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Dimensions) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float length_m = 1 [json_name = "lengthM"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_length_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_length_m(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Dimensions) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Dimensions::ByteSizeLong(const MessageLite& base) { + const Dimensions& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Dimensions::ByteSizeLong() const { + const Dimensions& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Dimensions) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // float length_m = 1 [json_name = "lengthM"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_length_m()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Dimensions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Dimensions) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint32_t>(from._internal_length_m()) != 0) { + _this->_impl_.length_m_ = from._impl_.length_m_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Dimensions::CopyFrom(const Dimensions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Dimensions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Dimensions::InternalSwap(Dimensions* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.length_m_, other->_impl_.length_m_); +} + +::google::protobuf::Metadata Dimensions::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/dimensions.pub.pb.h b/src/anduril/entitymanager/v1/dimensions.pub.pb.h new file mode 100644 index 0000000..bac1be5 --- /dev/null +++ b/src/anduril/entitymanager/v1/dimensions.pub.pb.h @@ -0,0 +1,319 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/dimensions.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Dimensions; +struct DimensionsDefaultTypeInternal; +extern DimensionsDefaultTypeInternal _Dimensions_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Dimensions final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Dimensions) */ { + public: + inline Dimensions() : Dimensions(nullptr) {} + ~Dimensions() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Dimensions* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Dimensions)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Dimensions( + ::google::protobuf::internal::ConstantInitialized); + + inline Dimensions(const Dimensions& from) : Dimensions(nullptr, from) {} + inline Dimensions(Dimensions&& from) noexcept + : Dimensions(nullptr, std::move(from)) {} + inline Dimensions& operator=(const Dimensions& from) { + CopyFrom(from); + return *this; + } + inline Dimensions& operator=(Dimensions&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Dimensions& default_instance() { + return *internal_default_instance(); + } + static inline const Dimensions* internal_default_instance() { + return reinterpret_cast( + &_Dimensions_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Dimensions& a, Dimensions& b) { a.Swap(&b); } + inline void Swap(Dimensions* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Dimensions* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Dimensions* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Dimensions& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Dimensions& from) { Dimensions::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Dimensions* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Dimensions"; } + + protected: + explicit Dimensions(::google::protobuf::Arena* arena); + Dimensions(::google::protobuf::Arena* arena, const Dimensions& from); + Dimensions(::google::protobuf::Arena* arena, Dimensions&& from) noexcept + : Dimensions(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLengthMFieldNumber = 1, + }; + // float length_m = 1 [json_name = "lengthM"]; + void clear_length_m() ; + float length_m() const; + void set_length_m(float value); + + private: + float _internal_length_m() const; + void _internal_set_length_m(float value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Dimensions) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Dimensions& from_msg); + float length_m_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Dimensions + +// float length_m = 1 [json_name = "lengthM"]; +inline void Dimensions::clear_length_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.length_m_ = 0; +} +inline float Dimensions::length_m() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Dimensions.length_m) + return _internal_length_m(); +} +inline void Dimensions::set_length_m(float value) { + _internal_set_length_m(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Dimensions.length_m) +} +inline float Dimensions::_internal_length_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.length_m_; +} +inline void Dimensions::_internal_set_length_m(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.length_m_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/entity.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/entity.pub.grpc.pb.cc new file mode 100644 index 0000000..9475ad8 --- /dev/null +++ b/src/anduril/entitymanager/v1/entity.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/entity.pub.proto + +#include "anduril/entitymanager/v1/entity.pub.pb.h" +#include "anduril/entitymanager/v1/entity.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/entity.pub.grpc.pb.h b/src/anduril/entitymanager/v1/entity.pub.grpc.pb.h new file mode 100644 index 0000000..66e40d0 --- /dev/null +++ b/src/anduril/entitymanager/v1/entity.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/entity.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/entity.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/entity.pub.pb.cc b/src/anduril/entitymanager/v1/entity.pub.pb.cc new file mode 100644 index 0000000..69d0850 --- /dev/null +++ b/src/anduril/entitymanager/v1/entity.pub.pb.cc @@ -0,0 +1,9130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/entity.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/entity.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Status::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : platform_activity_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + role_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Status::Status(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StatusDefaultTypeInternal() {} + union { + Status _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusDefaultTypeInternal _Status_default_instance_; + template +PROTOBUF_CONSTEXPR PrimaryMembership::PrimaryMembership(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct PrimaryMembershipDefaultTypeInternal { + PROTOBUF_CONSTEXPR PrimaryMembershipDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PrimaryMembershipDefaultTypeInternal() {} + union { + PrimaryMembership _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimaryMembershipDefaultTypeInternal _PrimaryMembership_default_instance_; + +inline constexpr PrimaryCorrelation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : secondary_entity_ids_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR PrimaryCorrelation::PrimaryCorrelation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PrimaryCorrelationDefaultTypeInternal { + PROTOBUF_CONSTEXPR PrimaryCorrelationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PrimaryCorrelationDefaultTypeInternal() {} + union { + PrimaryCorrelation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimaryCorrelationDefaultTypeInternal _PrimaryCorrelation_default_instance_; + template +PROTOBUF_CONSTEXPR NonPrimaryMembership::NonPrimaryMembership(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct NonPrimaryMembershipDefaultTypeInternal { + PROTOBUF_CONSTEXPR NonPrimaryMembershipDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~NonPrimaryMembershipDefaultTypeInternal() {} + union { + NonPrimaryMembership _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NonPrimaryMembershipDefaultTypeInternal _NonPrimaryMembership_default_instance_; + +inline constexpr AlternateId::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + type_{static_cast< ::anduril::entitymanager::v1::AltIdType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR AlternateId::AlternateId(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AlternateIdDefaultTypeInternal { + PROTOBUF_CONSTEXPR AlternateIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AlternateIdDefaultTypeInternal() {} + union { + AlternateId _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlternateIdDefaultTypeInternal _AlternateId_default_instance_; + +inline constexpr Provenance::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + source_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + source_description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + integration_name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + data_type_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + source_update_time_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Provenance::Provenance(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ProvenanceDefaultTypeInternal { + PROTOBUF_CONSTEXPR ProvenanceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ProvenanceDefaultTypeInternal() {} + union { + Provenance _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProvenanceDefaultTypeInternal _Provenance_default_instance_; + +inline constexpr Indicators::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + simulated_{nullptr}, + exercise_{nullptr}, + emergency_{nullptr}, + c2_{nullptr}, + egressable_{nullptr}, + starred_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Indicators::Indicators(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct IndicatorsDefaultTypeInternal { + PROTOBUF_CONSTEXPR IndicatorsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~IndicatorsDefaultTypeInternal() {} + union { + Indicators _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorsDefaultTypeInternal _Indicators_default_instance_; + +inline constexpr Aliases::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : alternate_ids_{}, + name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Aliases::Aliases(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AliasesDefaultTypeInternal { + PROTOBUF_CONSTEXPR AliasesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AliasesDefaultTypeInternal() {} + union { + Aliases _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AliasesDefaultTypeInternal _Aliases_default_instance_; + +inline constexpr RangeRings::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + min_distance_m_{nullptr}, + max_distance_m_{nullptr}, + ring_line_color_{nullptr}, + ring_count_{0u} {} + +template +PROTOBUF_CONSTEXPR RangeRings::RangeRings(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RangeRingsDefaultTypeInternal { + PROTOBUF_CONSTEXPR RangeRingsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RangeRingsDefaultTypeInternal() {} + union { + RangeRings _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RangeRingsDefaultTypeInternal _RangeRings_default_instance_; + +inline constexpr CorrelationMetadata::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + provenance_{nullptr}, + replication_mode_{static_cast< ::anduril::entitymanager::v1::CorrelationReplicationMode >(0)}, + type_{static_cast< ::anduril::entitymanager::v1::CorrelationType >(0)} {} + +template +PROTOBUF_CONSTEXPR CorrelationMetadata::CorrelationMetadata(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CorrelationMetadataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CorrelationMetadataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CorrelationMetadataDefaultTypeInternal() {} + union { + CorrelationMetadata _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CorrelationMetadataDefaultTypeInternal _CorrelationMetadata_default_instance_; + +inline constexpr VisualDetails::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + range_rings_{nullptr} {} + +template +PROTOBUF_CONSTEXPR VisualDetails::VisualDetails(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct VisualDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR VisualDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VisualDetailsDefaultTypeInternal() {} + union { + VisualDetails _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VisualDetailsDefaultTypeInternal _VisualDetails_default_instance_; + +inline constexpr SecondaryCorrelation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + primary_entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + metadata_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SecondaryCorrelation::SecondaryCorrelation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SecondaryCorrelationDefaultTypeInternal { + PROTOBUF_CONSTEXPR SecondaryCorrelationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SecondaryCorrelationDefaultTypeInternal() {} + union { + SecondaryCorrelation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondaryCorrelationDefaultTypeInternal _SecondaryCorrelation_default_instance_; + +inline constexpr DecorrelatedSingle::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + metadata_{nullptr} {} + +template +PROTOBUF_CONSTEXPR DecorrelatedSingle::DecorrelatedSingle(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct DecorrelatedSingleDefaultTypeInternal { + PROTOBUF_CONSTEXPR DecorrelatedSingleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DecorrelatedSingleDefaultTypeInternal() {} + union { + DecorrelatedSingle _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecorrelatedSingleDefaultTypeInternal _DecorrelatedSingle_default_instance_; + +inline constexpr DecorrelatedAll::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + metadata_{nullptr} {} + +template +PROTOBUF_CONSTEXPR DecorrelatedAll::DecorrelatedAll(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct DecorrelatedAllDefaultTypeInternal { + PROTOBUF_CONSTEXPR DecorrelatedAllDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DecorrelatedAllDefaultTypeInternal() {} + union { + DecorrelatedAll _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecorrelatedAllDefaultTypeInternal _DecorrelatedAll_default_instance_; + +inline constexpr CorrelationMembership::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + correlation_set_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + metadata_{nullptr}, + membership_{}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR CorrelationMembership::CorrelationMembership(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CorrelationMembershipDefaultTypeInternal { + PROTOBUF_CONSTEXPR CorrelationMembershipDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CorrelationMembershipDefaultTypeInternal() {} + union { + CorrelationMembership _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CorrelationMembershipDefaultTypeInternal _CorrelationMembership_default_instance_; + +inline constexpr Tracked::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + track_quality_wrapper_{nullptr}, + sensor_hits_{nullptr}, + number_of_objects_{nullptr}, + radar_cross_section_{nullptr}, + last_measurement_time_{nullptr}, + line_of_bearing_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Tracked::Tracked(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TrackedDefaultTypeInternal { + PROTOBUF_CONSTEXPR TrackedDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackedDefaultTypeInternal() {} + union { + Tracked _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackedDefaultTypeInternal _Tracked_default_instance_; + +inline constexpr Decorrelation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + decorrelated_entities_{}, + all_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Decorrelation::Decorrelation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct DecorrelationDefaultTypeInternal { + PROTOBUF_CONSTEXPR DecorrelationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DecorrelationDefaultTypeInternal() {} + union { + Decorrelation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecorrelationDefaultTypeInternal _Decorrelation_default_instance_; + +inline constexpr Correlation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + decorrelation_{nullptr}, + membership_{nullptr}, + correlation_{}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR Correlation::Correlation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CorrelationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CorrelationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CorrelationDefaultTypeInternal() {} + union { + Correlation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CorrelationDefaultTypeInternal _Correlation_default_instance_; + +inline constexpr Entity::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + created_time_{nullptr}, + expiry_time_{nullptr}, + location_{nullptr}, + aliases_{nullptr}, + tracked_{nullptr}, + mil_view_{nullptr}, + ontology_{nullptr}, + provenance_{nullptr}, + overrides_{nullptr}, + indicators_{nullptr}, + location_uncertainty_{nullptr}, + status_{nullptr}, + sensors_{nullptr}, + payloads_{nullptr}, + target_priority_{nullptr}, + geo_shape_{nullptr}, + geo_details_{nullptr}, + signal_{nullptr}, + transponder_codes_{nullptr}, + data_classification_{nullptr}, + power_state_{nullptr}, + task_catalog_{nullptr}, + relationships_{nullptr}, + visual_details_{nullptr}, + dimensions_{nullptr}, + route_details_{nullptr}, + schedules_{nullptr}, + health_{nullptr}, + group_details_{nullptr}, + supplies_{nullptr}, + orbit_{nullptr}, + correlation_{nullptr}, + is_live_{false} {} + +template +PROTOBUF_CONSTEXPR Entity::Entity(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct EntityDefaultTypeInternal { + PROTOBUF_CONSTEXPR EntityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~EntityDefaultTypeInternal() {} + union { + Entity _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityDefaultTypeInternal _Entity_default_instance_; + +inline constexpr Override::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + request_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + field_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + masked_field_value_{nullptr}, + provenance_{nullptr}, + request_timestamp_{nullptr}, + status_{static_cast< ::anduril::entitymanager::v1::OverrideStatus >(0)}, + type_{static_cast< ::anduril::entitymanager::v1::OverrideType >(0)} {} + +template +PROTOBUF_CONSTEXPR Override::Override(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OverrideDefaultTypeInternal { + PROTOBUF_CONSTEXPR OverrideDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OverrideDefaultTypeInternal() {} + union { + Override _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OverrideDefaultTypeInternal _Override_default_instance_; + +inline constexpr Overrides::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : override_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Overrides::Overrides(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OverridesDefaultTypeInternal { + PROTOBUF_CONSTEXPR OverridesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OverridesDefaultTypeInternal() {} + union { + Overrides _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OverridesDefaultTypeInternal _Overrides_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.description_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.is_live_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.created_time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.expiry_time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.location_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.location_uncertainty_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.geo_shape_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.geo_details_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.aliases_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.tracked_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.correlation_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.mil_view_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.ontology_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.sensors_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.payloads_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.power_state_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.provenance_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.overrides_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.indicators_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.target_priority_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.signal_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.transponder_codes_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.data_classification_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.task_catalog_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.relationships_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.visual_details_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.dimensions_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.route_details_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.schedules_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.health_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.group_details_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.supplies_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Entity, _impl_.orbit_), + ~0u, + ~0u, + ~0u, + 0, + 1, + 11, + 2, + 10, + 15, + 16, + 3, + 4, + 31, + 5, + 6, + 12, + 13, + 20, + 7, + 8, + 9, + 14, + 17, + 18, + 19, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Status, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Status, _impl_.platform_activity_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Status, _impl_.role_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Aliases, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Aliases, _impl_.alternate_ids_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Aliases, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_.track_quality_wrapper_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_.sensor_hits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_.number_of_objects_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_.radar_cross_section_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_.last_measurement_time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Tracked, _impl_.line_of_bearing_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _impl_.integration_name_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _impl_.data_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _impl_.source_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _impl_.source_update_time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Provenance, _impl_.source_description_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_.simulated_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_.exercise_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_.emergency_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_.c2_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_.egressable_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Indicators, _impl_.starred_), + 0, + 1, + 2, + 3, + 4, + 5, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Overrides, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Overrides, _impl_.override_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.request_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.field_path_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.masked_field_value_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.provenance_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Override, _impl_.request_timestamp_), + ~0u, + ~0u, + 0, + ~0u, + 1, + ~0u, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AlternateId, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AlternateId, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AlternateId, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::VisualDetails, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::VisualDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::VisualDetails, _impl_.range_rings_), + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeRings, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeRings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeRings, _impl_.min_distance_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeRings, _impl_.max_distance_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeRings, _impl_.ring_count_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeRings, _impl_.ring_line_color_), + 0, + 1, + ~0u, + 2, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _impl_.membership_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _impl_.decorrelation_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _impl_.correlation_), + ~0u, + ~0u, + 1, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PrimaryCorrelation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PrimaryCorrelation, _impl_.secondary_entity_ids_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::SecondaryCorrelation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::SecondaryCorrelation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::SecondaryCorrelation, _impl_.primary_entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::SecondaryCorrelation, _impl_.metadata_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _impl_.correlation_set_id_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _impl_.metadata_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _impl_.membership_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PrimaryMembership, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NonPrimaryMembership, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Decorrelation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Decorrelation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Decorrelation, _impl_.all_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Decorrelation, _impl_.decorrelated_entities_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedAll, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedAll, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedAll, _impl_.metadata_), + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedSingle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedSingle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedSingle, _impl_.entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DecorrelatedSingle, _impl_.metadata_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMetadata, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMetadata, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMetadata, _impl_.provenance_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMetadata, _impl_.replication_mode_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMetadata, _impl_.type_), + 0, + ~0u, + ~0u, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 43, -1, sizeof(::anduril::entitymanager::v1::Entity)}, + {78, -1, -1, sizeof(::anduril::entitymanager::v1::Status)}, + {88, -1, -1, sizeof(::anduril::entitymanager::v1::Aliases)}, + {98, 112, -1, sizeof(::anduril::entitymanager::v1::Tracked)}, + {118, 131, -1, sizeof(::anduril::entitymanager::v1::Provenance)}, + {136, 150, -1, sizeof(::anduril::entitymanager::v1::Indicators)}, + {156, -1, -1, sizeof(::anduril::entitymanager::v1::Overrides)}, + {165, 180, -1, sizeof(::anduril::entitymanager::v1::Override)}, + {187, -1, -1, sizeof(::anduril::entitymanager::v1::AlternateId)}, + {197, 206, -1, sizeof(::anduril::entitymanager::v1::VisualDetails)}, + {207, 219, -1, sizeof(::anduril::entitymanager::v1::RangeRings)}, + {223, 236, -1, sizeof(::anduril::entitymanager::v1::Correlation)}, + {240, -1, -1, sizeof(::anduril::entitymanager::v1::PrimaryCorrelation)}, + {249, 259, -1, sizeof(::anduril::entitymanager::v1::SecondaryCorrelation)}, + {261, 274, -1, sizeof(::anduril::entitymanager::v1::CorrelationMembership)}, + {278, -1, -1, sizeof(::anduril::entitymanager::v1::PrimaryMembership)}, + {286, -1, -1, sizeof(::anduril::entitymanager::v1::NonPrimaryMembership)}, + {294, 304, -1, sizeof(::anduril::entitymanager::v1::Decorrelation)}, + {306, 315, -1, sizeof(::anduril::entitymanager::v1::DecorrelatedAll)}, + {316, 326, -1, sizeof(::anduril::entitymanager::v1::DecorrelatedSingle)}, + {328, 339, -1, sizeof(::anduril::entitymanager::v1::CorrelationMetadata)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Entity_default_instance_._instance, + &::anduril::entitymanager::v1::_Status_default_instance_._instance, + &::anduril::entitymanager::v1::_Aliases_default_instance_._instance, + &::anduril::entitymanager::v1::_Tracked_default_instance_._instance, + &::anduril::entitymanager::v1::_Provenance_default_instance_._instance, + &::anduril::entitymanager::v1::_Indicators_default_instance_._instance, + &::anduril::entitymanager::v1::_Overrides_default_instance_._instance, + &::anduril::entitymanager::v1::_Override_default_instance_._instance, + &::anduril::entitymanager::v1::_AlternateId_default_instance_._instance, + &::anduril::entitymanager::v1::_VisualDetails_default_instance_._instance, + &::anduril::entitymanager::v1::_RangeRings_default_instance_._instance, + &::anduril::entitymanager::v1::_Correlation_default_instance_._instance, + &::anduril::entitymanager::v1::_PrimaryCorrelation_default_instance_._instance, + &::anduril::entitymanager::v1::_SecondaryCorrelation_default_instance_._instance, + &::anduril::entitymanager::v1::_CorrelationMembership_default_instance_._instance, + &::anduril::entitymanager::v1::_PrimaryMembership_default_instance_._instance, + &::anduril::entitymanager::v1::_NonPrimaryMembership_default_instance_._instance, + &::anduril::entitymanager::v1::_Decorrelation_default_instance_._instance, + &::anduril::entitymanager::v1::_DecorrelatedAll_default_instance_._instance, + &::anduril::entitymanager::v1::_DecorrelatedSingle_default_instance_._instance, + &::anduril::entitymanager::v1::_CorrelationMetadata_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n)anduril/entitymanager/v1/entity.pub.pr" + "oto\022\030anduril.entitymanager.v1\0321anduril/e" + "ntitymanager/v1/classification.pub.proto" + "\032-anduril/entitymanager/v1/dimensions.pu" + "b.proto\032,anduril/entitymanager/v1/geoent" + "ity.pub.proto\032(anduril/entitymanager/v1/" + "group.pub.proto\0320anduril/entitymanager/v" + "1/health_status.pub.proto\032+anduril/entit" + "ymanager/v1/location.pub.proto\032+anduril/" + "entitymanager/v1/ontology.pub.proto\032*and" + "uril/entitymanager/v1/options.pub.proto\032" + "(anduril/entitymanager/v1/orbit.pub.prot" + "o\032+anduril/entitymanager/v1/payloads.pub" + ".proto\032(anduril/entitymanager/v1/power.p" + "ub.proto\032/anduril/entitymanager/v1/relat" + "ionship.pub.proto\0320anduril/entitymanager" + "/v1/route_details.pub.proto\032+anduril/ent" + "itymanager/v1/schedule.pub.proto\032*anduri" + "l/entitymanager/v1/sensors.pub.proto\032)an" + "duril/entitymanager/v1/signal.pub.proto\032" + "+anduril/entitymanager/v1/supplies.pub.p" + "roto\0322anduril/entitymanager/v1/target_pr" + "iority.pub.proto\0324anduril/entitymanager/" + "v1/transponder_codes.pub.proto\032(anduril/" + "entitymanager/v1/types.pub.proto\032\"anduri" + "l/tasks/v2/catalog.pub.proto\032\034anduril/ty" + "pe/color.pub.proto\032\037google/protobuf/time" + "stamp.proto\032\036google/protobuf/wrappers.pr" + "oto\"\217\023\n\006Entity\022\033\n\tentity_id\030\001 \001(\tR\010entit" + "yId\022 \n\013description\030\002 \001(\tR\013description\022\027\n" + "\007is_live\030\003 \001(\010R\006isLive\022=\n\014created_time\030\004" + " \001(\0132\032.google.protobuf.TimestampR\013create" + "dTime\022;\n\013expiry_time\030\005 \001(\0132\032.google.prot" + "obuf.TimestampR\nexpiryTime\0228\n\006status\030\023 \001" + "(\0132 .anduril.entitymanager.v1.StatusR\006st" + "atus\022>\n\010location\030\006 \001(\0132\".anduril.entitym" + "anager.v1.LocationR\010location\022`\n\024location" + "_uncertainty\030\017 \001(\0132-.anduril.entitymanag" + "er.v1.LocationUncertaintyR\023locationUncer" + "tainty\022\?\n\tgeo_shape\030\027 \001(\0132\".anduril.enti" + "tymanager.v1.GeoShapeR\010geoShape\022E\n\013geo_d" + "etails\030\030 \001(\0132$.anduril.entitymanager.v1." + "GeoDetailsR\ngeoDetails\022;\n\007aliases\030\007 \001(\0132" + "!.anduril.entitymanager.v1.AliasesR\007alia" + "ses\022;\n\007tracked\030\010 \001(\0132!.anduril.entityman" + "ager.v1.TrackedR\007tracked\022G\n\013correlation\030" + "/ \001(\0132%.anduril.entitymanager.v1.Correla" + "tionR\013correlation\022<\n\010mil_view\030\n \001(\0132!.an" + "duril.entitymanager.v1.MilViewR\007milView\022" + ">\n\010ontology\030\013 \001(\0132\".anduril.entitymanage" + "r.v1.OntologyR\010ontology\022;\n\007sensors\030\024 \001(\013" + "2!.anduril.entitymanager.v1.SensorsR\007sen" + "sors\022>\n\010payloads\030\025 \001(\0132\".anduril.entitym" + "anager.v1.PayloadsR\010payloads\022E\n\013power_st" + "ate\030\036 \001(\0132$.anduril.entitymanager.v1.Pow" + "erStateR\npowerState\022D\n\nprovenance\030\014 \001(\0132" + "$.anduril.entitymanager.v1.ProvenanceR\np" + "rovenance\022A\n\toverrides\030\r \001(\0132#.anduril.e" + "ntitymanager.v1.OverridesR\toverrides\022D\n\n" + "indicators\030\016 \001(\0132$.anduril.entitymanager" + ".v1.IndicatorsR\nindicators\022Q\n\017target_pri" + "ority\030\026 \001(\0132(.anduril.entitymanager.v1.T" + "argetPriorityR\016targetPriority\0228\n\006signal\030" + "\031 \001(\0132 .anduril.entitymanager.v1.SignalR" + "\006signal\022W\n\021transponder_codes\030\032 \001(\0132*.and" + "uril.entitymanager.v1.TransponderCodesR\020" + "transponderCodes\022Y\n\023data_classification\030" + "\035 \001(\0132(.anduril.entitymanager.v1.Classif" + "icationR\022dataClassification\022@\n\014task_cata" + "log\030\037 \001(\0132\035.anduril.tasks.v2.TaskCatalog" + "R\013taskCatalog\022M\n\rrelationships\030! \001(\0132\'.a" + "nduril.entitymanager.v1.RelationshipsR\rr" + "elationships\022N\n\016visual_details\030\" \001(\0132\'.a" + "nduril.entitymanager.v1.VisualDetailsR\rv" + "isualDetails\022D\n\ndimensions\030$ \001(\0132$.andur" + "il.entitymanager.v1.DimensionsR\ndimensio" + "ns\022K\n\rroute_details\030% \001(\0132&.anduril.enti" + "tymanager.v1.RouteDetailsR\014routeDetails\022" + "A\n\tschedules\030& \001(\0132#.anduril.entitymanag" + "er.v1.SchedulesR\tschedules\0228\n\006health\030\' \001" + "(\0132 .anduril.entitymanager.v1.HealthR\006he" + "alth\022K\n\rgroup_details\030( \001(\0132&.anduril.en" + "titymanager.v1.GroupDetailsR\014groupDetail" + "s\022>\n\010supplies\030* \001(\0132\".anduril.entitymana" + "ger.v1.SuppliesR\010supplies\0225\n\005orbit\030. \001(\013" + "2\037.anduril.entitymanager.v1.OrbitR\005orbit" + "J\004\010\t\020\nJ\004\010\020\020\021J\004\010\021\020\022J\004\010\022\020\023J\004\010\033\020\034J\004\010\034\020\035J\004\010 " + "\020!J\004\010)\020*J\004\010+\020,R\ncorrelatedR\roriginal_dat" + "aR\ngeopolygonR\005mediaR\007contactR\013team_stat" + "usR\tno_expiry\"I\n\006Status\022+\n\021platform_acti" + "vity\030\001 \001(\tR\020platformActivity\022\022\n\004role\030\002 \001" + "(\tR\004role\"s\n\007Aliases\022O\n\ralternate_ids\030\001 \003" + "(\0132%.anduril.entitymanager.v1.AlternateI" + "dB\003\310>\001R\014alternateIds\022\027\n\004name\030\002 \001(\tB\003\310>\001R" + "\004name\"\236\004\n\007Tracked\022O\n\025track_quality_wrapp" + "er\030\002 \001(\0132\033.google.protobuf.Int32ValueR\023t" + "rackQualityWrapper\022<\n\013sensor_hits\030\003 \001(\0132" + "\033.google.protobuf.Int32ValueR\nsensorHits" + "\022Q\n\021number_of_objects\030\004 \001(\0132%.anduril.en" + "titymanager.v1.UInt32RangeR\017numberOfObje" + "cts\022L\n\023radar_cross_section\030\006 \001(\0132\034.googl" + "e.protobuf.DoubleValueR\021radarCrossSectio" + "n\022N\n\025last_measurement_time\030\007 \001(\0132\032.googl" + "e.protobuf.TimestampR\023lastMeasurementTim" + "e\022O\n\017line_of_bearing\030\t \001(\0132\'.anduril.ent" + "itymanager.v1.LineOfBearingR\rlineOfBeari" + "ngJ\004\010\001\020\002J\004\010\005\020\006J\004\010\010\020\tR\rtrack_qualityR\016sen" + "sor_detailsR\021relative_position\"\360\001\n\nProve" + "nance\022)\n\020integration_name\030\005 \001(\tR\017integra" + "tionName\022\033\n\tdata_type\030\006 \001(\tR\010dataType\022\033\n" + "\tsource_id\030\003 \001(\tR\010sourceId\022H\n\022source_upd" + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta" + "mpR\020sourceUpdateTime\022-\n\022source_descripti" + "on\030\004 \001(\tR\021sourceDescriptionJ\004\010\001\020\002\"\361\002\n\nIn" + "dicators\0228\n\tsimulated\030\001 \001(\0132\032.google.pro" + "tobuf.BoolValueR\tsimulated\0226\n\010exercise\030\002" + " \001(\0132\032.google.protobuf.BoolValueR\010exerci" + "se\0228\n\temergency\030\003 \001(\0132\032.google.protobuf." + "BoolValueR\temergency\022*\n\002c2\030\004 \001(\0132\032.googl" + "e.protobuf.BoolValueR\002c2\022\?\n\negressable\030\006" + " \001(\0132\032.google.protobuf.BoolValueB\003\310>\001R\ne" + "gressable\0229\n\007starred\030\007 \001(\0132\032.google.prot" + "obuf.BoolValueB\003\310>\001R\007starredJ\004\010\005\020\006R\tdele" + "table\"]\n\tOverrides\022>\n\010override\030\002 \003(\0132\".a" + "nduril.entitymanager.v1.OverrideR\010overri" + "deJ\004\010\001\020\002R\nprovenance\"\245\003\n\010Override\022\035\n\nreq" + "uest_id\030\001 \001(\tR\trequestId\022\035\n\nfield_path\030\002" + " \001(\tR\tfieldPath\022N\n\022masked_field_value\030\003 " + "\001(\0132 .anduril.entitymanager.v1.EntityR\020m" + "askedFieldValue\022@\n\006status\030\004 \001(\0162(.anduri" + "l.entitymanager.v1.OverrideStatusR\006statu" + "s\022D\n\nprovenance\030\005 \001(\0132$.anduril.entityma" + "nager.v1.ProvenanceR\nprovenance\022:\n\004type\030" + "\006 \001(\0162&.anduril.entitymanager.v1.Overrid" + "eTypeR\004type\022G\n\021request_timestamp\030\007 \001(\0132\032" + ".google.protobuf.TimestampR\020requestTimes" + "tamp\"d\n\013AlternateId\022\016\n\002id\030\002 \001(\tR\002id\0227\n\004t" + "ype\030\003 \001(\0162#.anduril.entitymanager.v1.Alt" + "IdTypeR\004typeJ\004\010\001\020\002R\006source\"[\n\rVisualDeta" + "ils\022J\n\013range_rings\030\001 \001(\0132$.anduril.entit" + "ymanager.v1.RangeRingsB\003\310>\001R\nrangeRings\"" + "\360\001\n\nRangeRings\022B\n\016min_distance_m\030\001 \001(\0132\034" + ".google.protobuf.DoubleValueR\014minDistanc" + "eM\022B\n\016max_distance_m\030\002 \001(\0132\034.google.prot" + "obuf.DoubleValueR\014maxDistanceM\022\035\n\nring_c" + "ount\030\003 \001(\rR\tringCount\022;\n\017ring_line_color" + "\030\004 \001(\0132\023.anduril.type.ColorR\rringLineCol" + "or\"\326\002\n\013Correlation\022H\n\007primary\030\001 \001(\0132,.an" + "duril.entitymanager.v1.PrimaryCorrelatio" + "nH\000R\007primary\022N\n\tsecondary\030\002 \001(\0132..anduri" + "l.entitymanager.v1.SecondaryCorrelationH" + "\000R\tsecondary\022O\n\nmembership\030\004 \001(\0132/.andur" + "il.entitymanager.v1.CorrelationMembershi" + "pR\nmembership\022M\n\rdecorrelation\030\003 \001(\0132\'.a" + "nduril.entitymanager.v1.DecorrelationR\rd" + "ecorrelationB\r\n\013correlation\"F\n\022PrimaryCo" + "rrelation\0220\n\024secondary_entity_ids\030\001 \003(\tR" + "\022secondaryEntityIds\"\215\001\n\024SecondaryCorrela" + "tion\022*\n\021primary_entity_id\030\001 \001(\tR\017primary" + "EntityId\022I\n\010metadata\030\002 \001(\0132-.anduril.ent" + "itymanager.v1.CorrelationMetadataR\010metad" + "ata\"\272\002\n\025CorrelationMembership\022,\n\022correla" + "tion_set_id\030\001 \001(\tR\020correlationSetId\022G\n\007p" + "rimary\030\002 \001(\0132+.anduril.entitymanager.v1." + "PrimaryMembershipH\000R\007primary\022Q\n\013non_prim" + "ary\030\003 \001(\0132..anduril.entitymanager.v1.Non" + "PrimaryMembershipH\000R\nnonPrimary\022I\n\010metad" + "ata\030\004 \001(\0132-.anduril.entitymanager.v1.Cor" + "relationMetadataR\010metadataB\014\n\nmembership" + "\"\023\n\021PrimaryMembership\"\026\n\024NonPrimaryMembe" + "rship\"\257\001\n\rDecorrelation\022;\n\003all\030\001 \001(\0132).a" + "nduril.entitymanager.v1.DecorrelatedAllR" + "\003all\022a\n\025decorrelated_entities\030\002 \003(\0132,.an" + "duril.entitymanager.v1.DecorrelatedSingl" + "eR\024decorrelatedEntities\"\\\n\017DecorrelatedA" + "ll\022I\n\010metadata\030\001 \001(\0132-.anduril.entityman" + "ager.v1.CorrelationMetadataR\010metadata\"|\n" + "\022DecorrelatedSingle\022\033\n\tentity_id\030\001 \001(\tR\010" + "entityId\022I\n\010metadata\030\002 \001(\0132-.anduril.ent" + "itymanager.v1.CorrelationMetadataR\010metad" + "ata\"\373\001\n\023CorrelationMetadata\022D\n\nprovenanc" + "e\030\001 \001(\0132$.anduril.entitymanager.v1.Prove" + "nanceR\nprovenance\022_\n\020replication_mode\030\002 " + "\001(\01624.anduril.entitymanager.v1.Correlati" + "onReplicationModeR\017replicationMode\022=\n\004ty" + "pe\030\003 \001(\0162).anduril.entitymanager.v1.Corr" + "elationTypeR\004type*l\n\017CorrelationType\022\034\n\030" + "CORRELATION_TYPE_INVALID\020\000\022\033\n\027CORRELATIO" + "N_TYPE_MANUAL\020\001\022\036\n\032CORRELATION_TYPE_AUTO" + "MATED\020\002*\227\001\n\032CorrelationReplicationMode\022(" + "\n$CORRELATION_REPLICATION_MODE_INVALID\020\000" + "\022&\n\"CORRELATION_REPLICATION_MODE_LOCAL\020\001" + "\022\'\n#CORRELATION_REPLICATION_MODE_GLOBAL\020" + "\002B\377\001\n\034com.anduril.entitymanager.v1B\016Enti" + "tyPubProtoP\001ZMghe.anduril.dev/anduril/an" + "durilapis-go/anduril/entitymanager/v1;en" + "titymanager\242\002\003AEX\252\002\030Anduril.Entitymanage" + "r.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduri" + "l\\Entitymanager\\V1\\GPBMetadata\352\002\032Anduril" + "::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_deps[24] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fdimensions_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + &::descriptor_table_anduril_2ftasks_2fv2_2fcatalog_2epub_2eproto, + &::descriptor_table_anduril_2ftype_2fcolor_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, + &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto = { + false, + false, + 7987, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + "anduril/entitymanager/v1/entity.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_deps, + 24, + 21, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* CorrelationType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t CorrelationType_internal_data_[] = { + 196608u, 0u, }; +bool CorrelationType_IsValid(int value) { + return 0 <= value && value <= 2; +} +const ::google::protobuf::EnumDescriptor* CorrelationReplicationMode_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t CorrelationReplicationMode_internal_data_[] = { + 196608u, 0u, }; +bool CorrelationReplicationMode_IsValid(int value) { + return 0 <= value && value <= 2; +} +// =================================================================== + +class Entity::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Entity, _impl_._has_bits_); +}; + +void Entity::clear_created_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.created_time_ != nullptr) _impl_.created_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Entity::clear_expiry_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.expiry_time_ != nullptr) _impl_.expiry_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void Entity::clear_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.location_ != nullptr) _impl_.location_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void Entity::clear_location_uncertainty() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.location_uncertainty_ != nullptr) _impl_.location_uncertainty_->Clear(); + _impl_._has_bits_[0] &= ~0x00000400u; +} +void Entity::clear_geo_shape() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.geo_shape_ != nullptr) _impl_.geo_shape_->Clear(); + _impl_._has_bits_[0] &= ~0x00008000u; +} +void Entity::clear_geo_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.geo_details_ != nullptr) _impl_.geo_details_->Clear(); + _impl_._has_bits_[0] &= ~0x00010000u; +} +void Entity::clear_mil_view() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.mil_view_ != nullptr) _impl_.mil_view_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +void Entity::clear_ontology() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ontology_ != nullptr) _impl_.ontology_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +void Entity::clear_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sensors_ != nullptr) _impl_.sensors_->Clear(); + _impl_._has_bits_[0] &= ~0x00001000u; +} +void Entity::clear_payloads() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.payloads_ != nullptr) _impl_.payloads_->Clear(); + _impl_._has_bits_[0] &= ~0x00002000u; +} +void Entity::clear_power_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.power_state_ != nullptr) _impl_.power_state_->Clear(); + _impl_._has_bits_[0] &= ~0x00100000u; +} +void Entity::clear_target_priority() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.target_priority_ != nullptr) _impl_.target_priority_->Clear(); + _impl_._has_bits_[0] &= ~0x00004000u; +} +void Entity::clear_signal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.signal_ != nullptr) _impl_.signal_->Clear(); + _impl_._has_bits_[0] &= ~0x00020000u; +} +void Entity::clear_transponder_codes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.transponder_codes_ != nullptr) _impl_.transponder_codes_->Clear(); + _impl_._has_bits_[0] &= ~0x00040000u; +} +void Entity::clear_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_classification_ != nullptr) _impl_.data_classification_->Clear(); + _impl_._has_bits_[0] &= ~0x00080000u; +} +void Entity::clear_task_catalog() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.task_catalog_ != nullptr) _impl_.task_catalog_->Clear(); + _impl_._has_bits_[0] &= ~0x00200000u; +} +void Entity::clear_relationships() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.relationships_ != nullptr) _impl_.relationships_->Clear(); + _impl_._has_bits_[0] &= ~0x00400000u; +} +void Entity::clear_dimensions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.dimensions_ != nullptr) _impl_.dimensions_->Clear(); + _impl_._has_bits_[0] &= ~0x01000000u; +} +void Entity::clear_route_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.route_details_ != nullptr) _impl_.route_details_->Clear(); + _impl_._has_bits_[0] &= ~0x02000000u; +} +void Entity::clear_schedules() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.schedules_ != nullptr) _impl_.schedules_->Clear(); + _impl_._has_bits_[0] &= ~0x04000000u; +} +void Entity::clear_health() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.health_ != nullptr) _impl_.health_->Clear(); + _impl_._has_bits_[0] &= ~0x08000000u; +} +void Entity::clear_group_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.group_details_ != nullptr) _impl_.group_details_->Clear(); + _impl_._has_bits_[0] &= ~0x10000000u; +} +void Entity::clear_supplies() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.supplies_ != nullptr) _impl_.supplies_->Clear(); + _impl_._has_bits_[0] &= ~0x20000000u; +} +void Entity::clear_orbit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orbit_ != nullptr) _impl_.orbit_->Clear(); + _impl_._has_bits_[0] &= ~0x40000000u; +} +Entity::Entity(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Entity) +} +inline PROTOBUF_NDEBUG_INLINE Entity::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Entity& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + entity_id_(arena, from.entity_id_), + description_(arena, from.description_) {} + +Entity::Entity( + ::google::protobuf::Arena* arena, + const Entity& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Entity* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.created_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.created_time_) + : nullptr; + _impl_.expiry_time_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.expiry_time_) + : nullptr; + _impl_.location_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Location>( + arena, *from._impl_.location_) + : nullptr; + _impl_.aliases_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Aliases>( + arena, *from._impl_.aliases_) + : nullptr; + _impl_.tracked_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Tracked>( + arena, *from._impl_.tracked_) + : nullptr; + _impl_.mil_view_ = (cached_has_bits & 0x00000020u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::MilView>( + arena, *from._impl_.mil_view_) + : nullptr; + _impl_.ontology_ = (cached_has_bits & 0x00000040u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Ontology>( + arena, *from._impl_.ontology_) + : nullptr; + _impl_.provenance_ = (cached_has_bits & 0x00000080u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>( + arena, *from._impl_.provenance_) + : nullptr; + _impl_.overrides_ = (cached_has_bits & 0x00000100u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Overrides>( + arena, *from._impl_.overrides_) + : nullptr; + _impl_.indicators_ = (cached_has_bits & 0x00000200u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Indicators>( + arena, *from._impl_.indicators_) + : nullptr; + _impl_.location_uncertainty_ = (cached_has_bits & 0x00000400u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::LocationUncertainty>( + arena, *from._impl_.location_uncertainty_) + : nullptr; + _impl_.status_ = (cached_has_bits & 0x00000800u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Status>( + arena, *from._impl_.status_) + : nullptr; + _impl_.sensors_ = (cached_has_bits & 0x00001000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Sensors>( + arena, *from._impl_.sensors_) + : nullptr; + _impl_.payloads_ = (cached_has_bits & 0x00002000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Payloads>( + arena, *from._impl_.payloads_) + : nullptr; + _impl_.target_priority_ = (cached_has_bits & 0x00004000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TargetPriority>( + arena, *from._impl_.target_priority_) + : nullptr; + _impl_.geo_shape_ = (cached_has_bits & 0x00008000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoShape>( + arena, *from._impl_.geo_shape_) + : nullptr; + _impl_.geo_details_ = (cached_has_bits & 0x00010000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoDetails>( + arena, *from._impl_.geo_details_) + : nullptr; + _impl_.signal_ = (cached_has_bits & 0x00020000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Signal>( + arena, *from._impl_.signal_) + : nullptr; + _impl_.transponder_codes_ = (cached_has_bits & 0x00040000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TransponderCodes>( + arena, *from._impl_.transponder_codes_) + : nullptr; + _impl_.data_classification_ = (cached_has_bits & 0x00080000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Classification>( + arena, *from._impl_.data_classification_) + : nullptr; + _impl_.power_state_ = (cached_has_bits & 0x00100000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PowerState>( + arena, *from._impl_.power_state_) + : nullptr; + _impl_.task_catalog_ = (cached_has_bits & 0x00200000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::tasks::v2::TaskCatalog>( + arena, *from._impl_.task_catalog_) + : nullptr; + _impl_.relationships_ = (cached_has_bits & 0x00400000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Relationships>( + arena, *from._impl_.relationships_) + : nullptr; + _impl_.visual_details_ = (cached_has_bits & 0x00800000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::VisualDetails>( + arena, *from._impl_.visual_details_) + : nullptr; + _impl_.dimensions_ = (cached_has_bits & 0x01000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Dimensions>( + arena, *from._impl_.dimensions_) + : nullptr; + _impl_.route_details_ = (cached_has_bits & 0x02000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RouteDetails>( + arena, *from._impl_.route_details_) + : nullptr; + _impl_.schedules_ = (cached_has_bits & 0x04000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Schedules>( + arena, *from._impl_.schedules_) + : nullptr; + _impl_.health_ = (cached_has_bits & 0x08000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Health>( + arena, *from._impl_.health_) + : nullptr; + _impl_.group_details_ = (cached_has_bits & 0x10000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GroupDetails>( + arena, *from._impl_.group_details_) + : nullptr; + _impl_.supplies_ = (cached_has_bits & 0x20000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Supplies>( + arena, *from._impl_.supplies_) + : nullptr; + _impl_.orbit_ = (cached_has_bits & 0x40000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Orbit>( + arena, *from._impl_.orbit_) + : nullptr; + _impl_.correlation_ = (cached_has_bits & 0x80000000u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Correlation>( + arena, *from._impl_.correlation_) + : nullptr; + _impl_.is_live_ = from._impl_.is_live_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Entity) +} +inline PROTOBUF_NDEBUG_INLINE Entity::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + entity_id_(arena), + description_(arena) {} + +inline void Entity::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, created_time_), + 0, + offsetof(Impl_, is_live_) - + offsetof(Impl_, created_time_) + + sizeof(Impl_::is_live_)); +} +Entity::~Entity() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Entity) + SharedDtor(*this); +} +inline void Entity::SharedDtor(MessageLite& self) { + Entity& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.entity_id_.Destroy(); + this_._impl_.description_.Destroy(); + delete this_._impl_.created_time_; + delete this_._impl_.expiry_time_; + delete this_._impl_.location_; + delete this_._impl_.aliases_; + delete this_._impl_.tracked_; + delete this_._impl_.mil_view_; + delete this_._impl_.ontology_; + delete this_._impl_.provenance_; + delete this_._impl_.overrides_; + delete this_._impl_.indicators_; + delete this_._impl_.location_uncertainty_; + delete this_._impl_.status_; + delete this_._impl_.sensors_; + delete this_._impl_.payloads_; + delete this_._impl_.target_priority_; + delete this_._impl_.geo_shape_; + delete this_._impl_.geo_details_; + delete this_._impl_.signal_; + delete this_._impl_.transponder_codes_; + delete this_._impl_.data_classification_; + delete this_._impl_.power_state_; + delete this_._impl_.task_catalog_; + delete this_._impl_.relationships_; + delete this_._impl_.visual_details_; + delete this_._impl_.dimensions_; + delete this_._impl_.route_details_; + delete this_._impl_.schedules_; + delete this_._impl_.health_; + delete this_._impl_.group_details_; + delete this_._impl_.supplies_; + delete this_._impl_.orbit_; + delete this_._impl_.correlation_; + this_._impl_.~Impl_(); +} + +inline void* Entity::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Entity(arena); +} +constexpr auto Entity::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Entity), + alignof(Entity)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Entity::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Entity_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Entity::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Entity::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Entity::ByteSizeLong, + &Entity::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Entity, _impl_._cached_size_), + false, + }, + &Entity::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Entity::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<5, 35, 32, 92, 7> Entity::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Entity, _impl_._has_bits_), + 0, // no _extensions_ + 47, 248, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 2349039872, // skipmap + offsetof(decltype(_table_), field_entries), + 35, // num_field_entries + 32, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string entity_id = 1 [json_name = "entityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Entity, _impl_.entity_id_)}}, + // string description = 2 [json_name = "description"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Entity, _impl_.description_)}}, + // bool is_live = 3 [json_name = "isLive"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(Entity, _impl_.is_live_)}}, + // .google.protobuf.Timestamp created_time = 4 [json_name = "createdTime"]; + {::_pbi::TcParser::FastMtS1, + {34, 0, 0, PROTOBUF_FIELD_OFFSET(Entity, _impl_.created_time_)}}, + // .google.protobuf.Timestamp expiry_time = 5 [json_name = "expiryTime"]; + {::_pbi::TcParser::FastMtS1, + {42, 1, 1, PROTOBUF_FIELD_OFFSET(Entity, _impl_.expiry_time_)}}, + // .anduril.entitymanager.v1.Location location = 6 [json_name = "location"]; + {::_pbi::TcParser::FastMtS1, + {50, 2, 2, PROTOBUF_FIELD_OFFSET(Entity, _impl_.location_)}}, + // .anduril.entitymanager.v1.Aliases aliases = 7 [json_name = "aliases"]; + {::_pbi::TcParser::FastMtS1, + {58, 3, 3, PROTOBUF_FIELD_OFFSET(Entity, _impl_.aliases_)}}, + // .anduril.entitymanager.v1.Tracked tracked = 8 [json_name = "tracked"]; + {::_pbi::TcParser::FastMtS1, + {66, 4, 4, PROTOBUF_FIELD_OFFSET(Entity, _impl_.tracked_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.MilView mil_view = 10 [json_name = "milView"]; + {::_pbi::TcParser::FastMtS1, + {82, 5, 5, PROTOBUF_FIELD_OFFSET(Entity, _impl_.mil_view_)}}, + // .anduril.entitymanager.v1.Ontology ontology = 11 [json_name = "ontology"]; + {::_pbi::TcParser::FastMtS1, + {90, 6, 6, PROTOBUF_FIELD_OFFSET(Entity, _impl_.ontology_)}}, + // .anduril.entitymanager.v1.Provenance provenance = 12 [json_name = "provenance"]; + {::_pbi::TcParser::FastMtS1, + {98, 7, 7, PROTOBUF_FIELD_OFFSET(Entity, _impl_.provenance_)}}, + // .anduril.entitymanager.v1.Overrides overrides = 13 [json_name = "overrides"]; + {::_pbi::TcParser::FastMtS1, + {106, 8, 8, PROTOBUF_FIELD_OFFSET(Entity, _impl_.overrides_)}}, + // .anduril.entitymanager.v1.Indicators indicators = 14 [json_name = "indicators"]; + {::_pbi::TcParser::FastMtS1, + {114, 9, 9, PROTOBUF_FIELD_OFFSET(Entity, _impl_.indicators_)}}, + // .anduril.entitymanager.v1.LocationUncertainty location_uncertainty = 15 [json_name = "locationUncertainty"]; + {::_pbi::TcParser::FastMtS1, + {122, 10, 10, PROTOBUF_FIELD_OFFSET(Entity, _impl_.location_uncertainty_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Relationships relationships = 33 [json_name = "relationships"]; + {::_pbi::TcParser::FastMtS2, + {650, 22, 22, PROTOBUF_FIELD_OFFSET(Entity, _impl_.relationships_)}}, + // .anduril.entitymanager.v1.VisualDetails visual_details = 34 [json_name = "visualDetails"]; + {::_pbi::TcParser::FastMtS2, + {658, 23, 23, PROTOBUF_FIELD_OFFSET(Entity, _impl_.visual_details_)}}, + // .anduril.entitymanager.v1.Status status = 19 [json_name = "status"]; + {::_pbi::TcParser::FastMtS2, + {410, 11, 11, PROTOBUF_FIELD_OFFSET(Entity, _impl_.status_)}}, + // .anduril.entitymanager.v1.Sensors sensors = 20 [json_name = "sensors"]; + {::_pbi::TcParser::FastMtS2, + {418, 12, 12, PROTOBUF_FIELD_OFFSET(Entity, _impl_.sensors_)}}, + // .anduril.entitymanager.v1.Payloads payloads = 21 [json_name = "payloads"]; + {::_pbi::TcParser::FastMtS2, + {426, 13, 13, PROTOBUF_FIELD_OFFSET(Entity, _impl_.payloads_)}}, + // .anduril.entitymanager.v1.TargetPriority target_priority = 22 [json_name = "targetPriority"]; + {::_pbi::TcParser::FastMtS2, + {434, 14, 14, PROTOBUF_FIELD_OFFSET(Entity, _impl_.target_priority_)}}, + // .anduril.entitymanager.v1.GeoShape geo_shape = 23 [json_name = "geoShape"]; + {::_pbi::TcParser::FastMtS2, + {442, 15, 15, PROTOBUF_FIELD_OFFSET(Entity, _impl_.geo_shape_)}}, + // .anduril.entitymanager.v1.GeoDetails geo_details = 24 [json_name = "geoDetails"]; + {::_pbi::TcParser::FastMtS2, + {450, 16, 16, PROTOBUF_FIELD_OFFSET(Entity, _impl_.geo_details_)}}, + // .anduril.entitymanager.v1.Signal signal = 25 [json_name = "signal"]; + {::_pbi::TcParser::FastMtS2, + {458, 17, 17, PROTOBUF_FIELD_OFFSET(Entity, _impl_.signal_)}}, + // .anduril.entitymanager.v1.TransponderCodes transponder_codes = 26 [json_name = "transponderCodes"]; + {::_pbi::TcParser::FastMtS2, + {466, 18, 18, PROTOBUF_FIELD_OFFSET(Entity, _impl_.transponder_codes_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Classification data_classification = 29 [json_name = "dataClassification"]; + {::_pbi::TcParser::FastMtS2, + {490, 19, 19, PROTOBUF_FIELD_OFFSET(Entity, _impl_.data_classification_)}}, + // .anduril.entitymanager.v1.PowerState power_state = 30 [json_name = "powerState"]; + {::_pbi::TcParser::FastMtS2, + {498, 20, 20, PROTOBUF_FIELD_OFFSET(Entity, _impl_.power_state_)}}, + // .anduril.tasks.v2.TaskCatalog task_catalog = 31 [json_name = "taskCatalog"]; + {::_pbi::TcParser::FastMtS2, + {506, 21, 21, PROTOBUF_FIELD_OFFSET(Entity, _impl_.task_catalog_)}}, + }}, {{ + 33, 0, 1, + 40196, 25, + 65535, 65535 + }}, {{ + // string entity_id = 1 [json_name = "entityId"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.entity_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string description = 2 [json_name = "description"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.description_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool is_live = 3 [json_name = "isLive"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.is_live_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // .google.protobuf.Timestamp created_time = 4 [json_name = "createdTime"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.created_time_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp expiry_time = 5 [json_name = "expiryTime"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.expiry_time_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Location location = 6 [json_name = "location"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.location_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Aliases aliases = 7 [json_name = "aliases"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.aliases_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Tracked tracked = 8 [json_name = "tracked"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.tracked_), _Internal::kHasBitsOffset + 4, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.MilView mil_view = 10 [json_name = "milView"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.mil_view_), _Internal::kHasBitsOffset + 5, 5, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Ontology ontology = 11 [json_name = "ontology"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.ontology_), _Internal::kHasBitsOffset + 6, 6, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Provenance provenance = 12 [json_name = "provenance"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.provenance_), _Internal::kHasBitsOffset + 7, 7, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Overrides overrides = 13 [json_name = "overrides"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.overrides_), _Internal::kHasBitsOffset + 8, 8, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Indicators indicators = 14 [json_name = "indicators"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.indicators_), _Internal::kHasBitsOffset + 9, 9, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.LocationUncertainty location_uncertainty = 15 [json_name = "locationUncertainty"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.location_uncertainty_), _Internal::kHasBitsOffset + 10, 10, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Status status = 19 [json_name = "status"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.status_), _Internal::kHasBitsOffset + 11, 11, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Sensors sensors = 20 [json_name = "sensors"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.sensors_), _Internal::kHasBitsOffset + 12, 12, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Payloads payloads = 21 [json_name = "payloads"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.payloads_), _Internal::kHasBitsOffset + 13, 13, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.TargetPriority target_priority = 22 [json_name = "targetPriority"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.target_priority_), _Internal::kHasBitsOffset + 14, 14, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GeoShape geo_shape = 23 [json_name = "geoShape"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.geo_shape_), _Internal::kHasBitsOffset + 15, 15, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GeoDetails geo_details = 24 [json_name = "geoDetails"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.geo_details_), _Internal::kHasBitsOffset + 16, 16, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Signal signal = 25 [json_name = "signal"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.signal_), _Internal::kHasBitsOffset + 17, 17, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.TransponderCodes transponder_codes = 26 [json_name = "transponderCodes"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.transponder_codes_), _Internal::kHasBitsOffset + 18, 18, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Classification data_classification = 29 [json_name = "dataClassification"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.data_classification_), _Internal::kHasBitsOffset + 19, 19, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.PowerState power_state = 30 [json_name = "powerState"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.power_state_), _Internal::kHasBitsOffset + 20, 20, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.tasks.v2.TaskCatalog task_catalog = 31 [json_name = "taskCatalog"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.task_catalog_), _Internal::kHasBitsOffset + 21, 21, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Relationships relationships = 33 [json_name = "relationships"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.relationships_), _Internal::kHasBitsOffset + 22, 22, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.VisualDetails visual_details = 34 [json_name = "visualDetails"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.visual_details_), _Internal::kHasBitsOffset + 23, 23, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Dimensions dimensions = 36 [json_name = "dimensions"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.dimensions_), _Internal::kHasBitsOffset + 24, 24, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.RouteDetails route_details = 37 [json_name = "routeDetails"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.route_details_), _Internal::kHasBitsOffset + 25, 25, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Schedules schedules = 38 [json_name = "schedules"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.schedules_), _Internal::kHasBitsOffset + 26, 26, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Health health = 39 [json_name = "health"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.health_), _Internal::kHasBitsOffset + 27, 27, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GroupDetails group_details = 40 [json_name = "groupDetails"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.group_details_), _Internal::kHasBitsOffset + 28, 28, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Supplies supplies = 42 [json_name = "supplies"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.supplies_), _Internal::kHasBitsOffset + 29, 29, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Orbit orbit = 46 [json_name = "orbit"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.orbit_), _Internal::kHasBitsOffset + 30, 30, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Correlation correlation = 47 [json_name = "correlation"]; + {PROTOBUF_FIELD_OFFSET(Entity, _impl_.correlation_), _Internal::kHasBitsOffset + 31, 31, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Location>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Aliases>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Tracked>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::MilView>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Ontology>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Provenance>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Overrides>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Indicators>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LocationUncertainty>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Status>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Sensors>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Payloads>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TargetPriority>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoShape>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoDetails>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Signal>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TransponderCodes>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Classification>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerState>()}, + {::_pbi::TcParser::GetTable<::anduril::tasks::v2::TaskCatalog>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Relationships>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::VisualDetails>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Dimensions>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RouteDetails>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Schedules>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Health>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GroupDetails>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Supplies>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Orbit>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Correlation>()}, + }}, {{ + "\37\11\13\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "anduril.entitymanager.v1.Entity" + "entity_id" + "description" + }}, +}; + +PROTOBUF_NOINLINE void Entity::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Entity) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entity_id_.ClearToEmpty(); + _impl_.description_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.created_time_ != nullptr); + _impl_.created_time_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.expiry_time_ != nullptr); + _impl_.expiry_time_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.location_ != nullptr); + _impl_.location_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.aliases_ != nullptr); + _impl_.aliases_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(_impl_.tracked_ != nullptr); + _impl_.tracked_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + ABSL_DCHECK(_impl_.mil_view_ != nullptr); + _impl_.mil_view_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + ABSL_DCHECK(_impl_.ontology_ != nullptr); + _impl_.ontology_->Clear(); + } + if (cached_has_bits & 0x00000080u) { + ABSL_DCHECK(_impl_.provenance_ != nullptr); + _impl_.provenance_->Clear(); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + ABSL_DCHECK(_impl_.overrides_ != nullptr); + _impl_.overrides_->Clear(); + } + if (cached_has_bits & 0x00000200u) { + ABSL_DCHECK(_impl_.indicators_ != nullptr); + _impl_.indicators_->Clear(); + } + if (cached_has_bits & 0x00000400u) { + ABSL_DCHECK(_impl_.location_uncertainty_ != nullptr); + _impl_.location_uncertainty_->Clear(); + } + if (cached_has_bits & 0x00000800u) { + ABSL_DCHECK(_impl_.status_ != nullptr); + _impl_.status_->Clear(); + } + if (cached_has_bits & 0x00001000u) { + ABSL_DCHECK(_impl_.sensors_ != nullptr); + _impl_.sensors_->Clear(); + } + if (cached_has_bits & 0x00002000u) { + ABSL_DCHECK(_impl_.payloads_ != nullptr); + _impl_.payloads_->Clear(); + } + if (cached_has_bits & 0x00004000u) { + ABSL_DCHECK(_impl_.target_priority_ != nullptr); + _impl_.target_priority_->Clear(); + } + if (cached_has_bits & 0x00008000u) { + ABSL_DCHECK(_impl_.geo_shape_ != nullptr); + _impl_.geo_shape_->Clear(); + } + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + ABSL_DCHECK(_impl_.geo_details_ != nullptr); + _impl_.geo_details_->Clear(); + } + if (cached_has_bits & 0x00020000u) { + ABSL_DCHECK(_impl_.signal_ != nullptr); + _impl_.signal_->Clear(); + } + if (cached_has_bits & 0x00040000u) { + ABSL_DCHECK(_impl_.transponder_codes_ != nullptr); + _impl_.transponder_codes_->Clear(); + } + if (cached_has_bits & 0x00080000u) { + ABSL_DCHECK(_impl_.data_classification_ != nullptr); + _impl_.data_classification_->Clear(); + } + if (cached_has_bits & 0x00100000u) { + ABSL_DCHECK(_impl_.power_state_ != nullptr); + _impl_.power_state_->Clear(); + } + if (cached_has_bits & 0x00200000u) { + ABSL_DCHECK(_impl_.task_catalog_ != nullptr); + _impl_.task_catalog_->Clear(); + } + if (cached_has_bits & 0x00400000u) { + ABSL_DCHECK(_impl_.relationships_ != nullptr); + _impl_.relationships_->Clear(); + } + if (cached_has_bits & 0x00800000u) { + ABSL_DCHECK(_impl_.visual_details_ != nullptr); + _impl_.visual_details_->Clear(); + } + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + ABSL_DCHECK(_impl_.dimensions_ != nullptr); + _impl_.dimensions_->Clear(); + } + if (cached_has_bits & 0x02000000u) { + ABSL_DCHECK(_impl_.route_details_ != nullptr); + _impl_.route_details_->Clear(); + } + if (cached_has_bits & 0x04000000u) { + ABSL_DCHECK(_impl_.schedules_ != nullptr); + _impl_.schedules_->Clear(); + } + if (cached_has_bits & 0x08000000u) { + ABSL_DCHECK(_impl_.health_ != nullptr); + _impl_.health_->Clear(); + } + if (cached_has_bits & 0x10000000u) { + ABSL_DCHECK(_impl_.group_details_ != nullptr); + _impl_.group_details_->Clear(); + } + if (cached_has_bits & 0x20000000u) { + ABSL_DCHECK(_impl_.supplies_ != nullptr); + _impl_.supplies_->Clear(); + } + if (cached_has_bits & 0x40000000u) { + ABSL_DCHECK(_impl_.orbit_ != nullptr); + _impl_.orbit_->Clear(); + } + if (cached_has_bits & 0x80000000u) { + ABSL_DCHECK(_impl_.correlation_ != nullptr); + _impl_.correlation_->Clear(); + } + } + _impl_.is_live_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Entity::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Entity& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Entity::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Entity& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Entity) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + const std::string& _s = this_._internal_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Entity.entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string description = 2 [json_name = "description"]; + if (!this_._internal_description().empty()) { + const std::string& _s = this_._internal_description(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Entity.description"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // bool is_live = 3 [json_name = "isLive"]; + if (this_._internal_is_live() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_is_live(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp created_time = 4 [json_name = "createdTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.created_time_, this_._impl_.created_time_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.Timestamp expiry_time = 5 [json_name = "expiryTime"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.expiry_time_, this_._impl_.expiry_time_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Location location = 6 [json_name = "location"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.location_, this_._impl_.location_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Aliases aliases = 7 [json_name = "aliases"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.aliases_, this_._impl_.aliases_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Tracked tracked = 8 [json_name = "tracked"]; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.tracked_, this_._impl_.tracked_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.MilView mil_view = 10 [json_name = "milView"]; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 10, *this_._impl_.mil_view_, this_._impl_.mil_view_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Ontology ontology = 11 [json_name = "ontology"]; + if (cached_has_bits & 0x00000040u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 11, *this_._impl_.ontology_, this_._impl_.ontology_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Provenance provenance = 12 [json_name = "provenance"]; + if (cached_has_bits & 0x00000080u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 12, *this_._impl_.provenance_, this_._impl_.provenance_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Overrides overrides = 13 [json_name = "overrides"]; + if (cached_has_bits & 0x00000100u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 13, *this_._impl_.overrides_, this_._impl_.overrides_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Indicators indicators = 14 [json_name = "indicators"]; + if (cached_has_bits & 0x00000200u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 14, *this_._impl_.indicators_, this_._impl_.indicators_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.LocationUncertainty location_uncertainty = 15 [json_name = "locationUncertainty"]; + if (cached_has_bits & 0x00000400u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 15, *this_._impl_.location_uncertainty_, this_._impl_.location_uncertainty_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Status status = 19 [json_name = "status"]; + if (cached_has_bits & 0x00000800u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 19, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Sensors sensors = 20 [json_name = "sensors"]; + if (cached_has_bits & 0x00001000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 20, *this_._impl_.sensors_, this_._impl_.sensors_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Payloads payloads = 21 [json_name = "payloads"]; + if (cached_has_bits & 0x00002000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 21, *this_._impl_.payloads_, this_._impl_.payloads_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.TargetPriority target_priority = 22 [json_name = "targetPriority"]; + if (cached_has_bits & 0x00004000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 22, *this_._impl_.target_priority_, this_._impl_.target_priority_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.GeoShape geo_shape = 23 [json_name = "geoShape"]; + if (cached_has_bits & 0x00008000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 23, *this_._impl_.geo_shape_, this_._impl_.geo_shape_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.GeoDetails geo_details = 24 [json_name = "geoDetails"]; + if (cached_has_bits & 0x00010000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 24, *this_._impl_.geo_details_, this_._impl_.geo_details_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Signal signal = 25 [json_name = "signal"]; + if (cached_has_bits & 0x00020000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 25, *this_._impl_.signal_, this_._impl_.signal_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.TransponderCodes transponder_codes = 26 [json_name = "transponderCodes"]; + if (cached_has_bits & 0x00040000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 26, *this_._impl_.transponder_codes_, this_._impl_.transponder_codes_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Classification data_classification = 29 [json_name = "dataClassification"]; + if (cached_has_bits & 0x00080000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 29, *this_._impl_.data_classification_, this_._impl_.data_classification_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.PowerState power_state = 30 [json_name = "powerState"]; + if (cached_has_bits & 0x00100000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 30, *this_._impl_.power_state_, this_._impl_.power_state_->GetCachedSize(), target, + stream); + } + + // .anduril.tasks.v2.TaskCatalog task_catalog = 31 [json_name = "taskCatalog"]; + if (cached_has_bits & 0x00200000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 31, *this_._impl_.task_catalog_, this_._impl_.task_catalog_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Relationships relationships = 33 [json_name = "relationships"]; + if (cached_has_bits & 0x00400000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 33, *this_._impl_.relationships_, this_._impl_.relationships_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.VisualDetails visual_details = 34 [json_name = "visualDetails"]; + if (cached_has_bits & 0x00800000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 34, *this_._impl_.visual_details_, this_._impl_.visual_details_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Dimensions dimensions = 36 [json_name = "dimensions"]; + if (cached_has_bits & 0x01000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 36, *this_._impl_.dimensions_, this_._impl_.dimensions_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.RouteDetails route_details = 37 [json_name = "routeDetails"]; + if (cached_has_bits & 0x02000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 37, *this_._impl_.route_details_, this_._impl_.route_details_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Schedules schedules = 38 [json_name = "schedules"]; + if (cached_has_bits & 0x04000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 38, *this_._impl_.schedules_, this_._impl_.schedules_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Health health = 39 [json_name = "health"]; + if (cached_has_bits & 0x08000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 39, *this_._impl_.health_, this_._impl_.health_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.GroupDetails group_details = 40 [json_name = "groupDetails"]; + if (cached_has_bits & 0x10000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 40, *this_._impl_.group_details_, this_._impl_.group_details_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Supplies supplies = 42 [json_name = "supplies"]; + if (cached_has_bits & 0x20000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 42, *this_._impl_.supplies_, this_._impl_.supplies_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Orbit orbit = 46 [json_name = "orbit"]; + if (cached_has_bits & 0x40000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 46, *this_._impl_.orbit_, this_._impl_.orbit_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Correlation correlation = 47 [json_name = "correlation"]; + if (cached_has_bits & 0x80000000u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 47, *this_._impl_.correlation_, this_._impl_.correlation_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Entity) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Entity::ByteSizeLong(const MessageLite& base) { + const Entity& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Entity::ByteSizeLong() const { + const Entity& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Entity) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entity_id()); + } + // string description = 2 [json_name = "description"]; + if (!this_._internal_description().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_description()); + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // .google.protobuf.Timestamp created_time = 4 [json_name = "createdTime"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.created_time_); + } + // .google.protobuf.Timestamp expiry_time = 5 [json_name = "expiryTime"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.expiry_time_); + } + // .anduril.entitymanager.v1.Location location = 6 [json_name = "location"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.location_); + } + // .anduril.entitymanager.v1.Aliases aliases = 7 [json_name = "aliases"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.aliases_); + } + // .anduril.entitymanager.v1.Tracked tracked = 8 [json_name = "tracked"]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.tracked_); + } + // .anduril.entitymanager.v1.MilView mil_view = 10 [json_name = "milView"]; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mil_view_); + } + // .anduril.entitymanager.v1.Ontology ontology = 11 [json_name = "ontology"]; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ontology_); + } + // .anduril.entitymanager.v1.Provenance provenance = 12 [json_name = "provenance"]; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.provenance_); + } + } + if (cached_has_bits & 0x0000ff00u) { + // .anduril.entitymanager.v1.Overrides overrides = 13 [json_name = "overrides"]; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.overrides_); + } + // .anduril.entitymanager.v1.Indicators indicators = 14 [json_name = "indicators"]; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.indicators_); + } + // .anduril.entitymanager.v1.LocationUncertainty location_uncertainty = 15 [json_name = "locationUncertainty"]; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.location_uncertainty_); + } + // .anduril.entitymanager.v1.Status status = 19 [json_name = "status"]; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); + } + // .anduril.entitymanager.v1.Sensors sensors = 20 [json_name = "sensors"]; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sensors_); + } + // .anduril.entitymanager.v1.Payloads payloads = 21 [json_name = "payloads"]; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.payloads_); + } + // .anduril.entitymanager.v1.TargetPriority target_priority = 22 [json_name = "targetPriority"]; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_priority_); + } + // .anduril.entitymanager.v1.GeoShape geo_shape = 23 [json_name = "geoShape"]; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.geo_shape_); + } + } + if (cached_has_bits & 0x00ff0000u) { + // .anduril.entitymanager.v1.GeoDetails geo_details = 24 [json_name = "geoDetails"]; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.geo_details_); + } + // .anduril.entitymanager.v1.Signal signal = 25 [json_name = "signal"]; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.signal_); + } + // .anduril.entitymanager.v1.TransponderCodes transponder_codes = 26 [json_name = "transponderCodes"]; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.transponder_codes_); + } + // .anduril.entitymanager.v1.Classification data_classification = 29 [json_name = "dataClassification"]; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_classification_); + } + // .anduril.entitymanager.v1.PowerState power_state = 30 [json_name = "powerState"]; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.power_state_); + } + // .anduril.tasks.v2.TaskCatalog task_catalog = 31 [json_name = "taskCatalog"]; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.task_catalog_); + } + // .anduril.entitymanager.v1.Relationships relationships = 33 [json_name = "relationships"]; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.relationships_); + } + // .anduril.entitymanager.v1.VisualDetails visual_details = 34 [json_name = "visualDetails"]; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.visual_details_); + } + } + if (cached_has_bits & 0xff000000u) { + // .anduril.entitymanager.v1.Dimensions dimensions = 36 [json_name = "dimensions"]; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dimensions_); + } + // .anduril.entitymanager.v1.RouteDetails route_details = 37 [json_name = "routeDetails"]; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.route_details_); + } + // .anduril.entitymanager.v1.Schedules schedules = 38 [json_name = "schedules"]; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.schedules_); + } + // .anduril.entitymanager.v1.Health health = 39 [json_name = "health"]; + if (cached_has_bits & 0x08000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.health_); + } + // .anduril.entitymanager.v1.GroupDetails group_details = 40 [json_name = "groupDetails"]; + if (cached_has_bits & 0x10000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.group_details_); + } + // .anduril.entitymanager.v1.Supplies supplies = 42 [json_name = "supplies"]; + if (cached_has_bits & 0x20000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.supplies_); + } + // .anduril.entitymanager.v1.Orbit orbit = 46 [json_name = "orbit"]; + if (cached_has_bits & 0x40000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.orbit_); + } + // .anduril.entitymanager.v1.Correlation correlation = 47 [json_name = "correlation"]; + if (cached_has_bits & 0x80000000u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.correlation_); + } + } + { + // bool is_live = 3 [json_name = "isLive"]; + if (this_._internal_is_live() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Entity::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Entity) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_entity_id().empty()) { + _this->_internal_set_entity_id(from._internal_entity_id()); + } + if (!from._internal_description().empty()) { + _this->_internal_set_description(from._internal_description()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.created_time_ != nullptr); + if (_this->_impl_.created_time_ == nullptr) { + _this->_impl_.created_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.created_time_); + } else { + _this->_impl_.created_time_->MergeFrom(*from._impl_.created_time_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.expiry_time_ != nullptr); + if (_this->_impl_.expiry_time_ == nullptr) { + _this->_impl_.expiry_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.expiry_time_); + } else { + _this->_impl_.expiry_time_->MergeFrom(*from._impl_.expiry_time_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.location_ != nullptr); + if (_this->_impl_.location_ == nullptr) { + _this->_impl_.location_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Location>(arena, *from._impl_.location_); + } else { + _this->_impl_.location_->MergeFrom(*from._impl_.location_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.aliases_ != nullptr); + if (_this->_impl_.aliases_ == nullptr) { + _this->_impl_.aliases_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Aliases>(arena, *from._impl_.aliases_); + } else { + _this->_impl_.aliases_->MergeFrom(*from._impl_.aliases_); + } + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(from._impl_.tracked_ != nullptr); + if (_this->_impl_.tracked_ == nullptr) { + _this->_impl_.tracked_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Tracked>(arena, *from._impl_.tracked_); + } else { + _this->_impl_.tracked_->MergeFrom(*from._impl_.tracked_); + } + } + if (cached_has_bits & 0x00000020u) { + ABSL_DCHECK(from._impl_.mil_view_ != nullptr); + if (_this->_impl_.mil_view_ == nullptr) { + _this->_impl_.mil_view_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::MilView>(arena, *from._impl_.mil_view_); + } else { + _this->_impl_.mil_view_->MergeFrom(*from._impl_.mil_view_); + } + } + if (cached_has_bits & 0x00000040u) { + ABSL_DCHECK(from._impl_.ontology_ != nullptr); + if (_this->_impl_.ontology_ == nullptr) { + _this->_impl_.ontology_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Ontology>(arena, *from._impl_.ontology_); + } else { + _this->_impl_.ontology_->MergeFrom(*from._impl_.ontology_); + } + } + if (cached_has_bits & 0x00000080u) { + ABSL_DCHECK(from._impl_.provenance_ != nullptr); + if (_this->_impl_.provenance_ == nullptr) { + _this->_impl_.provenance_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>(arena, *from._impl_.provenance_); + } else { + _this->_impl_.provenance_->MergeFrom(*from._impl_.provenance_); + } + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + ABSL_DCHECK(from._impl_.overrides_ != nullptr); + if (_this->_impl_.overrides_ == nullptr) { + _this->_impl_.overrides_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Overrides>(arena, *from._impl_.overrides_); + } else { + _this->_impl_.overrides_->MergeFrom(*from._impl_.overrides_); + } + } + if (cached_has_bits & 0x00000200u) { + ABSL_DCHECK(from._impl_.indicators_ != nullptr); + if (_this->_impl_.indicators_ == nullptr) { + _this->_impl_.indicators_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Indicators>(arena, *from._impl_.indicators_); + } else { + _this->_impl_.indicators_->MergeFrom(*from._impl_.indicators_); + } + } + if (cached_has_bits & 0x00000400u) { + ABSL_DCHECK(from._impl_.location_uncertainty_ != nullptr); + if (_this->_impl_.location_uncertainty_ == nullptr) { + _this->_impl_.location_uncertainty_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::LocationUncertainty>(arena, *from._impl_.location_uncertainty_); + } else { + _this->_impl_.location_uncertainty_->MergeFrom(*from._impl_.location_uncertainty_); + } + } + if (cached_has_bits & 0x00000800u) { + ABSL_DCHECK(from._impl_.status_ != nullptr); + if (_this->_impl_.status_ == nullptr) { + _this->_impl_.status_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Status>(arena, *from._impl_.status_); + } else { + _this->_impl_.status_->MergeFrom(*from._impl_.status_); + } + } + if (cached_has_bits & 0x00001000u) { + ABSL_DCHECK(from._impl_.sensors_ != nullptr); + if (_this->_impl_.sensors_ == nullptr) { + _this->_impl_.sensors_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Sensors>(arena, *from._impl_.sensors_); + } else { + _this->_impl_.sensors_->MergeFrom(*from._impl_.sensors_); + } + } + if (cached_has_bits & 0x00002000u) { + ABSL_DCHECK(from._impl_.payloads_ != nullptr); + if (_this->_impl_.payloads_ == nullptr) { + _this->_impl_.payloads_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Payloads>(arena, *from._impl_.payloads_); + } else { + _this->_impl_.payloads_->MergeFrom(*from._impl_.payloads_); + } + } + if (cached_has_bits & 0x00004000u) { + ABSL_DCHECK(from._impl_.target_priority_ != nullptr); + if (_this->_impl_.target_priority_ == nullptr) { + _this->_impl_.target_priority_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TargetPriority>(arena, *from._impl_.target_priority_); + } else { + _this->_impl_.target_priority_->MergeFrom(*from._impl_.target_priority_); + } + } + if (cached_has_bits & 0x00008000u) { + ABSL_DCHECK(from._impl_.geo_shape_ != nullptr); + if (_this->_impl_.geo_shape_ == nullptr) { + _this->_impl_.geo_shape_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoShape>(arena, *from._impl_.geo_shape_); + } else { + _this->_impl_.geo_shape_->MergeFrom(*from._impl_.geo_shape_); + } + } + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + ABSL_DCHECK(from._impl_.geo_details_ != nullptr); + if (_this->_impl_.geo_details_ == nullptr) { + _this->_impl_.geo_details_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoDetails>(arena, *from._impl_.geo_details_); + } else { + _this->_impl_.geo_details_->MergeFrom(*from._impl_.geo_details_); + } + } + if (cached_has_bits & 0x00020000u) { + ABSL_DCHECK(from._impl_.signal_ != nullptr); + if (_this->_impl_.signal_ == nullptr) { + _this->_impl_.signal_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Signal>(arena, *from._impl_.signal_); + } else { + _this->_impl_.signal_->MergeFrom(*from._impl_.signal_); + } + } + if (cached_has_bits & 0x00040000u) { + ABSL_DCHECK(from._impl_.transponder_codes_ != nullptr); + if (_this->_impl_.transponder_codes_ == nullptr) { + _this->_impl_.transponder_codes_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TransponderCodes>(arena, *from._impl_.transponder_codes_); + } else { + _this->_impl_.transponder_codes_->MergeFrom(*from._impl_.transponder_codes_); + } + } + if (cached_has_bits & 0x00080000u) { + ABSL_DCHECK(from._impl_.data_classification_ != nullptr); + if (_this->_impl_.data_classification_ == nullptr) { + _this->_impl_.data_classification_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Classification>(arena, *from._impl_.data_classification_); + } else { + _this->_impl_.data_classification_->MergeFrom(*from._impl_.data_classification_); + } + } + if (cached_has_bits & 0x00100000u) { + ABSL_DCHECK(from._impl_.power_state_ != nullptr); + if (_this->_impl_.power_state_ == nullptr) { + _this->_impl_.power_state_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PowerState>(arena, *from._impl_.power_state_); + } else { + _this->_impl_.power_state_->MergeFrom(*from._impl_.power_state_); + } + } + if (cached_has_bits & 0x00200000u) { + ABSL_DCHECK(from._impl_.task_catalog_ != nullptr); + if (_this->_impl_.task_catalog_ == nullptr) { + _this->_impl_.task_catalog_ = + ::google::protobuf::Message::CopyConstruct<::anduril::tasks::v2::TaskCatalog>(arena, *from._impl_.task_catalog_); + } else { + _this->_impl_.task_catalog_->MergeFrom(*from._impl_.task_catalog_); + } + } + if (cached_has_bits & 0x00400000u) { + ABSL_DCHECK(from._impl_.relationships_ != nullptr); + if (_this->_impl_.relationships_ == nullptr) { + _this->_impl_.relationships_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Relationships>(arena, *from._impl_.relationships_); + } else { + _this->_impl_.relationships_->MergeFrom(*from._impl_.relationships_); + } + } + if (cached_has_bits & 0x00800000u) { + ABSL_DCHECK(from._impl_.visual_details_ != nullptr); + if (_this->_impl_.visual_details_ == nullptr) { + _this->_impl_.visual_details_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::VisualDetails>(arena, *from._impl_.visual_details_); + } else { + _this->_impl_.visual_details_->MergeFrom(*from._impl_.visual_details_); + } + } + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + ABSL_DCHECK(from._impl_.dimensions_ != nullptr); + if (_this->_impl_.dimensions_ == nullptr) { + _this->_impl_.dimensions_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Dimensions>(arena, *from._impl_.dimensions_); + } else { + _this->_impl_.dimensions_->MergeFrom(*from._impl_.dimensions_); + } + } + if (cached_has_bits & 0x02000000u) { + ABSL_DCHECK(from._impl_.route_details_ != nullptr); + if (_this->_impl_.route_details_ == nullptr) { + _this->_impl_.route_details_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RouteDetails>(arena, *from._impl_.route_details_); + } else { + _this->_impl_.route_details_->MergeFrom(*from._impl_.route_details_); + } + } + if (cached_has_bits & 0x04000000u) { + ABSL_DCHECK(from._impl_.schedules_ != nullptr); + if (_this->_impl_.schedules_ == nullptr) { + _this->_impl_.schedules_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Schedules>(arena, *from._impl_.schedules_); + } else { + _this->_impl_.schedules_->MergeFrom(*from._impl_.schedules_); + } + } + if (cached_has_bits & 0x08000000u) { + ABSL_DCHECK(from._impl_.health_ != nullptr); + if (_this->_impl_.health_ == nullptr) { + _this->_impl_.health_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Health>(arena, *from._impl_.health_); + } else { + _this->_impl_.health_->MergeFrom(*from._impl_.health_); + } + } + if (cached_has_bits & 0x10000000u) { + ABSL_DCHECK(from._impl_.group_details_ != nullptr); + if (_this->_impl_.group_details_ == nullptr) { + _this->_impl_.group_details_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GroupDetails>(arena, *from._impl_.group_details_); + } else { + _this->_impl_.group_details_->MergeFrom(*from._impl_.group_details_); + } + } + if (cached_has_bits & 0x20000000u) { + ABSL_DCHECK(from._impl_.supplies_ != nullptr); + if (_this->_impl_.supplies_ == nullptr) { + _this->_impl_.supplies_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Supplies>(arena, *from._impl_.supplies_); + } else { + _this->_impl_.supplies_->MergeFrom(*from._impl_.supplies_); + } + } + if (cached_has_bits & 0x40000000u) { + ABSL_DCHECK(from._impl_.orbit_ != nullptr); + if (_this->_impl_.orbit_ == nullptr) { + _this->_impl_.orbit_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Orbit>(arena, *from._impl_.orbit_); + } else { + _this->_impl_.orbit_->MergeFrom(*from._impl_.orbit_); + } + } + if (cached_has_bits & 0x80000000u) { + ABSL_DCHECK(from._impl_.correlation_ != nullptr); + if (_this->_impl_.correlation_ == nullptr) { + _this->_impl_.correlation_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Correlation>(arena, *from._impl_.correlation_); + } else { + _this->_impl_.correlation_->MergeFrom(*from._impl_.correlation_); + } + } + } + if (from._internal_is_live() != 0) { + _this->_impl_.is_live_ = from._impl_.is_live_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Entity::CopyFrom(const Entity& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Entity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Entity::InternalSwap(Entity* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entity_id_, &other->_impl_.entity_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Entity, _impl_.is_live_) + + sizeof(Entity::_impl_.is_live_) + - PROTOBUF_FIELD_OFFSET(Entity, _impl_.created_time_)>( + reinterpret_cast(&_impl_.created_time_), + reinterpret_cast(&other->_impl_.created_time_)); +} + +::google::protobuf::Metadata Entity::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Status::_Internal { + public: +}; + +Status::Status(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Status) +} +inline PROTOBUF_NDEBUG_INLINE Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Status& from_msg) + : platform_activity_(arena, from.platform_activity_), + role_(arena, from.role_), + _cached_size_{0} {} + +Status::Status( + ::google::protobuf::Arena* arena, + const Status& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Status* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Status) +} +inline PROTOBUF_NDEBUG_INLINE Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : platform_activity_(arena), + role_(arena), + _cached_size_{0} {} + +inline void Status::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Status::~Status() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Status) + SharedDtor(*this); +} +inline void Status::SharedDtor(MessageLite& self) { + Status& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.platform_activity_.Destroy(); + this_._impl_.role_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Status::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Status(arena); +} +constexpr auto Status::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Status), + alignof(Status)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Status::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Status_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Status::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Status::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Status::ByteSizeLong, + &Status::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Status, _impl_._cached_size_), + false, + }, + &Status::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Status::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 61, 2> Status::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Status>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string role = 2 [json_name = "role"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.role_)}}, + // string platform_activity = 1 [json_name = "platformActivity"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.platform_activity_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string platform_activity = 1 [json_name = "platformActivity"]; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.platform_activity_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string role = 2 [json_name = "role"]; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.role_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\37\21\4\0\0\0\0\0" + "anduril.entitymanager.v1.Status" + "platform_activity" + "role" + }}, +}; + +PROTOBUF_NOINLINE void Status::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Status) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.platform_activity_.ClearToEmpty(); + _impl_.role_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Status::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Status::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Status& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Status) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string platform_activity = 1 [json_name = "platformActivity"]; + if (!this_._internal_platform_activity().empty()) { + const std::string& _s = this_._internal_platform_activity(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Status.platform_activity"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string role = 2 [json_name = "role"]; + if (!this_._internal_role().empty()) { + const std::string& _s = this_._internal_role(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Status.role"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Status) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Status::ByteSizeLong(const MessageLite& base) { + const Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Status::ByteSizeLong() const { + const Status& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Status) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string platform_activity = 1 [json_name = "platformActivity"]; + if (!this_._internal_platform_activity().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_platform_activity()); + } + // string role = 2 [json_name = "role"]; + if (!this_._internal_role().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_role()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Status::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Status) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_platform_activity().empty()) { + _this->_internal_set_platform_activity(from._internal_platform_activity()); + } + if (!from._internal_role().empty()) { + _this->_internal_set_role(from._internal_role()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Status::CopyFrom(const Status& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Status) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Status::InternalSwap(Status* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.platform_activity_, &other->_impl_.platform_activity_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.role_, &other->_impl_.role_, arena); +} + +::google::protobuf::Metadata Status::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Aliases::_Internal { + public: +}; + +Aliases::Aliases(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Aliases) +} +inline PROTOBUF_NDEBUG_INLINE Aliases::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Aliases& from_msg) + : alternate_ids_{visibility, arena, from.alternate_ids_}, + name_(arena, from.name_), + _cached_size_{0} {} + +Aliases::Aliases( + ::google::protobuf::Arena* arena, + const Aliases& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Aliases* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Aliases) +} +inline PROTOBUF_NDEBUG_INLINE Aliases::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : alternate_ids_{visibility, arena}, + name_(arena), + _cached_size_{0} {} + +inline void Aliases::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Aliases::~Aliases() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Aliases) + SharedDtor(*this); +} +inline void Aliases::SharedDtor(MessageLite& self) { + Aliases& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.name_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Aliases::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Aliases(arena); +} +constexpr auto Aliases::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Aliases, _impl_.alternate_ids_) + + decltype(Aliases::_impl_.alternate_ids_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Aliases), alignof(Aliases), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Aliases::PlacementNew_, + sizeof(Aliases), + alignof(Aliases)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Aliases::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Aliases_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Aliases::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Aliases::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Aliases::ByteSizeLong, + &Aliases::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Aliases, _impl_._cached_size_), + false, + }, + &Aliases::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Aliases::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 45, 2> Aliases::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Aliases>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string name = 2 [json_name = "name", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Aliases, _impl_.name_)}}, + // repeated .anduril.entitymanager.v1.AlternateId alternate_ids = 1 [json_name = "alternateIds", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Aliases, _impl_.alternate_ids_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.AlternateId alternate_ids = 1 [json_name = "alternateIds", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Aliases, _impl_.alternate_ids_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // string name = 2 [json_name = "name", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Aliases, _impl_.name_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AlternateId>()}, + }}, {{ + "\40\0\4\0\0\0\0\0" + "anduril.entitymanager.v1.Aliases" + "name" + }}, +}; + +PROTOBUF_NOINLINE void Aliases::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Aliases) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.alternate_ids_.Clear(); + _impl_.name_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Aliases::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Aliases& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Aliases::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Aliases& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Aliases) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.AlternateId alternate_ids = 1 [json_name = "alternateIds", (.anduril.entitymanager.v1.overridable) = true]; + for (unsigned i = 0, n = static_cast( + this_._internal_alternate_ids_size()); + i < n; i++) { + const auto& repfield = this_._internal_alternate_ids().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // string name = 2 [json_name = "name", (.anduril.entitymanager.v1.overridable) = true]; + if (!this_._internal_name().empty()) { + const std::string& _s = this_._internal_name(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Aliases.name"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Aliases) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Aliases::ByteSizeLong(const MessageLite& base) { + const Aliases& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Aliases::ByteSizeLong() const { + const Aliases& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Aliases) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.AlternateId alternate_ids = 1 [json_name = "alternateIds", (.anduril.entitymanager.v1.overridable) = true]; + { + total_size += 1UL * this_._internal_alternate_ids_size(); + for (const auto& msg : this_._internal_alternate_ids()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string name = 2 [json_name = "name", (.anduril.entitymanager.v1.overridable) = true]; + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Aliases::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Aliases) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_alternate_ids()->MergeFrom( + from._internal_alternate_ids()); + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Aliases::CopyFrom(const Aliases& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Aliases) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Aliases::InternalSwap(Aliases* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.alternate_ids_.InternalSwap(&other->_impl_.alternate_ids_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); +} + +::google::protobuf::Metadata Aliases::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Tracked::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Tracked, _impl_._has_bits_); +}; + +void Tracked::clear_track_quality_wrapper() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.track_quality_wrapper_ != nullptr) _impl_.track_quality_wrapper_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Tracked::clear_sensor_hits() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sensor_hits_ != nullptr) _impl_.sensor_hits_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void Tracked::clear_number_of_objects() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.number_of_objects_ != nullptr) _impl_.number_of_objects_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void Tracked::clear_radar_cross_section() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.radar_cross_section_ != nullptr) _impl_.radar_cross_section_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void Tracked::clear_last_measurement_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.last_measurement_time_ != nullptr) _impl_.last_measurement_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +void Tracked::clear_line_of_bearing() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.line_of_bearing_ != nullptr) _impl_.line_of_bearing_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +Tracked::Tracked(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Tracked) +} +inline PROTOBUF_NDEBUG_INLINE Tracked::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Tracked& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Tracked::Tracked( + ::google::protobuf::Arena* arena, + const Tracked& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Tracked* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.track_quality_wrapper_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Int32Value>( + arena, *from._impl_.track_quality_wrapper_) + : nullptr; + _impl_.sensor_hits_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Int32Value>( + arena, *from._impl_.sensor_hits_) + : nullptr; + _impl_.number_of_objects_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::UInt32Range>( + arena, *from._impl_.number_of_objects_) + : nullptr; + _impl_.radar_cross_section_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.radar_cross_section_) + : nullptr; + _impl_.last_measurement_time_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.last_measurement_time_) + : nullptr; + _impl_.line_of_bearing_ = (cached_has_bits & 0x00000020u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::LineOfBearing>( + arena, *from._impl_.line_of_bearing_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Tracked) +} +inline PROTOBUF_NDEBUG_INLINE Tracked::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Tracked::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, track_quality_wrapper_), + 0, + offsetof(Impl_, line_of_bearing_) - + offsetof(Impl_, track_quality_wrapper_) + + sizeof(Impl_::line_of_bearing_)); +} +Tracked::~Tracked() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Tracked) + SharedDtor(*this); +} +inline void Tracked::SharedDtor(MessageLite& self) { + Tracked& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.track_quality_wrapper_; + delete this_._impl_.sensor_hits_; + delete this_._impl_.number_of_objects_; + delete this_._impl_.radar_cross_section_; + delete this_._impl_.last_measurement_time_; + delete this_._impl_.line_of_bearing_; + this_._impl_.~Impl_(); +} + +inline void* Tracked::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Tracked(arena); +} +constexpr auto Tracked::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Tracked), + alignof(Tracked)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Tracked::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Tracked_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Tracked::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Tracked::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Tracked::ByteSizeLong, + &Tracked::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Tracked, _impl_._cached_size_), + false, + }, + &Tracked::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Tracked::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 6, 0, 2> Tracked::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Tracked, _impl_._has_bits_), + 0, // no _extensions_ + 9, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294966929, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 6, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Tracked>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 9 [json_name = "lineOfBearing"]; + {::_pbi::TcParser::FastMtS1, + {74, 5, 5, PROTOBUF_FIELD_OFFSET(Tracked, _impl_.line_of_bearing_)}}, + // .google.protobuf.Int32Value track_quality_wrapper = 2 [json_name = "trackQualityWrapper"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Tracked, _impl_.track_quality_wrapper_)}}, + // .google.protobuf.Int32Value sensor_hits = 3 [json_name = "sensorHits"]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(Tracked, _impl_.sensor_hits_)}}, + // .anduril.entitymanager.v1.UInt32Range number_of_objects = 4 [json_name = "numberOfObjects"]; + {::_pbi::TcParser::FastMtS1, + {34, 2, 2, PROTOBUF_FIELD_OFFSET(Tracked, _impl_.number_of_objects_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .google.protobuf.DoubleValue radar_cross_section = 6 [json_name = "radarCrossSection"]; + {::_pbi::TcParser::FastMtS1, + {50, 3, 3, PROTOBUF_FIELD_OFFSET(Tracked, _impl_.radar_cross_section_)}}, + // .google.protobuf.Timestamp last_measurement_time = 7 [json_name = "lastMeasurementTime"]; + {::_pbi::TcParser::FastMtS1, + {58, 4, 4, PROTOBUF_FIELD_OFFSET(Tracked, _impl_.last_measurement_time_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.Int32Value track_quality_wrapper = 2 [json_name = "trackQualityWrapper"]; + {PROTOBUF_FIELD_OFFSET(Tracked, _impl_.track_quality_wrapper_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Int32Value sensor_hits = 3 [json_name = "sensorHits"]; + {PROTOBUF_FIELD_OFFSET(Tracked, _impl_.sensor_hits_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.UInt32Range number_of_objects = 4 [json_name = "numberOfObjects"]; + {PROTOBUF_FIELD_OFFSET(Tracked, _impl_.number_of_objects_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue radar_cross_section = 6 [json_name = "radarCrossSection"]; + {PROTOBUF_FIELD_OFFSET(Tracked, _impl_.radar_cross_section_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp last_measurement_time = 7 [json_name = "lastMeasurementTime"]; + {PROTOBUF_FIELD_OFFSET(Tracked, _impl_.last_measurement_time_), _Internal::kHasBitsOffset + 4, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 9 [json_name = "lineOfBearing"]; + {PROTOBUF_FIELD_OFFSET(Tracked, _impl_.line_of_bearing_), _Internal::kHasBitsOffset + 5, 5, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Int32Value>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Int32Value>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::UInt32Range>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LineOfBearing>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Tracked::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Tracked) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.track_quality_wrapper_ != nullptr); + _impl_.track_quality_wrapper_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.sensor_hits_ != nullptr); + _impl_.sensor_hits_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.number_of_objects_ != nullptr); + _impl_.number_of_objects_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.radar_cross_section_ != nullptr); + _impl_.radar_cross_section_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(_impl_.last_measurement_time_ != nullptr); + _impl_.last_measurement_time_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + ABSL_DCHECK(_impl_.line_of_bearing_ != nullptr); + _impl_.line_of_bearing_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Tracked::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Tracked& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Tracked::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Tracked& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Tracked) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Int32Value track_quality_wrapper = 2 [json_name = "trackQualityWrapper"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.track_quality_wrapper_, this_._impl_.track_quality_wrapper_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.Int32Value sensor_hits = 3 [json_name = "sensorHits"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.sensor_hits_, this_._impl_.sensor_hits_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.UInt32Range number_of_objects = 4 [json_name = "numberOfObjects"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.number_of_objects_, this_._impl_.number_of_objects_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue radar_cross_section = 6 [json_name = "radarCrossSection"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.radar_cross_section_, this_._impl_.radar_cross_section_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.Timestamp last_measurement_time = 7 [json_name = "lastMeasurementTime"]; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.last_measurement_time_, this_._impl_.last_measurement_time_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 9 [json_name = "lineOfBearing"]; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, *this_._impl_.line_of_bearing_, this_._impl_.line_of_bearing_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Tracked) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Tracked::ByteSizeLong(const MessageLite& base) { + const Tracked& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Tracked::ByteSizeLong() const { + const Tracked& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Tracked) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // .google.protobuf.Int32Value track_quality_wrapper = 2 [json_name = "trackQualityWrapper"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.track_quality_wrapper_); + } + // .google.protobuf.Int32Value sensor_hits = 3 [json_name = "sensorHits"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sensor_hits_); + } + // .anduril.entitymanager.v1.UInt32Range number_of_objects = 4 [json_name = "numberOfObjects"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.number_of_objects_); + } + // .google.protobuf.DoubleValue radar_cross_section = 6 [json_name = "radarCrossSection"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.radar_cross_section_); + } + // .google.protobuf.Timestamp last_measurement_time = 7 [json_name = "lastMeasurementTime"]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.last_measurement_time_); + } + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 9 [json_name = "lineOfBearing"]; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.line_of_bearing_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Tracked::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Tracked) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.track_quality_wrapper_ != nullptr); + if (_this->_impl_.track_quality_wrapper_ == nullptr) { + _this->_impl_.track_quality_wrapper_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Int32Value>(arena, *from._impl_.track_quality_wrapper_); + } else { + _this->_impl_.track_quality_wrapper_->MergeFrom(*from._impl_.track_quality_wrapper_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.sensor_hits_ != nullptr); + if (_this->_impl_.sensor_hits_ == nullptr) { + _this->_impl_.sensor_hits_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Int32Value>(arena, *from._impl_.sensor_hits_); + } else { + _this->_impl_.sensor_hits_->MergeFrom(*from._impl_.sensor_hits_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.number_of_objects_ != nullptr); + if (_this->_impl_.number_of_objects_ == nullptr) { + _this->_impl_.number_of_objects_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::UInt32Range>(arena, *from._impl_.number_of_objects_); + } else { + _this->_impl_.number_of_objects_->MergeFrom(*from._impl_.number_of_objects_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.radar_cross_section_ != nullptr); + if (_this->_impl_.radar_cross_section_ == nullptr) { + _this->_impl_.radar_cross_section_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.radar_cross_section_); + } else { + _this->_impl_.radar_cross_section_->MergeFrom(*from._impl_.radar_cross_section_); + } + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(from._impl_.last_measurement_time_ != nullptr); + if (_this->_impl_.last_measurement_time_ == nullptr) { + _this->_impl_.last_measurement_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.last_measurement_time_); + } else { + _this->_impl_.last_measurement_time_->MergeFrom(*from._impl_.last_measurement_time_); + } + } + if (cached_has_bits & 0x00000020u) { + ABSL_DCHECK(from._impl_.line_of_bearing_ != nullptr); + if (_this->_impl_.line_of_bearing_ == nullptr) { + _this->_impl_.line_of_bearing_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::LineOfBearing>(arena, *from._impl_.line_of_bearing_); + } else { + _this->_impl_.line_of_bearing_->MergeFrom(*from._impl_.line_of_bearing_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Tracked::CopyFrom(const Tracked& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Tracked) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Tracked::InternalSwap(Tracked* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Tracked, _impl_.line_of_bearing_) + + sizeof(Tracked::_impl_.line_of_bearing_) + - PROTOBUF_FIELD_OFFSET(Tracked, _impl_.track_quality_wrapper_)>( + reinterpret_cast(&_impl_.track_quality_wrapper_), + reinterpret_cast(&other->_impl_.track_quality_wrapper_)); +} + +::google::protobuf::Metadata Tracked::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Provenance::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Provenance, _impl_._has_bits_); +}; + +void Provenance::clear_source_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.source_update_time_ != nullptr) _impl_.source_update_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Provenance::Provenance(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Provenance) +} +inline PROTOBUF_NDEBUG_INLINE Provenance::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Provenance& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + source_id_(arena, from.source_id_), + source_description_(arena, from.source_description_), + integration_name_(arena, from.integration_name_), + data_type_(arena, from.data_type_) {} + +Provenance::Provenance( + ::google::protobuf::Arena* arena, + const Provenance& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Provenance* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.source_update_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.source_update_time_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Provenance) +} +inline PROTOBUF_NDEBUG_INLINE Provenance::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + source_id_(arena), + source_description_(arena), + integration_name_(arena), + data_type_(arena) {} + +inline void Provenance::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.source_update_time_ = {}; +} +Provenance::~Provenance() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Provenance) + SharedDtor(*this); +} +inline void Provenance::SharedDtor(MessageLite& self) { + Provenance& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.source_id_.Destroy(); + this_._impl_.source_description_.Destroy(); + this_._impl_.integration_name_.Destroy(); + this_._impl_.data_type_.Destroy(); + delete this_._impl_.source_update_time_; + this_._impl_.~Impl_(); +} + +inline void* Provenance::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Provenance(arena); +} +constexpr auto Provenance::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Provenance), + alignof(Provenance)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Provenance::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Provenance_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Provenance::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Provenance::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Provenance::ByteSizeLong, + &Provenance::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Provenance, _impl_._cached_size_), + false, + }, + &Provenance::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Provenance::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 1, 96, 2> Provenance::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Provenance, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967233, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Provenance>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + // .google.protobuf.Timestamp source_update_time = 2 [json_name = "sourceUpdateTime"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Provenance, _impl_.source_update_time_)}}, + // string source_id = 3 [json_name = "sourceId"]; + {::_pbi::TcParser::FastUS1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(Provenance, _impl_.source_id_)}}, + // string source_description = 4 [json_name = "sourceDescription"]; + {::_pbi::TcParser::FastUS1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(Provenance, _impl_.source_description_)}}, + // string integration_name = 5 [json_name = "integrationName"]; + {::_pbi::TcParser::FastUS1, + {42, 63, 0, PROTOBUF_FIELD_OFFSET(Provenance, _impl_.integration_name_)}}, + // string data_type = 6 [json_name = "dataType"]; + {::_pbi::TcParser::FastUS1, + {50, 63, 0, PROTOBUF_FIELD_OFFSET(Provenance, _impl_.data_type_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.Timestamp source_update_time = 2 [json_name = "sourceUpdateTime"]; + {PROTOBUF_FIELD_OFFSET(Provenance, _impl_.source_update_time_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // string source_id = 3 [json_name = "sourceId"]; + {PROTOBUF_FIELD_OFFSET(Provenance, _impl_.source_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string source_description = 4 [json_name = "sourceDescription"]; + {PROTOBUF_FIELD_OFFSET(Provenance, _impl_.source_description_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string integration_name = 5 [json_name = "integrationName"]; + {PROTOBUF_FIELD_OFFSET(Provenance, _impl_.integration_name_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string data_type = 6 [json_name = "dataType"]; + {PROTOBUF_FIELD_OFFSET(Provenance, _impl_.data_type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + "\43\0\11\22\20\11\0\0" + "anduril.entitymanager.v1.Provenance" + "source_id" + "source_description" + "integration_name" + "data_type" + }}, +}; + +PROTOBUF_NOINLINE void Provenance::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Provenance) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.source_id_.ClearToEmpty(); + _impl_.source_description_.ClearToEmpty(); + _impl_.integration_name_.ClearToEmpty(); + _impl_.data_type_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.source_update_time_ != nullptr); + _impl_.source_update_time_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Provenance::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Provenance& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Provenance::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Provenance& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Provenance) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp source_update_time = 2 [json_name = "sourceUpdateTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.source_update_time_, this_._impl_.source_update_time_->GetCachedSize(), target, + stream); + } + + // string source_id = 3 [json_name = "sourceId"]; + if (!this_._internal_source_id().empty()) { + const std::string& _s = this_._internal_source_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Provenance.source_id"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string source_description = 4 [json_name = "sourceDescription"]; + if (!this_._internal_source_description().empty()) { + const std::string& _s = this_._internal_source_description(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Provenance.source_description"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + // string integration_name = 5 [json_name = "integrationName"]; + if (!this_._internal_integration_name().empty()) { + const std::string& _s = this_._internal_integration_name(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Provenance.integration_name"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + + // string data_type = 6 [json_name = "dataType"]; + if (!this_._internal_data_type().empty()) { + const std::string& _s = this_._internal_data_type(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Provenance.data_type"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Provenance) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Provenance::ByteSizeLong(const MessageLite& base) { + const Provenance& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Provenance::ByteSizeLong() const { + const Provenance& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Provenance) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string source_id = 3 [json_name = "sourceId"]; + if (!this_._internal_source_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_source_id()); + } + // string source_description = 4 [json_name = "sourceDescription"]; + if (!this_._internal_source_description().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_source_description()); + } + // string integration_name = 5 [json_name = "integrationName"]; + if (!this_._internal_integration_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_integration_name()); + } + // string data_type = 6 [json_name = "dataType"]; + if (!this_._internal_data_type().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_data_type()); + } + } + { + // .google.protobuf.Timestamp source_update_time = 2 [json_name = "sourceUpdateTime"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_update_time_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Provenance::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Provenance) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_source_id().empty()) { + _this->_internal_set_source_id(from._internal_source_id()); + } + if (!from._internal_source_description().empty()) { + _this->_internal_set_source_description(from._internal_source_description()); + } + if (!from._internal_integration_name().empty()) { + _this->_internal_set_integration_name(from._internal_integration_name()); + } + if (!from._internal_data_type().empty()) { + _this->_internal_set_data_type(from._internal_data_type()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.source_update_time_ != nullptr); + if (_this->_impl_.source_update_time_ == nullptr) { + _this->_impl_.source_update_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.source_update_time_); + } else { + _this->_impl_.source_update_time_->MergeFrom(*from._impl_.source_update_time_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Provenance::CopyFrom(const Provenance& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Provenance) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Provenance::InternalSwap(Provenance* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.source_id_, &other->_impl_.source_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.source_description_, &other->_impl_.source_description_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.integration_name_, &other->_impl_.integration_name_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_type_, &other->_impl_.data_type_, arena); + swap(_impl_.source_update_time_, other->_impl_.source_update_time_); +} + +::google::protobuf::Metadata Provenance::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Indicators::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Indicators, _impl_._has_bits_); +}; + +void Indicators::clear_simulated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.simulated_ != nullptr) _impl_.simulated_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Indicators::clear_exercise() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.exercise_ != nullptr) _impl_.exercise_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void Indicators::clear_emergency() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.emergency_ != nullptr) _impl_.emergency_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void Indicators::clear_c2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.c2_ != nullptr) _impl_.c2_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void Indicators::clear_egressable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.egressable_ != nullptr) _impl_.egressable_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +void Indicators::clear_starred() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.starred_ != nullptr) _impl_.starred_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +Indicators::Indicators(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Indicators) +} +inline PROTOBUF_NDEBUG_INLINE Indicators::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Indicators& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Indicators::Indicators( + ::google::protobuf::Arena* arena, + const Indicators& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Indicators* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.simulated_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.simulated_) + : nullptr; + _impl_.exercise_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.exercise_) + : nullptr; + _impl_.emergency_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.emergency_) + : nullptr; + _impl_.c2_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.c2_) + : nullptr; + _impl_.egressable_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.egressable_) + : nullptr; + _impl_.starred_ = (cached_has_bits & 0x00000020u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.starred_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Indicators) +} +inline PROTOBUF_NDEBUG_INLINE Indicators::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Indicators::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, simulated_), + 0, + offsetof(Impl_, starred_) - + offsetof(Impl_, simulated_) + + sizeof(Impl_::starred_)); +} +Indicators::~Indicators() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Indicators) + SharedDtor(*this); +} +inline void Indicators::SharedDtor(MessageLite& self) { + Indicators& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.simulated_; + delete this_._impl_.exercise_; + delete this_._impl_.emergency_; + delete this_._impl_.c2_; + delete this_._impl_.egressable_; + delete this_._impl_.starred_; + this_._impl_.~Impl_(); +} + +inline void* Indicators::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Indicators(arena); +} +constexpr auto Indicators::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Indicators), + alignof(Indicators)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Indicators::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Indicators_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Indicators::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Indicators::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Indicators::ByteSizeLong, + &Indicators::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Indicators, _impl_._cached_size_), + false, + }, + &Indicators::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Indicators::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 6, 0, 2> Indicators::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Indicators, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967184, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 6, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Indicators>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .google.protobuf.BoolValue simulated = 1 [json_name = "simulated"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Indicators, _impl_.simulated_)}}, + // .google.protobuf.BoolValue exercise = 2 [json_name = "exercise"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Indicators, _impl_.exercise_)}}, + // .google.protobuf.BoolValue emergency = 3 [json_name = "emergency"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(Indicators, _impl_.emergency_)}}, + // .google.protobuf.BoolValue c2 = 4 [json_name = "c2"]; + {::_pbi::TcParser::FastMtS1, + {34, 3, 3, PROTOBUF_FIELD_OFFSET(Indicators, _impl_.c2_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .google.protobuf.BoolValue egressable = 6 [json_name = "egressable", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtS1, + {50, 4, 4, PROTOBUF_FIELD_OFFSET(Indicators, _impl_.egressable_)}}, + // .google.protobuf.BoolValue starred = 7 [json_name = "starred", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtS1, + {58, 5, 5, PROTOBUF_FIELD_OFFSET(Indicators, _impl_.starred_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.BoolValue simulated = 1 [json_name = "simulated"]; + {PROTOBUF_FIELD_OFFSET(Indicators, _impl_.simulated_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.BoolValue exercise = 2 [json_name = "exercise"]; + {PROTOBUF_FIELD_OFFSET(Indicators, _impl_.exercise_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.BoolValue emergency = 3 [json_name = "emergency"]; + {PROTOBUF_FIELD_OFFSET(Indicators, _impl_.emergency_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.BoolValue c2 = 4 [json_name = "c2"]; + {PROTOBUF_FIELD_OFFSET(Indicators, _impl_.c2_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.BoolValue egressable = 6 [json_name = "egressable", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Indicators, _impl_.egressable_), _Internal::kHasBitsOffset + 4, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.BoolValue starred = 7 [json_name = "starred", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Indicators, _impl_.starred_), _Internal::kHasBitsOffset + 5, 5, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Indicators::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Indicators) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.simulated_ != nullptr); + _impl_.simulated_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.exercise_ != nullptr); + _impl_.exercise_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.emergency_ != nullptr); + _impl_.emergency_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.c2_ != nullptr); + _impl_.c2_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(_impl_.egressable_ != nullptr); + _impl_.egressable_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + ABSL_DCHECK(_impl_.starred_ != nullptr); + _impl_.starred_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Indicators::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Indicators& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Indicators::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Indicators& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Indicators) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.BoolValue simulated = 1 [json_name = "simulated"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.simulated_, this_._impl_.simulated_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.BoolValue exercise = 2 [json_name = "exercise"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.exercise_, this_._impl_.exercise_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.BoolValue emergency = 3 [json_name = "emergency"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.emergency_, this_._impl_.emergency_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.BoolValue c2 = 4 [json_name = "c2"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.c2_, this_._impl_.c2_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.BoolValue egressable = 6 [json_name = "egressable", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.egressable_, this_._impl_.egressable_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.BoolValue starred = 7 [json_name = "starred", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.starred_, this_._impl_.starred_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Indicators) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Indicators::ByteSizeLong(const MessageLite& base) { + const Indicators& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Indicators::ByteSizeLong() const { + const Indicators& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Indicators) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // .google.protobuf.BoolValue simulated = 1 [json_name = "simulated"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.simulated_); + } + // .google.protobuf.BoolValue exercise = 2 [json_name = "exercise"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.exercise_); + } + // .google.protobuf.BoolValue emergency = 3 [json_name = "emergency"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.emergency_); + } + // .google.protobuf.BoolValue c2 = 4 [json_name = "c2"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.c2_); + } + // .google.protobuf.BoolValue egressable = 6 [json_name = "egressable", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.egressable_); + } + // .google.protobuf.BoolValue starred = 7 [json_name = "starred", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.starred_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Indicators::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Indicators) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.simulated_ != nullptr); + if (_this->_impl_.simulated_ == nullptr) { + _this->_impl_.simulated_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.simulated_); + } else { + _this->_impl_.simulated_->MergeFrom(*from._impl_.simulated_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.exercise_ != nullptr); + if (_this->_impl_.exercise_ == nullptr) { + _this->_impl_.exercise_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.exercise_); + } else { + _this->_impl_.exercise_->MergeFrom(*from._impl_.exercise_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.emergency_ != nullptr); + if (_this->_impl_.emergency_ == nullptr) { + _this->_impl_.emergency_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.emergency_); + } else { + _this->_impl_.emergency_->MergeFrom(*from._impl_.emergency_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.c2_ != nullptr); + if (_this->_impl_.c2_ == nullptr) { + _this->_impl_.c2_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.c2_); + } else { + _this->_impl_.c2_->MergeFrom(*from._impl_.c2_); + } + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(from._impl_.egressable_ != nullptr); + if (_this->_impl_.egressable_ == nullptr) { + _this->_impl_.egressable_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.egressable_); + } else { + _this->_impl_.egressable_->MergeFrom(*from._impl_.egressable_); + } + } + if (cached_has_bits & 0x00000020u) { + ABSL_DCHECK(from._impl_.starred_ != nullptr); + if (_this->_impl_.starred_ == nullptr) { + _this->_impl_.starred_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.starred_); + } else { + _this->_impl_.starred_->MergeFrom(*from._impl_.starred_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Indicators::CopyFrom(const Indicators& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Indicators) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Indicators::InternalSwap(Indicators* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Indicators, _impl_.starred_) + + sizeof(Indicators::_impl_.starred_) + - PROTOBUF_FIELD_OFFSET(Indicators, _impl_.simulated_)>( + reinterpret_cast(&_impl_.simulated_), + reinterpret_cast(&other->_impl_.simulated_)); +} + +::google::protobuf::Metadata Indicators::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Overrides::_Internal { + public: +}; + +Overrides::Overrides(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Overrides) +} +inline PROTOBUF_NDEBUG_INLINE Overrides::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Overrides& from_msg) + : override_{visibility, arena, from.override_}, + _cached_size_{0} {} + +Overrides::Overrides( + ::google::protobuf::Arena* arena, + const Overrides& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Overrides* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Overrides) +} +inline PROTOBUF_NDEBUG_INLINE Overrides::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : override_{visibility, arena}, + _cached_size_{0} {} + +inline void Overrides::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Overrides::~Overrides() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Overrides) + SharedDtor(*this); +} +inline void Overrides::SharedDtor(MessageLite& self) { + Overrides& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Overrides::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Overrides(arena); +} +constexpr auto Overrides::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Overrides, _impl_.override_) + + decltype(Overrides::_impl_.override_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Overrides), alignof(Overrides), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Overrides::PlacementNew_, + sizeof(Overrides), + alignof(Overrides)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Overrides::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Overrides_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Overrides::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Overrides::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Overrides::ByteSizeLong, + &Overrides::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Overrides, _impl_._cached_size_), + false, + }, + &Overrides::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Overrides::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Overrides::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967293, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Overrides>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Override override = 2 [json_name = "override"]; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Overrides, _impl_.override_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Override override = 2 [json_name = "override"]; + {PROTOBUF_FIELD_OFFSET(Overrides, _impl_.override_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Override>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Overrides::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Overrides) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.override_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Overrides::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Overrides& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Overrides::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Overrides& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Overrides) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Override override = 2 [json_name = "override"]; + for (unsigned i = 0, n = static_cast( + this_._internal_override_size()); + i < n; i++) { + const auto& repfield = this_._internal_override().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Overrides) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Overrides::ByteSizeLong(const MessageLite& base) { + const Overrides& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Overrides::ByteSizeLong() const { + const Overrides& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Overrides) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Override override = 2 [json_name = "override"]; + { + total_size += 1UL * this_._internal_override_size(); + for (const auto& msg : this_._internal_override()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Overrides::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Overrides) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_override()->MergeFrom( + from._internal_override()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Overrides::CopyFrom(const Overrides& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Overrides) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Overrides::InternalSwap(Overrides* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.override_.InternalSwap(&other->_impl_.override_); +} + +::google::protobuf::Metadata Overrides::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Override::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Override, _impl_._has_bits_); +}; + +void Override::clear_request_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.request_timestamp_ != nullptr) _impl_.request_timestamp_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +Override::Override(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Override) +} +inline PROTOBUF_NDEBUG_INLINE Override::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Override& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + request_id_(arena, from.request_id_), + field_path_(arena, from.field_path_) {} + +Override::Override( + ::google::protobuf::Arena* arena, + const Override& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Override* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.masked_field_value_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.masked_field_value_) + : nullptr; + _impl_.provenance_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>( + arena, *from._impl_.provenance_) + : nullptr; + _impl_.request_timestamp_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.request_timestamp_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, status_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, status_), + offsetof(Impl_, type_) - + offsetof(Impl_, status_) + + sizeof(Impl_::type_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Override) +} +inline PROTOBUF_NDEBUG_INLINE Override::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + request_id_(arena), + field_path_(arena) {} + +inline void Override::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, masked_field_value_), + 0, + offsetof(Impl_, type_) - + offsetof(Impl_, masked_field_value_) + + sizeof(Impl_::type_)); +} +Override::~Override() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Override) + SharedDtor(*this); +} +inline void Override::SharedDtor(MessageLite& self) { + Override& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.request_id_.Destroy(); + this_._impl_.field_path_.Destroy(); + delete this_._impl_.masked_field_value_; + delete this_._impl_.provenance_; + delete this_._impl_.request_timestamp_; + this_._impl_.~Impl_(); +} + +inline void* Override::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Override(arena); +} +constexpr auto Override::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Override), + alignof(Override)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Override::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Override_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Override::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Override::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Override::ByteSizeLong, + &Override::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Override, _impl_._cached_size_), + false, + }, + &Override::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Override::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 3, 62, 2> Override::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Override, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Override>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string request_id = 1 [json_name = "requestId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Override, _impl_.request_id_)}}, + // string field_path = 2 [json_name = "fieldPath"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Override, _impl_.field_path_)}}, + // .anduril.entitymanager.v1.Entity masked_field_value = 3 [json_name = "maskedFieldValue"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(Override, _impl_.masked_field_value_)}}, + // .anduril.entitymanager.v1.OverrideStatus status = 4 [json_name = "status"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Override, _impl_.status_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(Override, _impl_.status_)}}, + // .anduril.entitymanager.v1.Provenance provenance = 5 [json_name = "provenance"]; + {::_pbi::TcParser::FastMtS1, + {42, 1, 1, PROTOBUF_FIELD_OFFSET(Override, _impl_.provenance_)}}, + // .anduril.entitymanager.v1.OverrideType type = 6 [json_name = "type"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Override, _impl_.type_), 63>(), + {48, 63, 0, PROTOBUF_FIELD_OFFSET(Override, _impl_.type_)}}, + // .google.protobuf.Timestamp request_timestamp = 7 [json_name = "requestTimestamp"]; + {::_pbi::TcParser::FastMtS1, + {58, 2, 2, PROTOBUF_FIELD_OFFSET(Override, _impl_.request_timestamp_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string request_id = 1 [json_name = "requestId"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.request_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string field_path = 2 [json_name = "fieldPath"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.field_path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.Entity masked_field_value = 3 [json_name = "maskedFieldValue"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.masked_field_value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.OverrideStatus status = 4 [json_name = "status"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.status_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.Provenance provenance = 5 [json_name = "provenance"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.provenance_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.OverrideType type = 6 [json_name = "type"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .google.protobuf.Timestamp request_timestamp = 7 [json_name = "requestTimestamp"]; + {PROTOBUF_FIELD_OFFSET(Override, _impl_.request_timestamp_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Provenance>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + "\41\12\12\0\0\0\0\0" + "anduril.entitymanager.v1.Override" + "request_id" + "field_path" + }}, +}; + +PROTOBUF_NOINLINE void Override::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Override) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.request_id_.ClearToEmpty(); + _impl_.field_path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.masked_field_value_ != nullptr); + _impl_.masked_field_value_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.provenance_ != nullptr); + _impl_.provenance_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.request_timestamp_ != nullptr); + _impl_.request_timestamp_->Clear(); + } + } + ::memset(&_impl_.status_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.status_)) + sizeof(_impl_.type_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Override::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Override& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Override::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Override& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Override) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string request_id = 1 [json_name = "requestId"]; + if (!this_._internal_request_id().empty()) { + const std::string& _s = this_._internal_request_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Override.request_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string field_path = 2 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + const std::string& _s = this_._internal_field_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Override.field_path"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Entity masked_field_value = 3 [json_name = "maskedFieldValue"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.masked_field_value_, this_._impl_.masked_field_value_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.OverrideStatus status = 4 [json_name = "status"]; + if (this_._internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this_._internal_status(), target); + } + + // .anduril.entitymanager.v1.Provenance provenance = 5 [json_name = "provenance"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.provenance_, this_._impl_.provenance_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.OverrideType type = 6 [json_name = "type"]; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 6, this_._internal_type(), target); + } + + // .google.protobuf.Timestamp request_timestamp = 7 [json_name = "requestTimestamp"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.request_timestamp_, this_._impl_.request_timestamp_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Override) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Override::ByteSizeLong(const MessageLite& base) { + const Override& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Override::ByteSizeLong() const { + const Override& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Override) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string request_id = 1 [json_name = "requestId"]; + if (!this_._internal_request_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_request_id()); + } + // string field_path = 2 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_field_path()); + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .anduril.entitymanager.v1.Entity masked_field_value = 3 [json_name = "maskedFieldValue"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.masked_field_value_); + } + // .anduril.entitymanager.v1.Provenance provenance = 5 [json_name = "provenance"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.provenance_); + } + // .google.protobuf.Timestamp request_timestamp = 7 [json_name = "requestTimestamp"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_timestamp_); + } + } + { + // .anduril.entitymanager.v1.OverrideStatus status = 4 [json_name = "status"]; + if (this_._internal_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); + } + // .anduril.entitymanager.v1.OverrideType type = 6 [json_name = "type"]; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Override::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Override) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_request_id().empty()) { + _this->_internal_set_request_id(from._internal_request_id()); + } + if (!from._internal_field_path().empty()) { + _this->_internal_set_field_path(from._internal_field_path()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.masked_field_value_ != nullptr); + if (_this->_impl_.masked_field_value_ == nullptr) { + _this->_impl_.masked_field_value_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.masked_field_value_); + } else { + _this->_impl_.masked_field_value_->MergeFrom(*from._impl_.masked_field_value_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.provenance_ != nullptr); + if (_this->_impl_.provenance_ == nullptr) { + _this->_impl_.provenance_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>(arena, *from._impl_.provenance_); + } else { + _this->_impl_.provenance_->MergeFrom(*from._impl_.provenance_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.request_timestamp_ != nullptr); + if (_this->_impl_.request_timestamp_ == nullptr) { + _this->_impl_.request_timestamp_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.request_timestamp_); + } else { + _this->_impl_.request_timestamp_->MergeFrom(*from._impl_.request_timestamp_); + } + } + } + if (from._internal_status() != 0) { + _this->_impl_.status_ = from._impl_.status_; + } + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Override::CopyFrom(const Override& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Override) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Override::InternalSwap(Override* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_id_, &other->_impl_.request_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.field_path_, &other->_impl_.field_path_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Override, _impl_.type_) + + sizeof(Override::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(Override, _impl_.masked_field_value_)>( + reinterpret_cast(&_impl_.masked_field_value_), + reinterpret_cast(&other->_impl_.masked_field_value_)); +} + +::google::protobuf::Metadata Override::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class AlternateId::_Internal { + public: +}; + +AlternateId::AlternateId(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.AlternateId) +} +inline PROTOBUF_NDEBUG_INLINE AlternateId::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::AlternateId& from_msg) + : id_(arena, from.id_), + _cached_size_{0} {} + +AlternateId::AlternateId( + ::google::protobuf::Arena* arena, + const AlternateId& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AlternateId* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.type_ = from._impl_.type_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.AlternateId) +} +inline PROTOBUF_NDEBUG_INLINE AlternateId::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : id_(arena), + _cached_size_{0} {} + +inline void AlternateId::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.type_ = {}; +} +AlternateId::~AlternateId() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.AlternateId) + SharedDtor(*this); +} +inline void AlternateId::SharedDtor(MessageLite& self) { + AlternateId& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* AlternateId::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AlternateId(arena); +} +constexpr auto AlternateId::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AlternateId), + alignof(AlternateId)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull AlternateId::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_AlternateId_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &AlternateId::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &AlternateId::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &AlternateId::ByteSizeLong, + &AlternateId::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(AlternateId, _impl_._cached_size_), + false, + }, + &AlternateId::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* AlternateId::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 47, 2> AlternateId::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967289, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AlternateId>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string id = 2 [json_name = "id"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(AlternateId, _impl_.id_)}}, + // .anduril.entitymanager.v1.AltIdType type = 3 [json_name = "type"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AlternateId, _impl_.type_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(AlternateId, _impl_.type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string id = 2 [json_name = "id"]; + {PROTOBUF_FIELD_OFFSET(AlternateId, _impl_.id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.AltIdType type = 3 [json_name = "type"]; + {PROTOBUF_FIELD_OFFSET(AlternateId, _impl_.type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + "\44\2\0\0\0\0\0\0" + "anduril.entitymanager.v1.AlternateId" + "id" + }}, +}; + +PROTOBUF_NOINLINE void AlternateId::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.AlternateId) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.id_.ClearToEmpty(); + _impl_.type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AlternateId::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AlternateId& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AlternateId::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AlternateId& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.AlternateId) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string id = 2 [json_name = "id"]; + if (!this_._internal_id().empty()) { + const std::string& _s = this_._internal_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.AlternateId.id"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .anduril.entitymanager.v1.AltIdType type = 3 [json_name = "type"]; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.AlternateId) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AlternateId::ByteSizeLong(const MessageLite& base) { + const AlternateId& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AlternateId::ByteSizeLong() const { + const AlternateId& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.AlternateId) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string id = 2 [json_name = "id"]; + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_id()); + } + // .anduril.entitymanager.v1.AltIdType type = 3 [json_name = "type"]; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void AlternateId::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.AlternateId) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void AlternateId::CopyFrom(const AlternateId& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.AlternateId) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void AlternateId::InternalSwap(AlternateId* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); + swap(_impl_.type_, other->_impl_.type_); +} + +::google::protobuf::Metadata AlternateId::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class VisualDetails::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(VisualDetails, _impl_._has_bits_); +}; + +VisualDetails::VisualDetails(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.VisualDetails) +} +inline PROTOBUF_NDEBUG_INLINE VisualDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::VisualDetails& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +VisualDetails::VisualDetails( + ::google::protobuf::Arena* arena, + const VisualDetails& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + VisualDetails* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.range_rings_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RangeRings>( + arena, *from._impl_.range_rings_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.VisualDetails) +} +inline PROTOBUF_NDEBUG_INLINE VisualDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void VisualDetails::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.range_rings_ = {}; +} +VisualDetails::~VisualDetails() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.VisualDetails) + SharedDtor(*this); +} +inline void VisualDetails::SharedDtor(MessageLite& self) { + VisualDetails& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.range_rings_; + this_._impl_.~Impl_(); +} + +inline void* VisualDetails::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) VisualDetails(arena); +} +constexpr auto VisualDetails::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(VisualDetails), + alignof(VisualDetails)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull VisualDetails::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_VisualDetails_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &VisualDetails::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &VisualDetails::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &VisualDetails::ByteSizeLong, + &VisualDetails::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(VisualDetails, _impl_._cached_size_), + false, + }, + &VisualDetails::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* VisualDetails::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> VisualDetails::_table_ = { + { + PROTOBUF_FIELD_OFFSET(VisualDetails, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::VisualDetails>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.RangeRings range_rings = 1 [json_name = "rangeRings", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(VisualDetails, _impl_.range_rings_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.RangeRings range_rings = 1 [json_name = "rangeRings", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(VisualDetails, _impl_.range_rings_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RangeRings>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void VisualDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.VisualDetails) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.range_rings_ != nullptr); + _impl_.range_rings_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* VisualDetails::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const VisualDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* VisualDetails::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const VisualDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.VisualDetails) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.RangeRings range_rings = 1 [json_name = "rangeRings", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.range_rings_, this_._impl_.range_rings_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.VisualDetails) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t VisualDetails::ByteSizeLong(const MessageLite& base) { + const VisualDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t VisualDetails::ByteSizeLong() const { + const VisualDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.VisualDetails) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.RangeRings range_rings = 1 [json_name = "rangeRings", (.anduril.entitymanager.v1.overridable) = true]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.range_rings_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void VisualDetails::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.VisualDetails) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.range_rings_ != nullptr); + if (_this->_impl_.range_rings_ == nullptr) { + _this->_impl_.range_rings_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RangeRings>(arena, *from._impl_.range_rings_); + } else { + _this->_impl_.range_rings_->MergeFrom(*from._impl_.range_rings_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void VisualDetails::CopyFrom(const VisualDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.VisualDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void VisualDetails::InternalSwap(VisualDetails* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.range_rings_, other->_impl_.range_rings_); +} + +::google::protobuf::Metadata VisualDetails::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class RangeRings::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RangeRings, _impl_._has_bits_); +}; + +void RangeRings::clear_min_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.min_distance_m_ != nullptr) _impl_.min_distance_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void RangeRings::clear_max_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.max_distance_m_ != nullptr) _impl_.max_distance_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void RangeRings::clear_ring_line_color() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ring_line_color_ != nullptr) _impl_.ring_line_color_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +RangeRings::RangeRings(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RangeRings) +} +inline PROTOBUF_NDEBUG_INLINE RangeRings::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::RangeRings& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RangeRings::RangeRings( + ::google::protobuf::Arena* arena, + const RangeRings& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RangeRings* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.min_distance_m_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.min_distance_m_) + : nullptr; + _impl_.max_distance_m_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.max_distance_m_) + : nullptr; + _impl_.ring_line_color_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::Color>( + arena, *from._impl_.ring_line_color_) + : nullptr; + _impl_.ring_count_ = from._impl_.ring_count_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RangeRings) +} +inline PROTOBUF_NDEBUG_INLINE RangeRings::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RangeRings::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, min_distance_m_), + 0, + offsetof(Impl_, ring_count_) - + offsetof(Impl_, min_distance_m_) + + sizeof(Impl_::ring_count_)); +} +RangeRings::~RangeRings() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RangeRings) + SharedDtor(*this); +} +inline void RangeRings::SharedDtor(MessageLite& self) { + RangeRings& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.min_distance_m_; + delete this_._impl_.max_distance_m_; + delete this_._impl_.ring_line_color_; + this_._impl_.~Impl_(); +} + +inline void* RangeRings::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RangeRings(arena); +} +constexpr auto RangeRings::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RangeRings), + alignof(RangeRings)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RangeRings::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RangeRings_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RangeRings::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RangeRings::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RangeRings::ByteSizeLong, + &RangeRings::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RangeRings, _impl_._cached_size_), + false, + }, + &RangeRings::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RangeRings::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 0, 2> RangeRings::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RangeRings, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RangeRings>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.type.Color ring_line_color = 4 [json_name = "ringLineColor"]; + {::_pbi::TcParser::FastMtS1, + {34, 2, 2, PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.ring_line_color_)}}, + // .google.protobuf.DoubleValue min_distance_m = 1 [json_name = "minDistanceM"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.min_distance_m_)}}, + // .google.protobuf.DoubleValue max_distance_m = 2 [json_name = "maxDistanceM"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.max_distance_m_)}}, + // uint32 ring_count = 3 [json_name = "ringCount"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RangeRings, _impl_.ring_count_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.ring_count_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.DoubleValue min_distance_m = 1 [json_name = "minDistanceM"]; + {PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.min_distance_m_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue max_distance_m = 2 [json_name = "maxDistanceM"]; + {PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.max_distance_m_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 ring_count = 3 [json_name = "ringCount"]; + {PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.ring_count_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .anduril.type.Color ring_line_color = 4 [json_name = "ringLineColor"]; + {PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.ring_line_color_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::anduril::type::Color>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void RangeRings::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RangeRings) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.min_distance_m_ != nullptr); + _impl_.min_distance_m_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.max_distance_m_ != nullptr); + _impl_.max_distance_m_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.ring_line_color_ != nullptr); + _impl_.ring_line_color_->Clear(); + } + } + _impl_.ring_count_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RangeRings::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RangeRings& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RangeRings::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RangeRings& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RangeRings) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue min_distance_m = 1 [json_name = "minDistanceM"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.min_distance_m_, this_._impl_.min_distance_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue max_distance_m = 2 [json_name = "maxDistanceM"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.max_distance_m_, this_._impl_.max_distance_m_->GetCachedSize(), target, + stream); + } + + // uint32 ring_count = 3 [json_name = "ringCount"]; + if (this_._internal_ring_count() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_ring_count(), target); + } + + // .anduril.type.Color ring_line_color = 4 [json_name = "ringLineColor"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.ring_line_color_, this_._impl_.ring_line_color_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RangeRings) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RangeRings::ByteSizeLong(const MessageLite& base) { + const RangeRings& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RangeRings::ByteSizeLong() const { + const RangeRings& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RangeRings) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .google.protobuf.DoubleValue min_distance_m = 1 [json_name = "minDistanceM"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.min_distance_m_); + } + // .google.protobuf.DoubleValue max_distance_m = 2 [json_name = "maxDistanceM"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.max_distance_m_); + } + // .anduril.type.Color ring_line_color = 4 [json_name = "ringLineColor"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ring_line_color_); + } + } + { + // uint32 ring_count = 3 [json_name = "ringCount"]; + if (this_._internal_ring_count() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_ring_count()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RangeRings::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RangeRings) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.min_distance_m_ != nullptr); + if (_this->_impl_.min_distance_m_ == nullptr) { + _this->_impl_.min_distance_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.min_distance_m_); + } else { + _this->_impl_.min_distance_m_->MergeFrom(*from._impl_.min_distance_m_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.max_distance_m_ != nullptr); + if (_this->_impl_.max_distance_m_ == nullptr) { + _this->_impl_.max_distance_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.max_distance_m_); + } else { + _this->_impl_.max_distance_m_->MergeFrom(*from._impl_.max_distance_m_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.ring_line_color_ != nullptr); + if (_this->_impl_.ring_line_color_ == nullptr) { + _this->_impl_.ring_line_color_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::Color>(arena, *from._impl_.ring_line_color_); + } else { + _this->_impl_.ring_line_color_->MergeFrom(*from._impl_.ring_line_color_); + } + } + } + if (from._internal_ring_count() != 0) { + _this->_impl_.ring_count_ = from._impl_.ring_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RangeRings::CopyFrom(const RangeRings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RangeRings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RangeRings::InternalSwap(RangeRings* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.ring_count_) + + sizeof(RangeRings::_impl_.ring_count_) + - PROTOBUF_FIELD_OFFSET(RangeRings, _impl_.min_distance_m_)>( + reinterpret_cast(&_impl_.min_distance_m_), + reinterpret_cast(&other->_impl_.min_distance_m_)); +} + +::google::protobuf::Metadata RangeRings::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Correlation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Correlation, _impl_._has_bits_); + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Correlation, _impl_._oneof_case_); +}; + +void Correlation::set_allocated_primary(::anduril::entitymanager::v1::PrimaryCorrelation* primary) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_correlation(); + if (primary) { + ::google::protobuf::Arena* submessage_arena = primary->GetArena(); + if (message_arena != submessage_arena) { + primary = ::google::protobuf::internal::GetOwnedMessage(message_arena, primary, submessage_arena); + } + set_has_primary(); + _impl_.correlation_.primary_ = primary; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Correlation.primary) +} +void Correlation::set_allocated_secondary(::anduril::entitymanager::v1::SecondaryCorrelation* secondary) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_correlation(); + if (secondary) { + ::google::protobuf::Arena* submessage_arena = secondary->GetArena(); + if (message_arena != submessage_arena) { + secondary = ::google::protobuf::internal::GetOwnedMessage(message_arena, secondary, submessage_arena); + } + set_has_secondary(); + _impl_.correlation_.secondary_ = secondary; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Correlation.secondary) +} +Correlation::Correlation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Correlation) +} +inline PROTOBUF_NDEBUG_INLINE Correlation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Correlation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + correlation_{}, + _oneof_case_{from._oneof_case_[0]} {} + +Correlation::Correlation( + ::google::protobuf::Arena* arena, + const Correlation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Correlation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.decorrelation_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Decorrelation>( + arena, *from._impl_.decorrelation_) + : nullptr; + _impl_.membership_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMembership>( + arena, *from._impl_.membership_) + : nullptr; + switch (correlation_case()) { + case CORRELATION_NOT_SET: + break; + case kPrimary: + _impl_.correlation_.primary_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PrimaryCorrelation>(arena, *from._impl_.correlation_.primary_); + break; + case kSecondary: + _impl_.correlation_.secondary_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::SecondaryCorrelation>(arena, *from._impl_.correlation_.secondary_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Correlation) +} +inline PROTOBUF_NDEBUG_INLINE Correlation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + correlation_{}, + _oneof_case_{} {} + +inline void Correlation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, decorrelation_), + 0, + offsetof(Impl_, membership_) - + offsetof(Impl_, decorrelation_) + + sizeof(Impl_::membership_)); +} +Correlation::~Correlation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Correlation) + SharedDtor(*this); +} +inline void Correlation::SharedDtor(MessageLite& self) { + Correlation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.decorrelation_; + delete this_._impl_.membership_; + if (this_.has_correlation()) { + this_.clear_correlation(); + } + this_._impl_.~Impl_(); +} + +void Correlation::clear_correlation() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.Correlation) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (correlation_case()) { + case kPrimary: { + if (GetArena() == nullptr) { + delete _impl_.correlation_.primary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.correlation_.primary_); + } + break; + } + case kSecondary: { + if (GetArena() == nullptr) { + delete _impl_.correlation_.secondary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.correlation_.secondary_); + } + break; + } + case CORRELATION_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = CORRELATION_NOT_SET; +} + + +inline void* Correlation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Correlation(arena); +} +constexpr auto Correlation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Correlation), + alignof(Correlation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Correlation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Correlation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Correlation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Correlation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Correlation::ByteSizeLong, + &Correlation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Correlation, _impl_._cached_size_), + false, + }, + &Correlation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Correlation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 4, 4, 0, 2> Correlation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Correlation, _impl_._has_bits_), + 0, // no _extensions_ + 4, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Correlation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.CorrelationMembership membership = 4 [json_name = "membership"]; + {::_pbi::TcParser::FastMtS1, + {34, 1, 3, PROTOBUF_FIELD_OFFSET(Correlation, _impl_.membership_)}}, + // .anduril.entitymanager.v1.Decorrelation decorrelation = 3 [json_name = "decorrelation"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 2, PROTOBUF_FIELD_OFFSET(Correlation, _impl_.decorrelation_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.PrimaryCorrelation primary = 1 [json_name = "primary"]; + {PROTOBUF_FIELD_OFFSET(Correlation, _impl_.correlation_.primary_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.SecondaryCorrelation secondary = 2 [json_name = "secondary"]; + {PROTOBUF_FIELD_OFFSET(Correlation, _impl_.correlation_.secondary_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Decorrelation decorrelation = 3 [json_name = "decorrelation"]; + {PROTOBUF_FIELD_OFFSET(Correlation, _impl_.decorrelation_), _Internal::kHasBitsOffset + 0, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.CorrelationMembership membership = 4 [json_name = "membership"]; + {PROTOBUF_FIELD_OFFSET(Correlation, _impl_.membership_), _Internal::kHasBitsOffset + 1, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PrimaryCorrelation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::SecondaryCorrelation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Decorrelation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMembership>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Correlation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Correlation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.decorrelation_ != nullptr); + _impl_.decorrelation_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.membership_ != nullptr); + _impl_.membership_->Clear(); + } + } + clear_correlation(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Correlation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Correlation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Correlation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Correlation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Correlation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.correlation_case()) { + case kPrimary: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.correlation_.primary_, this_._impl_.correlation_.primary_->GetCachedSize(), target, + stream); + break; + } + case kSecondary: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.correlation_.secondary_, this_._impl_.correlation_.secondary_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Decorrelation decorrelation = 3 [json_name = "decorrelation"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.decorrelation_, this_._impl_.decorrelation_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.CorrelationMembership membership = 4 [json_name = "membership"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.membership_, this_._impl_.membership_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Correlation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Correlation::ByteSizeLong(const MessageLite& base) { + const Correlation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Correlation::ByteSizeLong() const { + const Correlation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Correlation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Decorrelation decorrelation = 3 [json_name = "decorrelation"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.decorrelation_); + } + // .anduril.entitymanager.v1.CorrelationMembership membership = 4 [json_name = "membership"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.membership_); + } + } + switch (this_.correlation_case()) { + // .anduril.entitymanager.v1.PrimaryCorrelation primary = 1 [json_name = "primary"]; + case kPrimary: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.correlation_.primary_); + break; + } + // .anduril.entitymanager.v1.SecondaryCorrelation secondary = 2 [json_name = "secondary"]; + case kSecondary: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.correlation_.secondary_); + break; + } + case CORRELATION_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Correlation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Correlation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.decorrelation_ != nullptr); + if (_this->_impl_.decorrelation_ == nullptr) { + _this->_impl_.decorrelation_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Decorrelation>(arena, *from._impl_.decorrelation_); + } else { + _this->_impl_.decorrelation_->MergeFrom(*from._impl_.decorrelation_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.membership_ != nullptr); + if (_this->_impl_.membership_ == nullptr) { + _this->_impl_.membership_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMembership>(arena, *from._impl_.membership_); + } else { + _this->_impl_.membership_->MergeFrom(*from._impl_.membership_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_correlation(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPrimary: { + if (oneof_needs_init) { + _this->_impl_.correlation_.primary_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PrimaryCorrelation>(arena, *from._impl_.correlation_.primary_); + } else { + _this->_impl_.correlation_.primary_->MergeFrom(from._internal_primary()); + } + break; + } + case kSecondary: { + if (oneof_needs_init) { + _this->_impl_.correlation_.secondary_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::SecondaryCorrelation>(arena, *from._impl_.correlation_.secondary_); + } else { + _this->_impl_.correlation_.secondary_->MergeFrom(from._internal_secondary()); + } + break; + } + case CORRELATION_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Correlation::CopyFrom(const Correlation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Correlation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Correlation::InternalSwap(Correlation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Correlation, _impl_.membership_) + + sizeof(Correlation::_impl_.membership_) + - PROTOBUF_FIELD_OFFSET(Correlation, _impl_.decorrelation_)>( + reinterpret_cast(&_impl_.decorrelation_), + reinterpret_cast(&other->_impl_.decorrelation_)); + swap(_impl_.correlation_, other->_impl_.correlation_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata Correlation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PrimaryCorrelation::_Internal { + public: +}; + +PrimaryCorrelation::PrimaryCorrelation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PrimaryCorrelation) +} +inline PROTOBUF_NDEBUG_INLINE PrimaryCorrelation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PrimaryCorrelation& from_msg) + : secondary_entity_ids_{visibility, arena, from.secondary_entity_ids_}, + _cached_size_{0} {} + +PrimaryCorrelation::PrimaryCorrelation( + ::google::protobuf::Arena* arena, + const PrimaryCorrelation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PrimaryCorrelation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PrimaryCorrelation) +} +inline PROTOBUF_NDEBUG_INLINE PrimaryCorrelation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : secondary_entity_ids_{visibility, arena}, + _cached_size_{0} {} + +inline void PrimaryCorrelation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +PrimaryCorrelation::~PrimaryCorrelation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PrimaryCorrelation) + SharedDtor(*this); +} +inline void PrimaryCorrelation::SharedDtor(MessageLite& self) { + PrimaryCorrelation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PrimaryCorrelation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PrimaryCorrelation(arena); +} +constexpr auto PrimaryCorrelation::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(PrimaryCorrelation, _impl_.secondary_entity_ids_) + + decltype(PrimaryCorrelation::_impl_.secondary_entity_ids_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(PrimaryCorrelation), alignof(PrimaryCorrelation), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&PrimaryCorrelation::PlacementNew_, + sizeof(PrimaryCorrelation), + alignof(PrimaryCorrelation)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PrimaryCorrelation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PrimaryCorrelation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PrimaryCorrelation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PrimaryCorrelation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PrimaryCorrelation::ByteSizeLong, + &PrimaryCorrelation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PrimaryCorrelation, _impl_._cached_size_), + false, + }, + &PrimaryCorrelation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PrimaryCorrelation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 72, 2> PrimaryCorrelation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PrimaryCorrelation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated string secondary_entity_ids = 1 [json_name = "secondaryEntityIds"]; + {::_pbi::TcParser::FastUR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(PrimaryCorrelation, _impl_.secondary_entity_ids_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated string secondary_entity_ids = 1 [json_name = "secondaryEntityIds"]; + {PROTOBUF_FIELD_OFFSET(PrimaryCorrelation, _impl_.secondary_entity_ids_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + }}, + // no aux_entries + {{ + "\53\24\0\0\0\0\0\0" + "anduril.entitymanager.v1.PrimaryCorrelation" + "secondary_entity_ids" + }}, +}; + +PROTOBUF_NOINLINE void PrimaryCorrelation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PrimaryCorrelation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.secondary_entity_ids_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PrimaryCorrelation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PrimaryCorrelation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PrimaryCorrelation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PrimaryCorrelation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PrimaryCorrelation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated string secondary_entity_ids = 1 [json_name = "secondaryEntityIds"]; + for (int i = 0, n = this_._internal_secondary_entity_ids_size(); i < n; ++i) { + const auto& s = this_._internal_secondary_entity_ids().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids"); + target = stream->WriteString(1, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PrimaryCorrelation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PrimaryCorrelation::ByteSizeLong(const MessageLite& base) { + const PrimaryCorrelation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PrimaryCorrelation::ByteSizeLong() const { + const PrimaryCorrelation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PrimaryCorrelation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string secondary_entity_ids = 1 [json_name = "secondaryEntityIds"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_secondary_entity_ids().size()); + for (int i = 0, n = this_._internal_secondary_entity_ids().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_secondary_entity_ids().Get(i)); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PrimaryCorrelation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PrimaryCorrelation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_secondary_entity_ids()->MergeFrom(from._internal_secondary_entity_ids()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PrimaryCorrelation::CopyFrom(const PrimaryCorrelation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PrimaryCorrelation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PrimaryCorrelation::InternalSwap(PrimaryCorrelation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.secondary_entity_ids_.InternalSwap(&other->_impl_.secondary_entity_ids_); +} + +::google::protobuf::Metadata PrimaryCorrelation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class SecondaryCorrelation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_._has_bits_); +}; + +SecondaryCorrelation::SecondaryCorrelation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.SecondaryCorrelation) +} +inline PROTOBUF_NDEBUG_INLINE SecondaryCorrelation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::SecondaryCorrelation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + primary_entity_id_(arena, from.primary_entity_id_) {} + +SecondaryCorrelation::SecondaryCorrelation( + ::google::protobuf::Arena* arena, + const SecondaryCorrelation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SecondaryCorrelation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.metadata_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>( + arena, *from._impl_.metadata_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.SecondaryCorrelation) +} +inline PROTOBUF_NDEBUG_INLINE SecondaryCorrelation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + primary_entity_id_(arena) {} + +inline void SecondaryCorrelation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.metadata_ = {}; +} +SecondaryCorrelation::~SecondaryCorrelation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.SecondaryCorrelation) + SharedDtor(*this); +} +inline void SecondaryCorrelation::SharedDtor(MessageLite& self) { + SecondaryCorrelation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.primary_entity_id_.Destroy(); + delete this_._impl_.metadata_; + this_._impl_.~Impl_(); +} + +inline void* SecondaryCorrelation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SecondaryCorrelation(arena); +} +constexpr auto SecondaryCorrelation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecondaryCorrelation), + alignof(SecondaryCorrelation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull SecondaryCorrelation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SecondaryCorrelation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SecondaryCorrelation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SecondaryCorrelation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &SecondaryCorrelation::ByteSizeLong, + &SecondaryCorrelation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_._cached_size_), + false, + }, + &SecondaryCorrelation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SecondaryCorrelation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 71, 2> SecondaryCorrelation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::SecondaryCorrelation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_.metadata_)}}, + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_.primary_entity_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + {PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_.primary_entity_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + {PROTOBUF_FIELD_OFFSET(SecondaryCorrelation, _impl_.metadata_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMetadata>()}, + }}, {{ + "\55\21\0\0\0\0\0\0" + "anduril.entitymanager.v1.SecondaryCorrelation" + "primary_entity_id" + }}, +}; + +PROTOBUF_NOINLINE void SecondaryCorrelation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.SecondaryCorrelation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.primary_entity_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.metadata_ != nullptr); + _impl_.metadata_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SecondaryCorrelation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SecondaryCorrelation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SecondaryCorrelation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SecondaryCorrelation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.SecondaryCorrelation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + if (!this_._internal_primary_entity_id().empty()) { + const std::string& _s = this_._internal_primary_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.SecondaryCorrelation.primary_entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.metadata_, this_._impl_.metadata_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.SecondaryCorrelation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t SecondaryCorrelation::ByteSizeLong(const MessageLite& base) { + const SecondaryCorrelation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SecondaryCorrelation::ByteSizeLong() const { + const SecondaryCorrelation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.SecondaryCorrelation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + if (!this_._internal_primary_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_primary_entity_id()); + } + } + { + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.metadata_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void SecondaryCorrelation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.SecondaryCorrelation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_primary_entity_id().empty()) { + _this->_internal_set_primary_entity_id(from._internal_primary_entity_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.metadata_ != nullptr); + if (_this->_impl_.metadata_ == nullptr) { + _this->_impl_.metadata_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(arena, *from._impl_.metadata_); + } else { + _this->_impl_.metadata_->MergeFrom(*from._impl_.metadata_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void SecondaryCorrelation::CopyFrom(const SecondaryCorrelation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.SecondaryCorrelation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SecondaryCorrelation::InternalSwap(SecondaryCorrelation* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.primary_entity_id_, &other->_impl_.primary_entity_id_, arena); + swap(_impl_.metadata_, other->_impl_.metadata_); +} + +::google::protobuf::Metadata SecondaryCorrelation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class CorrelationMembership::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_._has_bits_); + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CorrelationMembership, _impl_._oneof_case_); +}; + +void CorrelationMembership::set_allocated_primary(::anduril::entitymanager::v1::PrimaryMembership* primary) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_membership(); + if (primary) { + ::google::protobuf::Arena* submessage_arena = primary->GetArena(); + if (message_arena != submessage_arena) { + primary = ::google::protobuf::internal::GetOwnedMessage(message_arena, primary, submessage_arena); + } + set_has_primary(); + _impl_.membership_.primary_ = primary; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CorrelationMembership.primary) +} +void CorrelationMembership::set_allocated_non_primary(::anduril::entitymanager::v1::NonPrimaryMembership* non_primary) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_membership(); + if (non_primary) { + ::google::protobuf::Arena* submessage_arena = non_primary->GetArena(); + if (message_arena != submessage_arena) { + non_primary = ::google::protobuf::internal::GetOwnedMessage(message_arena, non_primary, submessage_arena); + } + set_has_non_primary(); + _impl_.membership_.non_primary_ = non_primary; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CorrelationMembership.non_primary) +} +CorrelationMembership::CorrelationMembership(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.CorrelationMembership) +} +inline PROTOBUF_NDEBUG_INLINE CorrelationMembership::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::CorrelationMembership& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + correlation_set_id_(arena, from.correlation_set_id_), + membership_{}, + _oneof_case_{from._oneof_case_[0]} {} + +CorrelationMembership::CorrelationMembership( + ::google::protobuf::Arena* arena, + const CorrelationMembership& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CorrelationMembership* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.metadata_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>( + arena, *from._impl_.metadata_) + : nullptr; + switch (membership_case()) { + case MEMBERSHIP_NOT_SET: + break; + case kPrimary: + _impl_.membership_.primary_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PrimaryMembership>(arena, *from._impl_.membership_.primary_); + break; + case kNonPrimary: + _impl_.membership_.non_primary_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NonPrimaryMembership>(arena, *from._impl_.membership_.non_primary_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.CorrelationMembership) +} +inline PROTOBUF_NDEBUG_INLINE CorrelationMembership::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + correlation_set_id_(arena), + membership_{}, + _oneof_case_{} {} + +inline void CorrelationMembership::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.metadata_ = {}; +} +CorrelationMembership::~CorrelationMembership() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.CorrelationMembership) + SharedDtor(*this); +} +inline void CorrelationMembership::SharedDtor(MessageLite& self) { + CorrelationMembership& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.correlation_set_id_.Destroy(); + delete this_._impl_.metadata_; + if (this_.has_membership()) { + this_.clear_membership(); + } + this_._impl_.~Impl_(); +} + +void CorrelationMembership::clear_membership() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.CorrelationMembership) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (membership_case()) { + case kPrimary: { + if (GetArena() == nullptr) { + delete _impl_.membership_.primary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.membership_.primary_); + } + break; + } + case kNonPrimary: { + if (GetArena() == nullptr) { + delete _impl_.membership_.non_primary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.membership_.non_primary_); + } + break; + } + case MEMBERSHIP_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = MEMBERSHIP_NOT_SET; +} + + +inline void* CorrelationMembership::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CorrelationMembership(arena); +} +constexpr auto CorrelationMembership::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CorrelationMembership), + alignof(CorrelationMembership)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull CorrelationMembership::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CorrelationMembership_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CorrelationMembership::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CorrelationMembership::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CorrelationMembership::ByteSizeLong, + &CorrelationMembership::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_._cached_size_), + false, + }, + &CorrelationMembership::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CorrelationMembership::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 4, 3, 73, 2> CorrelationMembership::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_._has_bits_), + 0, // no _extensions_ + 4, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMembership>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 4 [json_name = "metadata"]; + {::_pbi::TcParser::FastMtS1, + {34, 0, 2, PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_.metadata_)}}, + // string correlation_set_id = 1 [json_name = "correlationSetId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_.correlation_set_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string correlation_set_id = 1 [json_name = "correlationSetId"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_.correlation_set_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.PrimaryMembership primary = 2 [json_name = "primary"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_.membership_.primary_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.NonPrimaryMembership non_primary = 3 [json_name = "nonPrimary"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_.membership_.non_primary_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 4 [json_name = "metadata"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMembership, _impl_.metadata_), _Internal::kHasBitsOffset + 0, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PrimaryMembership>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NonPrimaryMembership>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMetadata>()}, + }}, {{ + "\56\22\0\0\0\0\0\0" + "anduril.entitymanager.v1.CorrelationMembership" + "correlation_set_id" + }}, +}; + +PROTOBUF_NOINLINE void CorrelationMembership::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.CorrelationMembership) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.correlation_set_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.metadata_ != nullptr); + _impl_.metadata_->Clear(); + } + clear_membership(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CorrelationMembership::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CorrelationMembership& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CorrelationMembership::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CorrelationMembership& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.CorrelationMembership) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string correlation_set_id = 1 [json_name = "correlationSetId"]; + if (!this_._internal_correlation_set_id().empty()) { + const std::string& _s = this_._internal_correlation_set_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.CorrelationMembership.correlation_set_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + switch (this_.membership_case()) { + case kPrimary: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.membership_.primary_, this_._impl_.membership_.primary_->GetCachedSize(), target, + stream); + break; + } + case kNonPrimary: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.membership_.non_primary_, this_._impl_.membership_.non_primary_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 4 [json_name = "metadata"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.metadata_, this_._impl_.metadata_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.CorrelationMembership) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t CorrelationMembership::ByteSizeLong(const MessageLite& base) { + const CorrelationMembership& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CorrelationMembership::ByteSizeLong() const { + const CorrelationMembership& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.CorrelationMembership) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string correlation_set_id = 1 [json_name = "correlationSetId"]; + if (!this_._internal_correlation_set_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_correlation_set_id()); + } + } + { + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 4 [json_name = "metadata"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.metadata_); + } + } + switch (this_.membership_case()) { + // .anduril.entitymanager.v1.PrimaryMembership primary = 2 [json_name = "primary"]; + case kPrimary: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.membership_.primary_); + break; + } + // .anduril.entitymanager.v1.NonPrimaryMembership non_primary = 3 [json_name = "nonPrimary"]; + case kNonPrimary: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.membership_.non_primary_); + break; + } + case MEMBERSHIP_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void CorrelationMembership::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.CorrelationMembership) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_correlation_set_id().empty()) { + _this->_internal_set_correlation_set_id(from._internal_correlation_set_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.metadata_ != nullptr); + if (_this->_impl_.metadata_ == nullptr) { + _this->_impl_.metadata_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(arena, *from._impl_.metadata_); + } else { + _this->_impl_.metadata_->MergeFrom(*from._impl_.metadata_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_membership(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPrimary: { + if (oneof_needs_init) { + _this->_impl_.membership_.primary_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PrimaryMembership>(arena, *from._impl_.membership_.primary_); + } else { + _this->_impl_.membership_.primary_->MergeFrom(from._internal_primary()); + } + break; + } + case kNonPrimary: { + if (oneof_needs_init) { + _this->_impl_.membership_.non_primary_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NonPrimaryMembership>(arena, *from._impl_.membership_.non_primary_); + } else { + _this->_impl_.membership_.non_primary_->MergeFrom(from._internal_non_primary()); + } + break; + } + case MEMBERSHIP_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CorrelationMembership::CopyFrom(const CorrelationMembership& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.CorrelationMembership) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CorrelationMembership::InternalSwap(CorrelationMembership* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.correlation_set_id_, &other->_impl_.correlation_set_id_, arena); + swap(_impl_.metadata_, other->_impl_.metadata_); + swap(_impl_.membership_, other->_impl_.membership_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata CorrelationMembership::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PrimaryMembership::_Internal { + public: +}; + +PrimaryMembership::PrimaryMembership(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PrimaryMembership) +} +PrimaryMembership::PrimaryMembership( + ::google::protobuf::Arena* arena, + const PrimaryMembership& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PrimaryMembership* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PrimaryMembership) +} + +inline void* PrimaryMembership::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PrimaryMembership(arena); +} +constexpr auto PrimaryMembership::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PrimaryMembership), + alignof(PrimaryMembership)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PrimaryMembership::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PrimaryMembership_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PrimaryMembership::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PrimaryMembership::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &PrimaryMembership::ByteSizeLong, + &PrimaryMembership::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PrimaryMembership, _impl_._cached_size_), + false, + }, + &PrimaryMembership::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PrimaryMembership::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> PrimaryMembership::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PrimaryMembership>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata PrimaryMembership::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class NonPrimaryMembership::_Internal { + public: +}; + +NonPrimaryMembership::NonPrimaryMembership(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.NonPrimaryMembership) +} +NonPrimaryMembership::NonPrimaryMembership( + ::google::protobuf::Arena* arena, + const NonPrimaryMembership& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + NonPrimaryMembership* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.NonPrimaryMembership) +} + +inline void* NonPrimaryMembership::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) NonPrimaryMembership(arena); +} +constexpr auto NonPrimaryMembership::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NonPrimaryMembership), + alignof(NonPrimaryMembership)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull NonPrimaryMembership::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_NonPrimaryMembership_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &NonPrimaryMembership::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &NonPrimaryMembership::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &NonPrimaryMembership::ByteSizeLong, + &NonPrimaryMembership::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(NonPrimaryMembership, _impl_._cached_size_), + false, + }, + &NonPrimaryMembership::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* NonPrimaryMembership::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> NonPrimaryMembership::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NonPrimaryMembership>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata NonPrimaryMembership::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Decorrelation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_._has_bits_); +}; + +Decorrelation::Decorrelation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Decorrelation) +} +inline PROTOBUF_NDEBUG_INLINE Decorrelation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Decorrelation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + decorrelated_entities_{visibility, arena, from.decorrelated_entities_} {} + +Decorrelation::Decorrelation( + ::google::protobuf::Arena* arena, + const Decorrelation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Decorrelation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.all_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::DecorrelatedAll>( + arena, *from._impl_.all_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Decorrelation) +} +inline PROTOBUF_NDEBUG_INLINE Decorrelation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + decorrelated_entities_{visibility, arena} {} + +inline void Decorrelation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.all_ = {}; +} +Decorrelation::~Decorrelation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Decorrelation) + SharedDtor(*this); +} +inline void Decorrelation::SharedDtor(MessageLite& self) { + Decorrelation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.all_; + this_._impl_.~Impl_(); +} + +inline void* Decorrelation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Decorrelation(arena); +} +constexpr auto Decorrelation::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_.decorrelated_entities_) + + decltype(Decorrelation::_impl_.decorrelated_entities_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Decorrelation), alignof(Decorrelation), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Decorrelation::PlacementNew_, + sizeof(Decorrelation), + alignof(Decorrelation)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Decorrelation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Decorrelation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Decorrelation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Decorrelation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Decorrelation::ByteSizeLong, + &Decorrelation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_._cached_size_), + false, + }, + &Decorrelation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Decorrelation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Decorrelation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Decorrelation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.DecorrelatedSingle decorrelated_entities = 2 [json_name = "decorrelatedEntities"]; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_.decorrelated_entities_)}}, + // .anduril.entitymanager.v1.DecorrelatedAll all = 1 [json_name = "all"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_.all_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.DecorrelatedAll all = 1 [json_name = "all"]; + {PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_.all_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.DecorrelatedSingle decorrelated_entities = 2 [json_name = "decorrelatedEntities"]; + {PROTOBUF_FIELD_OFFSET(Decorrelation, _impl_.decorrelated_entities_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::DecorrelatedAll>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::DecorrelatedSingle>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Decorrelation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Decorrelation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.decorrelated_entities_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.all_ != nullptr); + _impl_.all_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Decorrelation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Decorrelation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Decorrelation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Decorrelation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Decorrelation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.DecorrelatedAll all = 1 [json_name = "all"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.all_, this_._impl_.all_->GetCachedSize(), target, + stream); + } + + // repeated .anduril.entitymanager.v1.DecorrelatedSingle decorrelated_entities = 2 [json_name = "decorrelatedEntities"]; + for (unsigned i = 0, n = static_cast( + this_._internal_decorrelated_entities_size()); + i < n; i++) { + const auto& repfield = this_._internal_decorrelated_entities().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Decorrelation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Decorrelation::ByteSizeLong(const MessageLite& base) { + const Decorrelation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Decorrelation::ByteSizeLong() const { + const Decorrelation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Decorrelation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.DecorrelatedSingle decorrelated_entities = 2 [json_name = "decorrelatedEntities"]; + { + total_size += 1UL * this_._internal_decorrelated_entities_size(); + for (const auto& msg : this_._internal_decorrelated_entities()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .anduril.entitymanager.v1.DecorrelatedAll all = 1 [json_name = "all"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.all_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Decorrelation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Decorrelation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_decorrelated_entities()->MergeFrom( + from._internal_decorrelated_entities()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.all_ != nullptr); + if (_this->_impl_.all_ == nullptr) { + _this->_impl_.all_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::DecorrelatedAll>(arena, *from._impl_.all_); + } else { + _this->_impl_.all_->MergeFrom(*from._impl_.all_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Decorrelation::CopyFrom(const Decorrelation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Decorrelation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Decorrelation::InternalSwap(Decorrelation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.decorrelated_entities_.InternalSwap(&other->_impl_.decorrelated_entities_); + swap(_impl_.all_, other->_impl_.all_); +} + +::google::protobuf::Metadata Decorrelation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class DecorrelatedAll::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(DecorrelatedAll, _impl_._has_bits_); +}; + +DecorrelatedAll::DecorrelatedAll(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.DecorrelatedAll) +} +inline PROTOBUF_NDEBUG_INLINE DecorrelatedAll::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::DecorrelatedAll& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +DecorrelatedAll::DecorrelatedAll( + ::google::protobuf::Arena* arena, + const DecorrelatedAll& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + DecorrelatedAll* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.metadata_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>( + arena, *from._impl_.metadata_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.DecorrelatedAll) +} +inline PROTOBUF_NDEBUG_INLINE DecorrelatedAll::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void DecorrelatedAll::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.metadata_ = {}; +} +DecorrelatedAll::~DecorrelatedAll() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.DecorrelatedAll) + SharedDtor(*this); +} +inline void DecorrelatedAll::SharedDtor(MessageLite& self) { + DecorrelatedAll& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.metadata_; + this_._impl_.~Impl_(); +} + +inline void* DecorrelatedAll::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DecorrelatedAll(arena); +} +constexpr auto DecorrelatedAll::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DecorrelatedAll), + alignof(DecorrelatedAll)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull DecorrelatedAll::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_DecorrelatedAll_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &DecorrelatedAll::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &DecorrelatedAll::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &DecorrelatedAll::ByteSizeLong, + &DecorrelatedAll::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(DecorrelatedAll, _impl_._cached_size_), + false, + }, + &DecorrelatedAll::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DecorrelatedAll::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DecorrelatedAll::_table_ = { + { + PROTOBUF_FIELD_OFFSET(DecorrelatedAll, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::DecorrelatedAll>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 1 [json_name = "metadata"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(DecorrelatedAll, _impl_.metadata_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 1 [json_name = "metadata"]; + {PROTOBUF_FIELD_OFFSET(DecorrelatedAll, _impl_.metadata_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMetadata>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void DecorrelatedAll::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.DecorrelatedAll) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.metadata_ != nullptr); + _impl_.metadata_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* DecorrelatedAll::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const DecorrelatedAll& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* DecorrelatedAll::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const DecorrelatedAll& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.DecorrelatedAll) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 1 [json_name = "metadata"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.metadata_, this_._impl_.metadata_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.DecorrelatedAll) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t DecorrelatedAll::ByteSizeLong(const MessageLite& base) { + const DecorrelatedAll& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t DecorrelatedAll::ByteSizeLong() const { + const DecorrelatedAll& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.DecorrelatedAll) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 1 [json_name = "metadata"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.metadata_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void DecorrelatedAll::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.DecorrelatedAll) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.metadata_ != nullptr); + if (_this->_impl_.metadata_ == nullptr) { + _this->_impl_.metadata_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(arena, *from._impl_.metadata_); + } else { + _this->_impl_.metadata_->MergeFrom(*from._impl_.metadata_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void DecorrelatedAll::CopyFrom(const DecorrelatedAll& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.DecorrelatedAll) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void DecorrelatedAll::InternalSwap(DecorrelatedAll* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.metadata_, other->_impl_.metadata_); +} + +::google::protobuf::Metadata DecorrelatedAll::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class DecorrelatedSingle::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_._has_bits_); +}; + +DecorrelatedSingle::DecorrelatedSingle(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.DecorrelatedSingle) +} +inline PROTOBUF_NDEBUG_INLINE DecorrelatedSingle::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::DecorrelatedSingle& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + entity_id_(arena, from.entity_id_) {} + +DecorrelatedSingle::DecorrelatedSingle( + ::google::protobuf::Arena* arena, + const DecorrelatedSingle& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + DecorrelatedSingle* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.metadata_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>( + arena, *from._impl_.metadata_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.DecorrelatedSingle) +} +inline PROTOBUF_NDEBUG_INLINE DecorrelatedSingle::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + entity_id_(arena) {} + +inline void DecorrelatedSingle::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.metadata_ = {}; +} +DecorrelatedSingle::~DecorrelatedSingle() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.DecorrelatedSingle) + SharedDtor(*this); +} +inline void DecorrelatedSingle::SharedDtor(MessageLite& self) { + DecorrelatedSingle& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.entity_id_.Destroy(); + delete this_._impl_.metadata_; + this_._impl_.~Impl_(); +} + +inline void* DecorrelatedSingle::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DecorrelatedSingle(arena); +} +constexpr auto DecorrelatedSingle::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(DecorrelatedSingle), + alignof(DecorrelatedSingle)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull DecorrelatedSingle::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_DecorrelatedSingle_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &DecorrelatedSingle::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &DecorrelatedSingle::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &DecorrelatedSingle::ByteSizeLong, + &DecorrelatedSingle::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_._cached_size_), + false, + }, + &DecorrelatedSingle::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DecorrelatedSingle::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 61, 2> DecorrelatedSingle::_table_ = { + { + PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::DecorrelatedSingle>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_.metadata_)}}, + // string entity_id = 1 [json_name = "entityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_.entity_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string entity_id = 1 [json_name = "entityId"]; + {PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_.entity_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + {PROTOBUF_FIELD_OFFSET(DecorrelatedSingle, _impl_.metadata_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMetadata>()}, + }}, {{ + "\53\11\0\0\0\0\0\0" + "anduril.entitymanager.v1.DecorrelatedSingle" + "entity_id" + }}, +}; + +PROTOBUF_NOINLINE void DecorrelatedSingle::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.DecorrelatedSingle) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entity_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.metadata_ != nullptr); + _impl_.metadata_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* DecorrelatedSingle::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const DecorrelatedSingle& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* DecorrelatedSingle::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const DecorrelatedSingle& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.DecorrelatedSingle) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + const std::string& _s = this_._internal_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.DecorrelatedSingle.entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.metadata_, this_._impl_.metadata_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.DecorrelatedSingle) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t DecorrelatedSingle::ByteSizeLong(const MessageLite& base) { + const DecorrelatedSingle& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t DecorrelatedSingle::ByteSizeLong() const { + const DecorrelatedSingle& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.DecorrelatedSingle) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entity_id()); + } + } + { + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.metadata_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void DecorrelatedSingle::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.DecorrelatedSingle) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_entity_id().empty()) { + _this->_internal_set_entity_id(from._internal_entity_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.metadata_ != nullptr); + if (_this->_impl_.metadata_ == nullptr) { + _this->_impl_.metadata_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(arena, *from._impl_.metadata_); + } else { + _this->_impl_.metadata_->MergeFrom(*from._impl_.metadata_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void DecorrelatedSingle::CopyFrom(const DecorrelatedSingle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.DecorrelatedSingle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void DecorrelatedSingle::InternalSwap(DecorrelatedSingle* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entity_id_, &other->_impl_.entity_id_, arena); + swap(_impl_.metadata_, other->_impl_.metadata_); +} + +::google::protobuf::Metadata DecorrelatedSingle::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class CorrelationMetadata::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_._has_bits_); +}; + +CorrelationMetadata::CorrelationMetadata(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.CorrelationMetadata) +} +inline PROTOBUF_NDEBUG_INLINE CorrelationMetadata::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::CorrelationMetadata& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +CorrelationMetadata::CorrelationMetadata( + ::google::protobuf::Arena* arena, + const CorrelationMetadata& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CorrelationMetadata* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.provenance_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>( + arena, *from._impl_.provenance_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, replication_mode_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, replication_mode_), + offsetof(Impl_, type_) - + offsetof(Impl_, replication_mode_) + + sizeof(Impl_::type_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.CorrelationMetadata) +} +inline PROTOBUF_NDEBUG_INLINE CorrelationMetadata::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CorrelationMetadata::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, provenance_), + 0, + offsetof(Impl_, type_) - + offsetof(Impl_, provenance_) + + sizeof(Impl_::type_)); +} +CorrelationMetadata::~CorrelationMetadata() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.CorrelationMetadata) + SharedDtor(*this); +} +inline void CorrelationMetadata::SharedDtor(MessageLite& self) { + CorrelationMetadata& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.provenance_; + this_._impl_.~Impl_(); +} + +inline void* CorrelationMetadata::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CorrelationMetadata(arena); +} +constexpr auto CorrelationMetadata::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CorrelationMetadata), + alignof(CorrelationMetadata)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull CorrelationMetadata::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CorrelationMetadata_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CorrelationMetadata::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CorrelationMetadata::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CorrelationMetadata::ByteSizeLong, + &CorrelationMetadata::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_._cached_size_), + false, + }, + &CorrelationMetadata::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CorrelationMetadata::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> CorrelationMetadata::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CorrelationMetadata>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Provenance provenance = 1 [json_name = "provenance"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.provenance_)}}, + // .anduril.entitymanager.v1.CorrelationReplicationMode replication_mode = 2 [json_name = "replicationMode"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CorrelationMetadata, _impl_.replication_mode_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.replication_mode_)}}, + // .anduril.entitymanager.v1.CorrelationType type = 3 [json_name = "type"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CorrelationMetadata, _impl_.type_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Provenance provenance = 1 [json_name = "provenance"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.provenance_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.CorrelationReplicationMode replication_mode = 2 [json_name = "replicationMode"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.replication_mode_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.CorrelationType type = 3 [json_name = "type"]; + {PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Provenance>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void CorrelationMetadata::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.CorrelationMetadata) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.provenance_ != nullptr); + _impl_.provenance_->Clear(); + } + ::memset(&_impl_.replication_mode_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.replication_mode_)) + sizeof(_impl_.type_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CorrelationMetadata::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CorrelationMetadata& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CorrelationMetadata::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CorrelationMetadata& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.CorrelationMetadata) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Provenance provenance = 1 [json_name = "provenance"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.provenance_, this_._impl_.provenance_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.CorrelationReplicationMode replication_mode = 2 [json_name = "replicationMode"]; + if (this_._internal_replication_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_replication_mode(), target); + } + + // .anduril.entitymanager.v1.CorrelationType type = 3 [json_name = "type"]; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.CorrelationMetadata) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t CorrelationMetadata::ByteSizeLong(const MessageLite& base) { + const CorrelationMetadata& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CorrelationMetadata::ByteSizeLong() const { + const CorrelationMetadata& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.CorrelationMetadata) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .anduril.entitymanager.v1.Provenance provenance = 1 [json_name = "provenance"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.provenance_); + } + } + { + // .anduril.entitymanager.v1.CorrelationReplicationMode replication_mode = 2 [json_name = "replicationMode"]; + if (this_._internal_replication_mode() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_replication_mode()); + } + // .anduril.entitymanager.v1.CorrelationType type = 3 [json_name = "type"]; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void CorrelationMetadata::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.CorrelationMetadata) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.provenance_ != nullptr); + if (_this->_impl_.provenance_ == nullptr) { + _this->_impl_.provenance_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>(arena, *from._impl_.provenance_); + } else { + _this->_impl_.provenance_->MergeFrom(*from._impl_.provenance_); + } + } + if (from._internal_replication_mode() != 0) { + _this->_impl_.replication_mode_ = from._impl_.replication_mode_; + } + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CorrelationMetadata::CopyFrom(const CorrelationMetadata& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.CorrelationMetadata) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CorrelationMetadata::InternalSwap(CorrelationMetadata* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.type_) + + sizeof(CorrelationMetadata::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CorrelationMetadata, _impl_.provenance_)>( + reinterpret_cast(&_impl_.provenance_), + reinterpret_cast(&other->_impl_.provenance_)); +} + +::google::protobuf::Metadata CorrelationMetadata::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/entity.pub.pb.h b/src/anduril/entitymanager/v1/entity.pub.pb.h new file mode 100644 index 0000000..802d586 --- /dev/null +++ b/src/anduril/entitymanager/v1/entity.pub.pb.h @@ -0,0 +1,12611 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/entity.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/classification.pub.pb.h" +#include "anduril/entitymanager/v1/dimensions.pub.pb.h" +#include "anduril/entitymanager/v1/geoentity.pub.pb.h" +#include "anduril/entitymanager/v1/group.pub.pb.h" +#include "anduril/entitymanager/v1/health_status.pub.pb.h" +#include "anduril/entitymanager/v1/location.pub.pb.h" +#include "anduril/entitymanager/v1/ontology.pub.pb.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +#include "anduril/entitymanager/v1/orbit.pub.pb.h" +#include "anduril/entitymanager/v1/payloads.pub.pb.h" +#include "anduril/entitymanager/v1/power.pub.pb.h" +#include "anduril/entitymanager/v1/relationship.pub.pb.h" +#include "anduril/entitymanager/v1/route_details.pub.pb.h" +#include "anduril/entitymanager/v1/schedule.pub.pb.h" +#include "anduril/entitymanager/v1/sensors.pub.pb.h" +#include "anduril/entitymanager/v1/signal.pub.pb.h" +#include "anduril/entitymanager/v1/supplies.pub.pb.h" +#include "anduril/entitymanager/v1/target_priority.pub.pb.h" +#include "anduril/entitymanager/v1/transponder_codes.pub.pb.h" +#include "anduril/entitymanager/v1/types.pub.pb.h" +#include "anduril/tasks/v2/catalog.pub.pb.h" +#include "anduril/type/color.pub.pb.h" +#include "google/protobuf/timestamp.pb.h" +#include "google/protobuf/wrappers.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Aliases; +struct AliasesDefaultTypeInternal; +extern AliasesDefaultTypeInternal _Aliases_default_instance_; +class AlternateId; +struct AlternateIdDefaultTypeInternal; +extern AlternateIdDefaultTypeInternal _AlternateId_default_instance_; +class Correlation; +struct CorrelationDefaultTypeInternal; +extern CorrelationDefaultTypeInternal _Correlation_default_instance_; +class CorrelationMembership; +struct CorrelationMembershipDefaultTypeInternal; +extern CorrelationMembershipDefaultTypeInternal _CorrelationMembership_default_instance_; +class CorrelationMetadata; +struct CorrelationMetadataDefaultTypeInternal; +extern CorrelationMetadataDefaultTypeInternal _CorrelationMetadata_default_instance_; +class DecorrelatedAll; +struct DecorrelatedAllDefaultTypeInternal; +extern DecorrelatedAllDefaultTypeInternal _DecorrelatedAll_default_instance_; +class DecorrelatedSingle; +struct DecorrelatedSingleDefaultTypeInternal; +extern DecorrelatedSingleDefaultTypeInternal _DecorrelatedSingle_default_instance_; +class Decorrelation; +struct DecorrelationDefaultTypeInternal; +extern DecorrelationDefaultTypeInternal _Decorrelation_default_instance_; +class Entity; +struct EntityDefaultTypeInternal; +extern EntityDefaultTypeInternal _Entity_default_instance_; +class Indicators; +struct IndicatorsDefaultTypeInternal; +extern IndicatorsDefaultTypeInternal _Indicators_default_instance_; +class NonPrimaryMembership; +struct NonPrimaryMembershipDefaultTypeInternal; +extern NonPrimaryMembershipDefaultTypeInternal _NonPrimaryMembership_default_instance_; +class Override; +struct OverrideDefaultTypeInternal; +extern OverrideDefaultTypeInternal _Override_default_instance_; +class Overrides; +struct OverridesDefaultTypeInternal; +extern OverridesDefaultTypeInternal _Overrides_default_instance_; +class PrimaryCorrelation; +struct PrimaryCorrelationDefaultTypeInternal; +extern PrimaryCorrelationDefaultTypeInternal _PrimaryCorrelation_default_instance_; +class PrimaryMembership; +struct PrimaryMembershipDefaultTypeInternal; +extern PrimaryMembershipDefaultTypeInternal _PrimaryMembership_default_instance_; +class Provenance; +struct ProvenanceDefaultTypeInternal; +extern ProvenanceDefaultTypeInternal _Provenance_default_instance_; +class RangeRings; +struct RangeRingsDefaultTypeInternal; +extern RangeRingsDefaultTypeInternal _RangeRings_default_instance_; +class SecondaryCorrelation; +struct SecondaryCorrelationDefaultTypeInternal; +extern SecondaryCorrelationDefaultTypeInternal _SecondaryCorrelation_default_instance_; +class Status; +struct StatusDefaultTypeInternal; +extern StatusDefaultTypeInternal _Status_default_instance_; +class Tracked; +struct TrackedDefaultTypeInternal; +extern TrackedDefaultTypeInternal _Tracked_default_instance_; +class VisualDetails; +struct VisualDetailsDefaultTypeInternal; +extern VisualDetailsDefaultTypeInternal _VisualDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum CorrelationType : int { + CORRELATION_TYPE_INVALID = 0, + CORRELATION_TYPE_MANUAL = 1, + CORRELATION_TYPE_AUTOMATED = 2, + CorrelationType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + CorrelationType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool CorrelationType_IsValid(int value); +extern const uint32_t CorrelationType_internal_data_[]; +constexpr CorrelationType CorrelationType_MIN = static_cast(0); +constexpr CorrelationType CorrelationType_MAX = static_cast(2); +constexpr int CorrelationType_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* +CorrelationType_descriptor(); +template +const std::string& CorrelationType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to CorrelationType_Name()."); + return CorrelationType_Name(static_cast(value)); +} +template <> +inline const std::string& CorrelationType_Name(CorrelationType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool CorrelationType_Parse(absl::string_view name, CorrelationType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CorrelationType_descriptor(), name, value); +} +enum CorrelationReplicationMode : int { + CORRELATION_REPLICATION_MODE_INVALID = 0, + CORRELATION_REPLICATION_MODE_LOCAL = 1, + CORRELATION_REPLICATION_MODE_GLOBAL = 2, + CorrelationReplicationMode_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + CorrelationReplicationMode_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool CorrelationReplicationMode_IsValid(int value); +extern const uint32_t CorrelationReplicationMode_internal_data_[]; +constexpr CorrelationReplicationMode CorrelationReplicationMode_MIN = static_cast(0); +constexpr CorrelationReplicationMode CorrelationReplicationMode_MAX = static_cast(2); +constexpr int CorrelationReplicationMode_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* +CorrelationReplicationMode_descriptor(); +template +const std::string& CorrelationReplicationMode_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to CorrelationReplicationMode_Name()."); + return CorrelationReplicationMode_Name(static_cast(value)); +} +template <> +inline const std::string& CorrelationReplicationMode_Name(CorrelationReplicationMode value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool CorrelationReplicationMode_Parse(absl::string_view name, CorrelationReplicationMode* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CorrelationReplicationMode_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Status final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Status) */ { + public: + inline Status() : Status(nullptr) {} + ~Status() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Status* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Status)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Status( + ::google::protobuf::internal::ConstantInitialized); + + inline Status(const Status& from) : Status(nullptr, from) {} + inline Status(Status&& from) noexcept + : Status(nullptr, std::move(from)) {} + inline Status& operator=(const Status& from) { + CopyFrom(from); + return *this; + } + inline Status& operator=(Status&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Status& default_instance() { + return *internal_default_instance(); + } + static inline const Status* internal_default_instance() { + return reinterpret_cast( + &_Status_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Status& a, Status& b) { a.Swap(&b); } + inline void Swap(Status* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Status* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Status* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Status& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Status& from) { Status::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Status* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Status"; } + + protected: + explicit Status(::google::protobuf::Arena* arena); + Status(::google::protobuf::Arena* arena, const Status& from); + Status(::google::protobuf::Arena* arena, Status&& from) noexcept + : Status(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPlatformActivityFieldNumber = 1, + kRoleFieldNumber = 2, + }; + // string platform_activity = 1 [json_name = "platformActivity"]; + void clear_platform_activity() ; + const std::string& platform_activity() const; + template + void set_platform_activity(Arg_&& arg, Args_... args); + std::string* mutable_platform_activity(); + PROTOBUF_NODISCARD std::string* release_platform_activity(); + void set_allocated_platform_activity(std::string* value); + + private: + const std::string& _internal_platform_activity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform_activity( + const std::string& value); + std::string* _internal_mutable_platform_activity(); + + public: + // string role = 2 [json_name = "role"]; + void clear_role() ; + const std::string& role() const; + template + void set_role(Arg_&& arg, Args_... args); + std::string* mutable_role(); + PROTOBUF_NODISCARD std::string* release_role(); + void set_allocated_role(std::string* value); + + private: + const std::string& _internal_role() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_role( + const std::string& value); + std::string* _internal_mutable_role(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Status) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 61, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Status& from_msg); + ::google::protobuf::internal::ArenaStringPtr platform_activity_; + ::google::protobuf::internal::ArenaStringPtr role_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PrimaryMembership final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PrimaryMembership) */ { + public: + inline PrimaryMembership() : PrimaryMembership(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PrimaryMembership* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PrimaryMembership)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PrimaryMembership( + ::google::protobuf::internal::ConstantInitialized); + + inline PrimaryMembership(const PrimaryMembership& from) : PrimaryMembership(nullptr, from) {} + inline PrimaryMembership(PrimaryMembership&& from) noexcept + : PrimaryMembership(nullptr, std::move(from)) {} + inline PrimaryMembership& operator=(const PrimaryMembership& from) { + CopyFrom(from); + return *this; + } + inline PrimaryMembership& operator=(PrimaryMembership&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PrimaryMembership& default_instance() { + return *internal_default_instance(); + } + static inline const PrimaryMembership* internal_default_instance() { + return reinterpret_cast( + &_PrimaryMembership_default_instance_); + } + static constexpr int kIndexInFileMessages = 15; + friend void swap(PrimaryMembership& a, PrimaryMembership& b) { a.Swap(&b); } + inline void Swap(PrimaryMembership* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PrimaryMembership* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PrimaryMembership* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const PrimaryMembership& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const PrimaryMembership& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PrimaryMembership"; } + + protected: + explicit PrimaryMembership(::google::protobuf::Arena* arena); + PrimaryMembership(::google::protobuf::Arena* arena, const PrimaryMembership& from); + PrimaryMembership(::google::protobuf::Arena* arena, PrimaryMembership&& from) noexcept + : PrimaryMembership(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PrimaryMembership) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PrimaryMembership& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PrimaryCorrelation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PrimaryCorrelation) */ { + public: + inline PrimaryCorrelation() : PrimaryCorrelation(nullptr) {} + ~PrimaryCorrelation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PrimaryCorrelation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PrimaryCorrelation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PrimaryCorrelation( + ::google::protobuf::internal::ConstantInitialized); + + inline PrimaryCorrelation(const PrimaryCorrelation& from) : PrimaryCorrelation(nullptr, from) {} + inline PrimaryCorrelation(PrimaryCorrelation&& from) noexcept + : PrimaryCorrelation(nullptr, std::move(from)) {} + inline PrimaryCorrelation& operator=(const PrimaryCorrelation& from) { + CopyFrom(from); + return *this; + } + inline PrimaryCorrelation& operator=(PrimaryCorrelation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PrimaryCorrelation& default_instance() { + return *internal_default_instance(); + } + static inline const PrimaryCorrelation* internal_default_instance() { + return reinterpret_cast( + &_PrimaryCorrelation_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(PrimaryCorrelation& a, PrimaryCorrelation& b) { a.Swap(&b); } + inline void Swap(PrimaryCorrelation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PrimaryCorrelation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PrimaryCorrelation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PrimaryCorrelation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PrimaryCorrelation& from) { PrimaryCorrelation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PrimaryCorrelation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PrimaryCorrelation"; } + + protected: + explicit PrimaryCorrelation(::google::protobuf::Arena* arena); + PrimaryCorrelation(::google::protobuf::Arena* arena, const PrimaryCorrelation& from); + PrimaryCorrelation(::google::protobuf::Arena* arena, PrimaryCorrelation&& from) noexcept + : PrimaryCorrelation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSecondaryEntityIdsFieldNumber = 1, + }; + // repeated string secondary_entity_ids = 1 [json_name = "secondaryEntityIds"]; + int secondary_entity_ids_size() const; + private: + int _internal_secondary_entity_ids_size() const; + + public: + void clear_secondary_entity_ids() ; + const std::string& secondary_entity_ids(int index) const; + std::string* mutable_secondary_entity_ids(int index); + template + void set_secondary_entity_ids(int index, Arg_&& value, Args_... args); + std::string* add_secondary_entity_ids(); + template + void add_secondary_entity_ids(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& secondary_entity_ids() const; + ::google::protobuf::RepeatedPtrField* mutable_secondary_entity_ids(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_secondary_entity_ids() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_secondary_entity_ids(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PrimaryCorrelation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 72, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PrimaryCorrelation& from_msg); + ::google::protobuf::RepeatedPtrField secondary_entity_ids_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class NonPrimaryMembership final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.NonPrimaryMembership) */ { + public: + inline NonPrimaryMembership() : NonPrimaryMembership(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(NonPrimaryMembership* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(NonPrimaryMembership)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR NonPrimaryMembership( + ::google::protobuf::internal::ConstantInitialized); + + inline NonPrimaryMembership(const NonPrimaryMembership& from) : NonPrimaryMembership(nullptr, from) {} + inline NonPrimaryMembership(NonPrimaryMembership&& from) noexcept + : NonPrimaryMembership(nullptr, std::move(from)) {} + inline NonPrimaryMembership& operator=(const NonPrimaryMembership& from) { + CopyFrom(from); + return *this; + } + inline NonPrimaryMembership& operator=(NonPrimaryMembership&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const NonPrimaryMembership& default_instance() { + return *internal_default_instance(); + } + static inline const NonPrimaryMembership* internal_default_instance() { + return reinterpret_cast( + &_NonPrimaryMembership_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(NonPrimaryMembership& a, NonPrimaryMembership& b) { a.Swap(&b); } + inline void Swap(NonPrimaryMembership* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(NonPrimaryMembership* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NonPrimaryMembership* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const NonPrimaryMembership& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const NonPrimaryMembership& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.NonPrimaryMembership"; } + + protected: + explicit NonPrimaryMembership(::google::protobuf::Arena* arena); + NonPrimaryMembership(::google::protobuf::Arena* arena, const NonPrimaryMembership& from); + NonPrimaryMembership(::google::protobuf::Arena* arena, NonPrimaryMembership&& from) noexcept + : NonPrimaryMembership(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.NonPrimaryMembership) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const NonPrimaryMembership& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class AlternateId final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.AlternateId) */ { + public: + inline AlternateId() : AlternateId(nullptr) {} + ~AlternateId() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AlternateId* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AlternateId)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR AlternateId( + ::google::protobuf::internal::ConstantInitialized); + + inline AlternateId(const AlternateId& from) : AlternateId(nullptr, from) {} + inline AlternateId(AlternateId&& from) noexcept + : AlternateId(nullptr, std::move(from)) {} + inline AlternateId& operator=(const AlternateId& from) { + CopyFrom(from); + return *this; + } + inline AlternateId& operator=(AlternateId&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AlternateId& default_instance() { + return *internal_default_instance(); + } + static inline const AlternateId* internal_default_instance() { + return reinterpret_cast( + &_AlternateId_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(AlternateId& a, AlternateId& b) { a.Swap(&b); } + inline void Swap(AlternateId* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AlternateId* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AlternateId* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AlternateId& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AlternateId& from) { AlternateId::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AlternateId* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.AlternateId"; } + + protected: + explicit AlternateId(::google::protobuf::Arena* arena); + AlternateId(::google::protobuf::Arena* arena, const AlternateId& from); + AlternateId(::google::protobuf::Arena* arena, AlternateId&& from) noexcept + : AlternateId(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIdFieldNumber = 2, + kTypeFieldNumber = 3, + }; + // string id = 2 [json_name = "id"]; + void clear_id() ; + const std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* value); + + private: + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( + const std::string& value); + std::string* _internal_mutable_id(); + + public: + // .anduril.entitymanager.v1.AltIdType type = 3 [json_name = "type"]; + void clear_type() ; + ::anduril::entitymanager::v1::AltIdType type() const; + void set_type(::anduril::entitymanager::v1::AltIdType value); + + private: + ::anduril::entitymanager::v1::AltIdType _internal_type() const; + void _internal_set_type(::anduril::entitymanager::v1::AltIdType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.AlternateId) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 47, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AlternateId& from_msg); + ::google::protobuf::internal::ArenaStringPtr id_; + int type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Provenance final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Provenance) */ { + public: + inline Provenance() : Provenance(nullptr) {} + ~Provenance() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Provenance* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Provenance)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Provenance( + ::google::protobuf::internal::ConstantInitialized); + + inline Provenance(const Provenance& from) : Provenance(nullptr, from) {} + inline Provenance(Provenance&& from) noexcept + : Provenance(nullptr, std::move(from)) {} + inline Provenance& operator=(const Provenance& from) { + CopyFrom(from); + return *this; + } + inline Provenance& operator=(Provenance&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Provenance& default_instance() { + return *internal_default_instance(); + } + static inline const Provenance* internal_default_instance() { + return reinterpret_cast( + &_Provenance_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(Provenance& a, Provenance& b) { a.Swap(&b); } + inline void Swap(Provenance* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Provenance* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Provenance* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Provenance& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Provenance& from) { Provenance::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Provenance* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Provenance"; } + + protected: + explicit Provenance(::google::protobuf::Arena* arena); + Provenance(::google::protobuf::Arena* arena, const Provenance& from); + Provenance(::google::protobuf::Arena* arena, Provenance&& from) noexcept + : Provenance(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSourceIdFieldNumber = 3, + kSourceDescriptionFieldNumber = 4, + kIntegrationNameFieldNumber = 5, + kDataTypeFieldNumber = 6, + kSourceUpdateTimeFieldNumber = 2, + }; + // string source_id = 3 [json_name = "sourceId"]; + void clear_source_id() ; + const std::string& source_id() const; + template + void set_source_id(Arg_&& arg, Args_... args); + std::string* mutable_source_id(); + PROTOBUF_NODISCARD std::string* release_source_id(); + void set_allocated_source_id(std::string* value); + + private: + const std::string& _internal_source_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_id( + const std::string& value); + std::string* _internal_mutable_source_id(); + + public: + // string source_description = 4 [json_name = "sourceDescription"]; + void clear_source_description() ; + const std::string& source_description() const; + template + void set_source_description(Arg_&& arg, Args_... args); + std::string* mutable_source_description(); + PROTOBUF_NODISCARD std::string* release_source_description(); + void set_allocated_source_description(std::string* value); + + private: + const std::string& _internal_source_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_description( + const std::string& value); + std::string* _internal_mutable_source_description(); + + public: + // string integration_name = 5 [json_name = "integrationName"]; + void clear_integration_name() ; + const std::string& integration_name() const; + template + void set_integration_name(Arg_&& arg, Args_... args); + std::string* mutable_integration_name(); + PROTOBUF_NODISCARD std::string* release_integration_name(); + void set_allocated_integration_name(std::string* value); + + private: + const std::string& _internal_integration_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_integration_name( + const std::string& value); + std::string* _internal_mutable_integration_name(); + + public: + // string data_type = 6 [json_name = "dataType"]; + void clear_data_type() ; + const std::string& data_type() const; + template + void set_data_type(Arg_&& arg, Args_... args); + std::string* mutable_data_type(); + PROTOBUF_NODISCARD std::string* release_data_type(); + void set_allocated_data_type(std::string* value); + + private: + const std::string& _internal_data_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data_type( + const std::string& value); + std::string* _internal_mutable_data_type(); + + public: + // .google.protobuf.Timestamp source_update_time = 2 [json_name = "sourceUpdateTime"]; + bool has_source_update_time() const; + void clear_source_update_time() ; + const ::google::protobuf::Timestamp& source_update_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_source_update_time(); + ::google::protobuf::Timestamp* mutable_source_update_time(); + void set_allocated_source_update_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_source_update_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_source_update_time(); + + private: + const ::google::protobuf::Timestamp& _internal_source_update_time() const; + ::google::protobuf::Timestamp* _internal_mutable_source_update_time(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Provenance) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 1, + 96, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Provenance& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr source_id_; + ::google::protobuf::internal::ArenaStringPtr source_description_; + ::google::protobuf::internal::ArenaStringPtr integration_name_; + ::google::protobuf::internal::ArenaStringPtr data_type_; + ::google::protobuf::Timestamp* source_update_time_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Indicators final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Indicators) */ { + public: + inline Indicators() : Indicators(nullptr) {} + ~Indicators() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Indicators* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Indicators)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Indicators( + ::google::protobuf::internal::ConstantInitialized); + + inline Indicators(const Indicators& from) : Indicators(nullptr, from) {} + inline Indicators(Indicators&& from) noexcept + : Indicators(nullptr, std::move(from)) {} + inline Indicators& operator=(const Indicators& from) { + CopyFrom(from); + return *this; + } + inline Indicators& operator=(Indicators&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Indicators& default_instance() { + return *internal_default_instance(); + } + static inline const Indicators* internal_default_instance() { + return reinterpret_cast( + &_Indicators_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(Indicators& a, Indicators& b) { a.Swap(&b); } + inline void Swap(Indicators* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Indicators* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Indicators* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Indicators& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Indicators& from) { Indicators::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Indicators* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Indicators"; } + + protected: + explicit Indicators(::google::protobuf::Arena* arena); + Indicators(::google::protobuf::Arena* arena, const Indicators& from); + Indicators(::google::protobuf::Arena* arena, Indicators&& from) noexcept + : Indicators(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSimulatedFieldNumber = 1, + kExerciseFieldNumber = 2, + kEmergencyFieldNumber = 3, + kC2FieldNumber = 4, + kEgressableFieldNumber = 6, + kStarredFieldNumber = 7, + }; + // .google.protobuf.BoolValue simulated = 1 [json_name = "simulated"]; + bool has_simulated() const; + void clear_simulated() ; + const ::google::protobuf::BoolValue& simulated() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_simulated(); + ::google::protobuf::BoolValue* mutable_simulated(); + void set_allocated_simulated(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_simulated(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_simulated(); + + private: + const ::google::protobuf::BoolValue& _internal_simulated() const; + ::google::protobuf::BoolValue* _internal_mutable_simulated(); + + public: + // .google.protobuf.BoolValue exercise = 2 [json_name = "exercise"]; + bool has_exercise() const; + void clear_exercise() ; + const ::google::protobuf::BoolValue& exercise() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_exercise(); + ::google::protobuf::BoolValue* mutable_exercise(); + void set_allocated_exercise(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_exercise(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_exercise(); + + private: + const ::google::protobuf::BoolValue& _internal_exercise() const; + ::google::protobuf::BoolValue* _internal_mutable_exercise(); + + public: + // .google.protobuf.BoolValue emergency = 3 [json_name = "emergency"]; + bool has_emergency() const; + void clear_emergency() ; + const ::google::protobuf::BoolValue& emergency() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_emergency(); + ::google::protobuf::BoolValue* mutable_emergency(); + void set_allocated_emergency(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_emergency(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_emergency(); + + private: + const ::google::protobuf::BoolValue& _internal_emergency() const; + ::google::protobuf::BoolValue* _internal_mutable_emergency(); + + public: + // .google.protobuf.BoolValue c2 = 4 [json_name = "c2"]; + bool has_c2() const; + void clear_c2() ; + const ::google::protobuf::BoolValue& c2() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_c2(); + ::google::protobuf::BoolValue* mutable_c2(); + void set_allocated_c2(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_c2(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_c2(); + + private: + const ::google::protobuf::BoolValue& _internal_c2() const; + ::google::protobuf::BoolValue* _internal_mutable_c2(); + + public: + // .google.protobuf.BoolValue egressable = 6 [json_name = "egressable", (.anduril.entitymanager.v1.overridable) = true]; + bool has_egressable() const; + void clear_egressable() ; + const ::google::protobuf::BoolValue& egressable() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_egressable(); + ::google::protobuf::BoolValue* mutable_egressable(); + void set_allocated_egressable(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_egressable(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_egressable(); + + private: + const ::google::protobuf::BoolValue& _internal_egressable() const; + ::google::protobuf::BoolValue* _internal_mutable_egressable(); + + public: + // .google.protobuf.BoolValue starred = 7 [json_name = "starred", (.anduril.entitymanager.v1.overridable) = true]; + bool has_starred() const; + void clear_starred() ; + const ::google::protobuf::BoolValue& starred() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_starred(); + ::google::protobuf::BoolValue* mutable_starred(); + void set_allocated_starred(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_starred(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_starred(); + + private: + const ::google::protobuf::BoolValue& _internal_starred() const; + ::google::protobuf::BoolValue* _internal_mutable_starred(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Indicators) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 6, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Indicators& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::BoolValue* simulated_; + ::google::protobuf::BoolValue* exercise_; + ::google::protobuf::BoolValue* emergency_; + ::google::protobuf::BoolValue* c2_; + ::google::protobuf::BoolValue* egressable_; + ::google::protobuf::BoolValue* starred_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Aliases final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Aliases) */ { + public: + inline Aliases() : Aliases(nullptr) {} + ~Aliases() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Aliases* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Aliases)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Aliases( + ::google::protobuf::internal::ConstantInitialized); + + inline Aliases(const Aliases& from) : Aliases(nullptr, from) {} + inline Aliases(Aliases&& from) noexcept + : Aliases(nullptr, std::move(from)) {} + inline Aliases& operator=(const Aliases& from) { + CopyFrom(from); + return *this; + } + inline Aliases& operator=(Aliases&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Aliases& default_instance() { + return *internal_default_instance(); + } + static inline const Aliases* internal_default_instance() { + return reinterpret_cast( + &_Aliases_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Aliases& a, Aliases& b) { a.Swap(&b); } + inline void Swap(Aliases* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Aliases* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Aliases* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Aliases& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Aliases& from) { Aliases::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Aliases* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Aliases"; } + + protected: + explicit Aliases(::google::protobuf::Arena* arena); + Aliases(::google::protobuf::Arena* arena, const Aliases& from); + Aliases(::google::protobuf::Arena* arena, Aliases&& from) noexcept + : Aliases(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAlternateIdsFieldNumber = 1, + kNameFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.AlternateId alternate_ids = 1 [json_name = "alternateIds", (.anduril.entitymanager.v1.overridable) = true]; + int alternate_ids_size() const; + private: + int _internal_alternate_ids_size() const; + + public: + void clear_alternate_ids() ; + ::anduril::entitymanager::v1::AlternateId* mutable_alternate_ids(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>* mutable_alternate_ids(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>& _internal_alternate_ids() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>* _internal_mutable_alternate_ids(); + public: + const ::anduril::entitymanager::v1::AlternateId& alternate_ids(int index) const; + ::anduril::entitymanager::v1::AlternateId* add_alternate_ids(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>& alternate_ids() const; + // string name = 2 [json_name = "name", (.anduril.entitymanager.v1.overridable) = true]; + void clear_name() ; + const std::string& name() const; + template + void set_name(Arg_&& arg, Args_... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* value); + + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( + const std::string& value); + std::string* _internal_mutable_name(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Aliases) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 45, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Aliases& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::AlternateId > alternate_ids_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class RangeRings final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RangeRings) */ { + public: + inline RangeRings() : RangeRings(nullptr) {} + ~RangeRings() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RangeRings* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RangeRings)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RangeRings( + ::google::protobuf::internal::ConstantInitialized); + + inline RangeRings(const RangeRings& from) : RangeRings(nullptr, from) {} + inline RangeRings(RangeRings&& from) noexcept + : RangeRings(nullptr, std::move(from)) {} + inline RangeRings& operator=(const RangeRings& from) { + CopyFrom(from); + return *this; + } + inline RangeRings& operator=(RangeRings&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RangeRings& default_instance() { + return *internal_default_instance(); + } + static inline const RangeRings* internal_default_instance() { + return reinterpret_cast( + &_RangeRings_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(RangeRings& a, RangeRings& b) { a.Swap(&b); } + inline void Swap(RangeRings* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RangeRings* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RangeRings* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RangeRings& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RangeRings& from) { RangeRings::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RangeRings* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RangeRings"; } + + protected: + explicit RangeRings(::google::protobuf::Arena* arena); + RangeRings(::google::protobuf::Arena* arena, const RangeRings& from); + RangeRings(::google::protobuf::Arena* arena, RangeRings&& from) noexcept + : RangeRings(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMinDistanceMFieldNumber = 1, + kMaxDistanceMFieldNumber = 2, + kRingLineColorFieldNumber = 4, + kRingCountFieldNumber = 3, + }; + // .google.protobuf.DoubleValue min_distance_m = 1 [json_name = "minDistanceM"]; + bool has_min_distance_m() const; + void clear_min_distance_m() ; + const ::google::protobuf::DoubleValue& min_distance_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_min_distance_m(); + ::google::protobuf::DoubleValue* mutable_min_distance_m(); + void set_allocated_min_distance_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_min_distance_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_min_distance_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_min_distance_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_min_distance_m(); + + public: + // .google.protobuf.DoubleValue max_distance_m = 2 [json_name = "maxDistanceM"]; + bool has_max_distance_m() const; + void clear_max_distance_m() ; + const ::google::protobuf::DoubleValue& max_distance_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_max_distance_m(); + ::google::protobuf::DoubleValue* mutable_max_distance_m(); + void set_allocated_max_distance_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_max_distance_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_max_distance_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_max_distance_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_max_distance_m(); + + public: + // .anduril.type.Color ring_line_color = 4 [json_name = "ringLineColor"]; + bool has_ring_line_color() const; + void clear_ring_line_color() ; + const ::anduril::type::Color& ring_line_color() const; + PROTOBUF_NODISCARD ::anduril::type::Color* release_ring_line_color(); + ::anduril::type::Color* mutable_ring_line_color(); + void set_allocated_ring_line_color(::anduril::type::Color* value); + void unsafe_arena_set_allocated_ring_line_color(::anduril::type::Color* value); + ::anduril::type::Color* unsafe_arena_release_ring_line_color(); + + private: + const ::anduril::type::Color& _internal_ring_line_color() const; + ::anduril::type::Color* _internal_mutable_ring_line_color(); + + public: + // uint32 ring_count = 3 [json_name = "ringCount"]; + void clear_ring_count() ; + ::uint32_t ring_count() const; + void set_ring_count(::uint32_t value); + + private: + ::uint32_t _internal_ring_count() const; + void _internal_set_ring_count(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RangeRings) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RangeRings& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* min_distance_m_; + ::google::protobuf::DoubleValue* max_distance_m_; + ::anduril::type::Color* ring_line_color_; + ::uint32_t ring_count_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class CorrelationMetadata final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.CorrelationMetadata) */ { + public: + inline CorrelationMetadata() : CorrelationMetadata(nullptr) {} + ~CorrelationMetadata() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CorrelationMetadata* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CorrelationMetadata)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CorrelationMetadata( + ::google::protobuf::internal::ConstantInitialized); + + inline CorrelationMetadata(const CorrelationMetadata& from) : CorrelationMetadata(nullptr, from) {} + inline CorrelationMetadata(CorrelationMetadata&& from) noexcept + : CorrelationMetadata(nullptr, std::move(from)) {} + inline CorrelationMetadata& operator=(const CorrelationMetadata& from) { + CopyFrom(from); + return *this; + } + inline CorrelationMetadata& operator=(CorrelationMetadata&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CorrelationMetadata& default_instance() { + return *internal_default_instance(); + } + static inline const CorrelationMetadata* internal_default_instance() { + return reinterpret_cast( + &_CorrelationMetadata_default_instance_); + } + static constexpr int kIndexInFileMessages = 20; + friend void swap(CorrelationMetadata& a, CorrelationMetadata& b) { a.Swap(&b); } + inline void Swap(CorrelationMetadata* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CorrelationMetadata* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CorrelationMetadata* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CorrelationMetadata& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CorrelationMetadata& from) { CorrelationMetadata::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CorrelationMetadata* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.CorrelationMetadata"; } + + protected: + explicit CorrelationMetadata(::google::protobuf::Arena* arena); + CorrelationMetadata(::google::protobuf::Arena* arena, const CorrelationMetadata& from); + CorrelationMetadata(::google::protobuf::Arena* arena, CorrelationMetadata&& from) noexcept + : CorrelationMetadata(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kProvenanceFieldNumber = 1, + kReplicationModeFieldNumber = 2, + kTypeFieldNumber = 3, + }; + // .anduril.entitymanager.v1.Provenance provenance = 1 [json_name = "provenance"]; + bool has_provenance() const; + void clear_provenance() ; + const ::anduril::entitymanager::v1::Provenance& provenance() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Provenance* release_provenance(); + ::anduril::entitymanager::v1::Provenance* mutable_provenance(); + void set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + void unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + ::anduril::entitymanager::v1::Provenance* unsafe_arena_release_provenance(); + + private: + const ::anduril::entitymanager::v1::Provenance& _internal_provenance() const; + ::anduril::entitymanager::v1::Provenance* _internal_mutable_provenance(); + + public: + // .anduril.entitymanager.v1.CorrelationReplicationMode replication_mode = 2 [json_name = "replicationMode"]; + void clear_replication_mode() ; + ::anduril::entitymanager::v1::CorrelationReplicationMode replication_mode() const; + void set_replication_mode(::anduril::entitymanager::v1::CorrelationReplicationMode value); + + private: + ::anduril::entitymanager::v1::CorrelationReplicationMode _internal_replication_mode() const; + void _internal_set_replication_mode(::anduril::entitymanager::v1::CorrelationReplicationMode value); + + public: + // .anduril.entitymanager.v1.CorrelationType type = 3 [json_name = "type"]; + void clear_type() ; + ::anduril::entitymanager::v1::CorrelationType type() const; + void set_type(::anduril::entitymanager::v1::CorrelationType value); + + private: + ::anduril::entitymanager::v1::CorrelationType _internal_type() const; + void _internal_set_type(::anduril::entitymanager::v1::CorrelationType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.CorrelationMetadata) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CorrelationMetadata& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Provenance* provenance_; + int replication_mode_; + int type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class VisualDetails final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.VisualDetails) */ { + public: + inline VisualDetails() : VisualDetails(nullptr) {} + ~VisualDetails() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(VisualDetails* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(VisualDetails)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR VisualDetails( + ::google::protobuf::internal::ConstantInitialized); + + inline VisualDetails(const VisualDetails& from) : VisualDetails(nullptr, from) {} + inline VisualDetails(VisualDetails&& from) noexcept + : VisualDetails(nullptr, std::move(from)) {} + inline VisualDetails& operator=(const VisualDetails& from) { + CopyFrom(from); + return *this; + } + inline VisualDetails& operator=(VisualDetails&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const VisualDetails& default_instance() { + return *internal_default_instance(); + } + static inline const VisualDetails* internal_default_instance() { + return reinterpret_cast( + &_VisualDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(VisualDetails& a, VisualDetails& b) { a.Swap(&b); } + inline void Swap(VisualDetails* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(VisualDetails* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + VisualDetails* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const VisualDetails& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const VisualDetails& from) { VisualDetails::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(VisualDetails* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.VisualDetails"; } + + protected: + explicit VisualDetails(::google::protobuf::Arena* arena); + VisualDetails(::google::protobuf::Arena* arena, const VisualDetails& from); + VisualDetails(::google::protobuf::Arena* arena, VisualDetails&& from) noexcept + : VisualDetails(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRangeRingsFieldNumber = 1, + }; + // .anduril.entitymanager.v1.RangeRings range_rings = 1 [json_name = "rangeRings", (.anduril.entitymanager.v1.overridable) = true]; + bool has_range_rings() const; + void clear_range_rings() ; + const ::anduril::entitymanager::v1::RangeRings& range_rings() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::RangeRings* release_range_rings(); + ::anduril::entitymanager::v1::RangeRings* mutable_range_rings(); + void set_allocated_range_rings(::anduril::entitymanager::v1::RangeRings* value); + void unsafe_arena_set_allocated_range_rings(::anduril::entitymanager::v1::RangeRings* value); + ::anduril::entitymanager::v1::RangeRings* unsafe_arena_release_range_rings(); + + private: + const ::anduril::entitymanager::v1::RangeRings& _internal_range_rings() const; + ::anduril::entitymanager::v1::RangeRings* _internal_mutable_range_rings(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.VisualDetails) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const VisualDetails& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::RangeRings* range_rings_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class SecondaryCorrelation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.SecondaryCorrelation) */ { + public: + inline SecondaryCorrelation() : SecondaryCorrelation(nullptr) {} + ~SecondaryCorrelation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SecondaryCorrelation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SecondaryCorrelation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SecondaryCorrelation( + ::google::protobuf::internal::ConstantInitialized); + + inline SecondaryCorrelation(const SecondaryCorrelation& from) : SecondaryCorrelation(nullptr, from) {} + inline SecondaryCorrelation(SecondaryCorrelation&& from) noexcept + : SecondaryCorrelation(nullptr, std::move(from)) {} + inline SecondaryCorrelation& operator=(const SecondaryCorrelation& from) { + CopyFrom(from); + return *this; + } + inline SecondaryCorrelation& operator=(SecondaryCorrelation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SecondaryCorrelation& default_instance() { + return *internal_default_instance(); + } + static inline const SecondaryCorrelation* internal_default_instance() { + return reinterpret_cast( + &_SecondaryCorrelation_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(SecondaryCorrelation& a, SecondaryCorrelation& b) { a.Swap(&b); } + inline void Swap(SecondaryCorrelation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SecondaryCorrelation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SecondaryCorrelation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SecondaryCorrelation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SecondaryCorrelation& from) { SecondaryCorrelation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SecondaryCorrelation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.SecondaryCorrelation"; } + + protected: + explicit SecondaryCorrelation(::google::protobuf::Arena* arena); + SecondaryCorrelation(::google::protobuf::Arena* arena, const SecondaryCorrelation& from); + SecondaryCorrelation(::google::protobuf::Arena* arena, SecondaryCorrelation&& from) noexcept + : SecondaryCorrelation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPrimaryEntityIdFieldNumber = 1, + kMetadataFieldNumber = 2, + }; + // string primary_entity_id = 1 [json_name = "primaryEntityId"]; + void clear_primary_entity_id() ; + const std::string& primary_entity_id() const; + template + void set_primary_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_primary_entity_id(); + PROTOBUF_NODISCARD std::string* release_primary_entity_id(); + void set_allocated_primary_entity_id(std::string* value); + + private: + const std::string& _internal_primary_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_primary_entity_id( + const std::string& value); + std::string* _internal_mutable_primary_entity_id(); + + public: + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + bool has_metadata() const; + void clear_metadata() ; + const ::anduril::entitymanager::v1::CorrelationMetadata& metadata() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::CorrelationMetadata* release_metadata(); + ::anduril::entitymanager::v1::CorrelationMetadata* mutable_metadata(); + void set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + void unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + ::anduril::entitymanager::v1::CorrelationMetadata* unsafe_arena_release_metadata(); + + private: + const ::anduril::entitymanager::v1::CorrelationMetadata& _internal_metadata() const; + ::anduril::entitymanager::v1::CorrelationMetadata* _internal_mutable_metadata(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.SecondaryCorrelation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 71, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SecondaryCorrelation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr primary_entity_id_; + ::anduril::entitymanager::v1::CorrelationMetadata* metadata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class DecorrelatedSingle final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.DecorrelatedSingle) */ { + public: + inline DecorrelatedSingle() : DecorrelatedSingle(nullptr) {} + ~DecorrelatedSingle() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(DecorrelatedSingle* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DecorrelatedSingle)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR DecorrelatedSingle( + ::google::protobuf::internal::ConstantInitialized); + + inline DecorrelatedSingle(const DecorrelatedSingle& from) : DecorrelatedSingle(nullptr, from) {} + inline DecorrelatedSingle(DecorrelatedSingle&& from) noexcept + : DecorrelatedSingle(nullptr, std::move(from)) {} + inline DecorrelatedSingle& operator=(const DecorrelatedSingle& from) { + CopyFrom(from); + return *this; + } + inline DecorrelatedSingle& operator=(DecorrelatedSingle&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DecorrelatedSingle& default_instance() { + return *internal_default_instance(); + } + static inline const DecorrelatedSingle* internal_default_instance() { + return reinterpret_cast( + &_DecorrelatedSingle_default_instance_); + } + static constexpr int kIndexInFileMessages = 19; + friend void swap(DecorrelatedSingle& a, DecorrelatedSingle& b) { a.Swap(&b); } + inline void Swap(DecorrelatedSingle* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DecorrelatedSingle* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DecorrelatedSingle* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const DecorrelatedSingle& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const DecorrelatedSingle& from) { DecorrelatedSingle::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(DecorrelatedSingle* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.DecorrelatedSingle"; } + + protected: + explicit DecorrelatedSingle(::google::protobuf::Arena* arena); + DecorrelatedSingle(::google::protobuf::Arena* arena, const DecorrelatedSingle& from); + DecorrelatedSingle(::google::protobuf::Arena* arena, DecorrelatedSingle&& from) noexcept + : DecorrelatedSingle(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityIdFieldNumber = 1, + kMetadataFieldNumber = 2, + }; + // string entity_id = 1 [json_name = "entityId"]; + void clear_entity_id() ; + const std::string& entity_id() const; + template + void set_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_entity_id(); + PROTOBUF_NODISCARD std::string* release_entity_id(); + void set_allocated_entity_id(std::string* value); + + private: + const std::string& _internal_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_id( + const std::string& value); + std::string* _internal_mutable_entity_id(); + + public: + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; + bool has_metadata() const; + void clear_metadata() ; + const ::anduril::entitymanager::v1::CorrelationMetadata& metadata() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::CorrelationMetadata* release_metadata(); + ::anduril::entitymanager::v1::CorrelationMetadata* mutable_metadata(); + void set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + void unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + ::anduril::entitymanager::v1::CorrelationMetadata* unsafe_arena_release_metadata(); + + private: + const ::anduril::entitymanager::v1::CorrelationMetadata& _internal_metadata() const; + ::anduril::entitymanager::v1::CorrelationMetadata* _internal_mutable_metadata(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.DecorrelatedSingle) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 61, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DecorrelatedSingle& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr entity_id_; + ::anduril::entitymanager::v1::CorrelationMetadata* metadata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class DecorrelatedAll final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.DecorrelatedAll) */ { + public: + inline DecorrelatedAll() : DecorrelatedAll(nullptr) {} + ~DecorrelatedAll() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(DecorrelatedAll* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DecorrelatedAll)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR DecorrelatedAll( + ::google::protobuf::internal::ConstantInitialized); + + inline DecorrelatedAll(const DecorrelatedAll& from) : DecorrelatedAll(nullptr, from) {} + inline DecorrelatedAll(DecorrelatedAll&& from) noexcept + : DecorrelatedAll(nullptr, std::move(from)) {} + inline DecorrelatedAll& operator=(const DecorrelatedAll& from) { + CopyFrom(from); + return *this; + } + inline DecorrelatedAll& operator=(DecorrelatedAll&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DecorrelatedAll& default_instance() { + return *internal_default_instance(); + } + static inline const DecorrelatedAll* internal_default_instance() { + return reinterpret_cast( + &_DecorrelatedAll_default_instance_); + } + static constexpr int kIndexInFileMessages = 18; + friend void swap(DecorrelatedAll& a, DecorrelatedAll& b) { a.Swap(&b); } + inline void Swap(DecorrelatedAll* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DecorrelatedAll* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DecorrelatedAll* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const DecorrelatedAll& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const DecorrelatedAll& from) { DecorrelatedAll::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(DecorrelatedAll* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.DecorrelatedAll"; } + + protected: + explicit DecorrelatedAll(::google::protobuf::Arena* arena); + DecorrelatedAll(::google::protobuf::Arena* arena, const DecorrelatedAll& from); + DecorrelatedAll(::google::protobuf::Arena* arena, DecorrelatedAll&& from) noexcept + : DecorrelatedAll(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMetadataFieldNumber = 1, + }; + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 1 [json_name = "metadata"]; + bool has_metadata() const; + void clear_metadata() ; + const ::anduril::entitymanager::v1::CorrelationMetadata& metadata() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::CorrelationMetadata* release_metadata(); + ::anduril::entitymanager::v1::CorrelationMetadata* mutable_metadata(); + void set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + void unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + ::anduril::entitymanager::v1::CorrelationMetadata* unsafe_arena_release_metadata(); + + private: + const ::anduril::entitymanager::v1::CorrelationMetadata& _internal_metadata() const; + ::anduril::entitymanager::v1::CorrelationMetadata* _internal_mutable_metadata(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.DecorrelatedAll) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DecorrelatedAll& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::CorrelationMetadata* metadata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class CorrelationMembership final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.CorrelationMembership) */ { + public: + inline CorrelationMembership() : CorrelationMembership(nullptr) {} + ~CorrelationMembership() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CorrelationMembership* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CorrelationMembership)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CorrelationMembership( + ::google::protobuf::internal::ConstantInitialized); + + inline CorrelationMembership(const CorrelationMembership& from) : CorrelationMembership(nullptr, from) {} + inline CorrelationMembership(CorrelationMembership&& from) noexcept + : CorrelationMembership(nullptr, std::move(from)) {} + inline CorrelationMembership& operator=(const CorrelationMembership& from) { + CopyFrom(from); + return *this; + } + inline CorrelationMembership& operator=(CorrelationMembership&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CorrelationMembership& default_instance() { + return *internal_default_instance(); + } + enum MembershipCase { + kPrimary = 2, + kNonPrimary = 3, + MEMBERSHIP_NOT_SET = 0, + }; + static inline const CorrelationMembership* internal_default_instance() { + return reinterpret_cast( + &_CorrelationMembership_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(CorrelationMembership& a, CorrelationMembership& b) { a.Swap(&b); } + inline void Swap(CorrelationMembership* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CorrelationMembership* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CorrelationMembership* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CorrelationMembership& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CorrelationMembership& from) { CorrelationMembership::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CorrelationMembership* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.CorrelationMembership"; } + + protected: + explicit CorrelationMembership(::google::protobuf::Arena* arena); + CorrelationMembership(::google::protobuf::Arena* arena, const CorrelationMembership& from); + CorrelationMembership(::google::protobuf::Arena* arena, CorrelationMembership&& from) noexcept + : CorrelationMembership(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCorrelationSetIdFieldNumber = 1, + kMetadataFieldNumber = 4, + kPrimaryFieldNumber = 2, + kNonPrimaryFieldNumber = 3, + }; + // string correlation_set_id = 1 [json_name = "correlationSetId"]; + void clear_correlation_set_id() ; + const std::string& correlation_set_id() const; + template + void set_correlation_set_id(Arg_&& arg, Args_... args); + std::string* mutable_correlation_set_id(); + PROTOBUF_NODISCARD std::string* release_correlation_set_id(); + void set_allocated_correlation_set_id(std::string* value); + + private: + const std::string& _internal_correlation_set_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_correlation_set_id( + const std::string& value); + std::string* _internal_mutable_correlation_set_id(); + + public: + // .anduril.entitymanager.v1.CorrelationMetadata metadata = 4 [json_name = "metadata"]; + bool has_metadata() const; + void clear_metadata() ; + const ::anduril::entitymanager::v1::CorrelationMetadata& metadata() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::CorrelationMetadata* release_metadata(); + ::anduril::entitymanager::v1::CorrelationMetadata* mutable_metadata(); + void set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + void unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value); + ::anduril::entitymanager::v1::CorrelationMetadata* unsafe_arena_release_metadata(); + + private: + const ::anduril::entitymanager::v1::CorrelationMetadata& _internal_metadata() const; + ::anduril::entitymanager::v1::CorrelationMetadata* _internal_mutable_metadata(); + + public: + // .anduril.entitymanager.v1.PrimaryMembership primary = 2 [json_name = "primary"]; + bool has_primary() const; + private: + bool _internal_has_primary() const; + + public: + void clear_primary() ; + const ::anduril::entitymanager::v1::PrimaryMembership& primary() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PrimaryMembership* release_primary(); + ::anduril::entitymanager::v1::PrimaryMembership* mutable_primary(); + void set_allocated_primary(::anduril::entitymanager::v1::PrimaryMembership* value); + void unsafe_arena_set_allocated_primary(::anduril::entitymanager::v1::PrimaryMembership* value); + ::anduril::entitymanager::v1::PrimaryMembership* unsafe_arena_release_primary(); + + private: + const ::anduril::entitymanager::v1::PrimaryMembership& _internal_primary() const; + ::anduril::entitymanager::v1::PrimaryMembership* _internal_mutable_primary(); + + public: + // .anduril.entitymanager.v1.NonPrimaryMembership non_primary = 3 [json_name = "nonPrimary"]; + bool has_non_primary() const; + private: + bool _internal_has_non_primary() const; + + public: + void clear_non_primary() ; + const ::anduril::entitymanager::v1::NonPrimaryMembership& non_primary() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::NonPrimaryMembership* release_non_primary(); + ::anduril::entitymanager::v1::NonPrimaryMembership* mutable_non_primary(); + void set_allocated_non_primary(::anduril::entitymanager::v1::NonPrimaryMembership* value); + void unsafe_arena_set_allocated_non_primary(::anduril::entitymanager::v1::NonPrimaryMembership* value); + ::anduril::entitymanager::v1::NonPrimaryMembership* unsafe_arena_release_non_primary(); + + private: + const ::anduril::entitymanager::v1::NonPrimaryMembership& _internal_non_primary() const; + ::anduril::entitymanager::v1::NonPrimaryMembership* _internal_mutable_non_primary(); + + public: + void clear_membership(); + MembershipCase membership_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.CorrelationMembership) + private: + class _Internal; + void set_has_primary(); + void set_has_non_primary(); + inline bool has_membership() const; + inline void clear_has_membership(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 4, 3, + 73, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CorrelationMembership& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr correlation_set_id_; + ::anduril::entitymanager::v1::CorrelationMetadata* metadata_; + union MembershipUnion { + constexpr MembershipUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::PrimaryMembership* primary_; + ::anduril::entitymanager::v1::NonPrimaryMembership* non_primary_; + } membership_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Tracked final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Tracked) */ { + public: + inline Tracked() : Tracked(nullptr) {} + ~Tracked() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Tracked* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Tracked)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Tracked( + ::google::protobuf::internal::ConstantInitialized); + + inline Tracked(const Tracked& from) : Tracked(nullptr, from) {} + inline Tracked(Tracked&& from) noexcept + : Tracked(nullptr, std::move(from)) {} + inline Tracked& operator=(const Tracked& from) { + CopyFrom(from); + return *this; + } + inline Tracked& operator=(Tracked&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Tracked& default_instance() { + return *internal_default_instance(); + } + static inline const Tracked* internal_default_instance() { + return reinterpret_cast( + &_Tracked_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(Tracked& a, Tracked& b) { a.Swap(&b); } + inline void Swap(Tracked* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Tracked* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Tracked* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Tracked& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Tracked& from) { Tracked::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Tracked* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Tracked"; } + + protected: + explicit Tracked(::google::protobuf::Arena* arena); + Tracked(::google::protobuf::Arena* arena, const Tracked& from); + Tracked(::google::protobuf::Arena* arena, Tracked&& from) noexcept + : Tracked(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTrackQualityWrapperFieldNumber = 2, + kSensorHitsFieldNumber = 3, + kNumberOfObjectsFieldNumber = 4, + kRadarCrossSectionFieldNumber = 6, + kLastMeasurementTimeFieldNumber = 7, + kLineOfBearingFieldNumber = 9, + }; + // .google.protobuf.Int32Value track_quality_wrapper = 2 [json_name = "trackQualityWrapper"]; + bool has_track_quality_wrapper() const; + void clear_track_quality_wrapper() ; + const ::google::protobuf::Int32Value& track_quality_wrapper() const; + PROTOBUF_NODISCARD ::google::protobuf::Int32Value* release_track_quality_wrapper(); + ::google::protobuf::Int32Value* mutable_track_quality_wrapper(); + void set_allocated_track_quality_wrapper(::google::protobuf::Int32Value* value); + void unsafe_arena_set_allocated_track_quality_wrapper(::google::protobuf::Int32Value* value); + ::google::protobuf::Int32Value* unsafe_arena_release_track_quality_wrapper(); + + private: + const ::google::protobuf::Int32Value& _internal_track_quality_wrapper() const; + ::google::protobuf::Int32Value* _internal_mutable_track_quality_wrapper(); + + public: + // .google.protobuf.Int32Value sensor_hits = 3 [json_name = "sensorHits"]; + bool has_sensor_hits() const; + void clear_sensor_hits() ; + const ::google::protobuf::Int32Value& sensor_hits() const; + PROTOBUF_NODISCARD ::google::protobuf::Int32Value* release_sensor_hits(); + ::google::protobuf::Int32Value* mutable_sensor_hits(); + void set_allocated_sensor_hits(::google::protobuf::Int32Value* value); + void unsafe_arena_set_allocated_sensor_hits(::google::protobuf::Int32Value* value); + ::google::protobuf::Int32Value* unsafe_arena_release_sensor_hits(); + + private: + const ::google::protobuf::Int32Value& _internal_sensor_hits() const; + ::google::protobuf::Int32Value* _internal_mutable_sensor_hits(); + + public: + // .anduril.entitymanager.v1.UInt32Range number_of_objects = 4 [json_name = "numberOfObjects"]; + bool has_number_of_objects() const; + void clear_number_of_objects() ; + const ::anduril::entitymanager::v1::UInt32Range& number_of_objects() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::UInt32Range* release_number_of_objects(); + ::anduril::entitymanager::v1::UInt32Range* mutable_number_of_objects(); + void set_allocated_number_of_objects(::anduril::entitymanager::v1::UInt32Range* value); + void unsafe_arena_set_allocated_number_of_objects(::anduril::entitymanager::v1::UInt32Range* value); + ::anduril::entitymanager::v1::UInt32Range* unsafe_arena_release_number_of_objects(); + + private: + const ::anduril::entitymanager::v1::UInt32Range& _internal_number_of_objects() const; + ::anduril::entitymanager::v1::UInt32Range* _internal_mutable_number_of_objects(); + + public: + // .google.protobuf.DoubleValue radar_cross_section = 6 [json_name = "radarCrossSection"]; + bool has_radar_cross_section() const; + void clear_radar_cross_section() ; + const ::google::protobuf::DoubleValue& radar_cross_section() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_radar_cross_section(); + ::google::protobuf::DoubleValue* mutable_radar_cross_section(); + void set_allocated_radar_cross_section(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_radar_cross_section(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_radar_cross_section(); + + private: + const ::google::protobuf::DoubleValue& _internal_radar_cross_section() const; + ::google::protobuf::DoubleValue* _internal_mutable_radar_cross_section(); + + public: + // .google.protobuf.Timestamp last_measurement_time = 7 [json_name = "lastMeasurementTime"]; + bool has_last_measurement_time() const; + void clear_last_measurement_time() ; + const ::google::protobuf::Timestamp& last_measurement_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_last_measurement_time(); + ::google::protobuf::Timestamp* mutable_last_measurement_time(); + void set_allocated_last_measurement_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_last_measurement_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_last_measurement_time(); + + private: + const ::google::protobuf::Timestamp& _internal_last_measurement_time() const; + ::google::protobuf::Timestamp* _internal_mutable_last_measurement_time(); + + public: + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 9 [json_name = "lineOfBearing"]; + bool has_line_of_bearing() const; + void clear_line_of_bearing() ; + const ::anduril::entitymanager::v1::LineOfBearing& line_of_bearing() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::LineOfBearing* release_line_of_bearing(); + ::anduril::entitymanager::v1::LineOfBearing* mutable_line_of_bearing(); + void set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value); + void unsafe_arena_set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value); + ::anduril::entitymanager::v1::LineOfBearing* unsafe_arena_release_line_of_bearing(); + + private: + const ::anduril::entitymanager::v1::LineOfBearing& _internal_line_of_bearing() const; + ::anduril::entitymanager::v1::LineOfBearing* _internal_mutable_line_of_bearing(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Tracked) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 6, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Tracked& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::Int32Value* track_quality_wrapper_; + ::google::protobuf::Int32Value* sensor_hits_; + ::anduril::entitymanager::v1::UInt32Range* number_of_objects_; + ::google::protobuf::DoubleValue* radar_cross_section_; + ::google::protobuf::Timestamp* last_measurement_time_; + ::anduril::entitymanager::v1::LineOfBearing* line_of_bearing_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Decorrelation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Decorrelation) */ { + public: + inline Decorrelation() : Decorrelation(nullptr) {} + ~Decorrelation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Decorrelation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Decorrelation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Decorrelation( + ::google::protobuf::internal::ConstantInitialized); + + inline Decorrelation(const Decorrelation& from) : Decorrelation(nullptr, from) {} + inline Decorrelation(Decorrelation&& from) noexcept + : Decorrelation(nullptr, std::move(from)) {} + inline Decorrelation& operator=(const Decorrelation& from) { + CopyFrom(from); + return *this; + } + inline Decorrelation& operator=(Decorrelation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Decorrelation& default_instance() { + return *internal_default_instance(); + } + static inline const Decorrelation* internal_default_instance() { + return reinterpret_cast( + &_Decorrelation_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(Decorrelation& a, Decorrelation& b) { a.Swap(&b); } + inline void Swap(Decorrelation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Decorrelation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Decorrelation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Decorrelation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Decorrelation& from) { Decorrelation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Decorrelation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Decorrelation"; } + + protected: + explicit Decorrelation(::google::protobuf::Arena* arena); + Decorrelation(::google::protobuf::Arena* arena, const Decorrelation& from); + Decorrelation(::google::protobuf::Arena* arena, Decorrelation&& from) noexcept + : Decorrelation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDecorrelatedEntitiesFieldNumber = 2, + kAllFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.DecorrelatedSingle decorrelated_entities = 2 [json_name = "decorrelatedEntities"]; + int decorrelated_entities_size() const; + private: + int _internal_decorrelated_entities_size() const; + + public: + void clear_decorrelated_entities() ; + ::anduril::entitymanager::v1::DecorrelatedSingle* mutable_decorrelated_entities(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>* mutable_decorrelated_entities(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>& _internal_decorrelated_entities() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>* _internal_mutable_decorrelated_entities(); + public: + const ::anduril::entitymanager::v1::DecorrelatedSingle& decorrelated_entities(int index) const; + ::anduril::entitymanager::v1::DecorrelatedSingle* add_decorrelated_entities(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>& decorrelated_entities() const; + // .anduril.entitymanager.v1.DecorrelatedAll all = 1 [json_name = "all"]; + bool has_all() const; + void clear_all() ; + const ::anduril::entitymanager::v1::DecorrelatedAll& all() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::DecorrelatedAll* release_all(); + ::anduril::entitymanager::v1::DecorrelatedAll* mutable_all(); + void set_allocated_all(::anduril::entitymanager::v1::DecorrelatedAll* value); + void unsafe_arena_set_allocated_all(::anduril::entitymanager::v1::DecorrelatedAll* value); + ::anduril::entitymanager::v1::DecorrelatedAll* unsafe_arena_release_all(); + + private: + const ::anduril::entitymanager::v1::DecorrelatedAll& _internal_all() const; + ::anduril::entitymanager::v1::DecorrelatedAll* _internal_mutable_all(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Decorrelation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Decorrelation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::DecorrelatedSingle > decorrelated_entities_; + ::anduril::entitymanager::v1::DecorrelatedAll* all_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Correlation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Correlation) */ { + public: + inline Correlation() : Correlation(nullptr) {} + ~Correlation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Correlation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Correlation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Correlation( + ::google::protobuf::internal::ConstantInitialized); + + inline Correlation(const Correlation& from) : Correlation(nullptr, from) {} + inline Correlation(Correlation&& from) noexcept + : Correlation(nullptr, std::move(from)) {} + inline Correlation& operator=(const Correlation& from) { + CopyFrom(from); + return *this; + } + inline Correlation& operator=(Correlation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Correlation& default_instance() { + return *internal_default_instance(); + } + enum CorrelationCase { + kPrimary = 1, + kSecondary = 2, + CORRELATION_NOT_SET = 0, + }; + static inline const Correlation* internal_default_instance() { + return reinterpret_cast( + &_Correlation_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(Correlation& a, Correlation& b) { a.Swap(&b); } + inline void Swap(Correlation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Correlation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Correlation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Correlation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Correlation& from) { Correlation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Correlation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Correlation"; } + + protected: + explicit Correlation(::google::protobuf::Arena* arena); + Correlation(::google::protobuf::Arena* arena, const Correlation& from); + Correlation(::google::protobuf::Arena* arena, Correlation&& from) noexcept + : Correlation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDecorrelationFieldNumber = 3, + kMembershipFieldNumber = 4, + kPrimaryFieldNumber = 1, + kSecondaryFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Decorrelation decorrelation = 3 [json_name = "decorrelation"]; + bool has_decorrelation() const; + void clear_decorrelation() ; + const ::anduril::entitymanager::v1::Decorrelation& decorrelation() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Decorrelation* release_decorrelation(); + ::anduril::entitymanager::v1::Decorrelation* mutable_decorrelation(); + void set_allocated_decorrelation(::anduril::entitymanager::v1::Decorrelation* value); + void unsafe_arena_set_allocated_decorrelation(::anduril::entitymanager::v1::Decorrelation* value); + ::anduril::entitymanager::v1::Decorrelation* unsafe_arena_release_decorrelation(); + + private: + const ::anduril::entitymanager::v1::Decorrelation& _internal_decorrelation() const; + ::anduril::entitymanager::v1::Decorrelation* _internal_mutable_decorrelation(); + + public: + // .anduril.entitymanager.v1.CorrelationMembership membership = 4 [json_name = "membership"]; + bool has_membership() const; + void clear_membership() ; + const ::anduril::entitymanager::v1::CorrelationMembership& membership() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::CorrelationMembership* release_membership(); + ::anduril::entitymanager::v1::CorrelationMembership* mutable_membership(); + void set_allocated_membership(::anduril::entitymanager::v1::CorrelationMembership* value); + void unsafe_arena_set_allocated_membership(::anduril::entitymanager::v1::CorrelationMembership* value); + ::anduril::entitymanager::v1::CorrelationMembership* unsafe_arena_release_membership(); + + private: + const ::anduril::entitymanager::v1::CorrelationMembership& _internal_membership() const; + ::anduril::entitymanager::v1::CorrelationMembership* _internal_mutable_membership(); + + public: + // .anduril.entitymanager.v1.PrimaryCorrelation primary = 1 [json_name = "primary"]; + bool has_primary() const; + private: + bool _internal_has_primary() const; + + public: + void clear_primary() ; + const ::anduril::entitymanager::v1::PrimaryCorrelation& primary() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PrimaryCorrelation* release_primary(); + ::anduril::entitymanager::v1::PrimaryCorrelation* mutable_primary(); + void set_allocated_primary(::anduril::entitymanager::v1::PrimaryCorrelation* value); + void unsafe_arena_set_allocated_primary(::anduril::entitymanager::v1::PrimaryCorrelation* value); + ::anduril::entitymanager::v1::PrimaryCorrelation* unsafe_arena_release_primary(); + + private: + const ::anduril::entitymanager::v1::PrimaryCorrelation& _internal_primary() const; + ::anduril::entitymanager::v1::PrimaryCorrelation* _internal_mutable_primary(); + + public: + // .anduril.entitymanager.v1.SecondaryCorrelation secondary = 2 [json_name = "secondary"]; + bool has_secondary() const; + private: + bool _internal_has_secondary() const; + + public: + void clear_secondary() ; + const ::anduril::entitymanager::v1::SecondaryCorrelation& secondary() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::SecondaryCorrelation* release_secondary(); + ::anduril::entitymanager::v1::SecondaryCorrelation* mutable_secondary(); + void set_allocated_secondary(::anduril::entitymanager::v1::SecondaryCorrelation* value); + void unsafe_arena_set_allocated_secondary(::anduril::entitymanager::v1::SecondaryCorrelation* value); + ::anduril::entitymanager::v1::SecondaryCorrelation* unsafe_arena_release_secondary(); + + private: + const ::anduril::entitymanager::v1::SecondaryCorrelation& _internal_secondary() const; + ::anduril::entitymanager::v1::SecondaryCorrelation* _internal_mutable_secondary(); + + public: + void clear_correlation(); + CorrelationCase correlation_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Correlation) + private: + class _Internal; + void set_has_primary(); + void set_has_secondary(); + inline bool has_correlation() const; + inline void clear_has_correlation(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Correlation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Decorrelation* decorrelation_; + ::anduril::entitymanager::v1::CorrelationMembership* membership_; + union CorrelationUnion { + constexpr CorrelationUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::PrimaryCorrelation* primary_; + ::anduril::entitymanager::v1::SecondaryCorrelation* secondary_; + } correlation_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Entity final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Entity) */ { + public: + inline Entity() : Entity(nullptr) {} + ~Entity() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Entity* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Entity)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Entity( + ::google::protobuf::internal::ConstantInitialized); + + inline Entity(const Entity& from) : Entity(nullptr, from) {} + inline Entity(Entity&& from) noexcept + : Entity(nullptr, std::move(from)) {} + inline Entity& operator=(const Entity& from) { + CopyFrom(from); + return *this; + } + inline Entity& operator=(Entity&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Entity& default_instance() { + return *internal_default_instance(); + } + static inline const Entity* internal_default_instance() { + return reinterpret_cast( + &_Entity_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Entity& a, Entity& b) { a.Swap(&b); } + inline void Swap(Entity* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Entity* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Entity* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Entity& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Entity& from) { Entity::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Entity* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Entity"; } + + protected: + explicit Entity(::google::protobuf::Arena* arena); + Entity(::google::protobuf::Arena* arena, const Entity& from); + Entity(::google::protobuf::Arena* arena, Entity&& from) noexcept + : Entity(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityIdFieldNumber = 1, + kDescriptionFieldNumber = 2, + kCreatedTimeFieldNumber = 4, + kExpiryTimeFieldNumber = 5, + kLocationFieldNumber = 6, + kAliasesFieldNumber = 7, + kTrackedFieldNumber = 8, + kMilViewFieldNumber = 10, + kOntologyFieldNumber = 11, + kProvenanceFieldNumber = 12, + kOverridesFieldNumber = 13, + kIndicatorsFieldNumber = 14, + kLocationUncertaintyFieldNumber = 15, + kStatusFieldNumber = 19, + kSensorsFieldNumber = 20, + kPayloadsFieldNumber = 21, + kTargetPriorityFieldNumber = 22, + kGeoShapeFieldNumber = 23, + kGeoDetailsFieldNumber = 24, + kSignalFieldNumber = 25, + kTransponderCodesFieldNumber = 26, + kDataClassificationFieldNumber = 29, + kPowerStateFieldNumber = 30, + kTaskCatalogFieldNumber = 31, + kRelationshipsFieldNumber = 33, + kVisualDetailsFieldNumber = 34, + kDimensionsFieldNumber = 36, + kRouteDetailsFieldNumber = 37, + kSchedulesFieldNumber = 38, + kHealthFieldNumber = 39, + kGroupDetailsFieldNumber = 40, + kSuppliesFieldNumber = 42, + kOrbitFieldNumber = 46, + kCorrelationFieldNumber = 47, + kIsLiveFieldNumber = 3, + }; + // string entity_id = 1 [json_name = "entityId"]; + void clear_entity_id() ; + const std::string& entity_id() const; + template + void set_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_entity_id(); + PROTOBUF_NODISCARD std::string* release_entity_id(); + void set_allocated_entity_id(std::string* value); + + private: + const std::string& _internal_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_id( + const std::string& value); + std::string* _internal_mutable_entity_id(); + + public: + // string description = 2 [json_name = "description"]; + void clear_description() ; + const std::string& description() const; + template + void set_description(Arg_&& arg, Args_... args); + std::string* mutable_description(); + PROTOBUF_NODISCARD std::string* release_description(); + void set_allocated_description(std::string* value); + + private: + const std::string& _internal_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_description( + const std::string& value); + std::string* _internal_mutable_description(); + + public: + // .google.protobuf.Timestamp created_time = 4 [json_name = "createdTime"]; + bool has_created_time() const; + void clear_created_time() ; + const ::google::protobuf::Timestamp& created_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_created_time(); + ::google::protobuf::Timestamp* mutable_created_time(); + void set_allocated_created_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_created_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_created_time(); + + private: + const ::google::protobuf::Timestamp& _internal_created_time() const; + ::google::protobuf::Timestamp* _internal_mutable_created_time(); + + public: + // .google.protobuf.Timestamp expiry_time = 5 [json_name = "expiryTime"]; + bool has_expiry_time() const; + void clear_expiry_time() ; + const ::google::protobuf::Timestamp& expiry_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_expiry_time(); + ::google::protobuf::Timestamp* mutable_expiry_time(); + void set_allocated_expiry_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_expiry_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_expiry_time(); + + private: + const ::google::protobuf::Timestamp& _internal_expiry_time() const; + ::google::protobuf::Timestamp* _internal_mutable_expiry_time(); + + public: + // .anduril.entitymanager.v1.Location location = 6 [json_name = "location"]; + bool has_location() const; + void clear_location() ; + const ::anduril::entitymanager::v1::Location& location() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Location* release_location(); + ::anduril::entitymanager::v1::Location* mutable_location(); + void set_allocated_location(::anduril::entitymanager::v1::Location* value); + void unsafe_arena_set_allocated_location(::anduril::entitymanager::v1::Location* value); + ::anduril::entitymanager::v1::Location* unsafe_arena_release_location(); + + private: + const ::anduril::entitymanager::v1::Location& _internal_location() const; + ::anduril::entitymanager::v1::Location* _internal_mutable_location(); + + public: + // .anduril.entitymanager.v1.Aliases aliases = 7 [json_name = "aliases"]; + bool has_aliases() const; + void clear_aliases() ; + const ::anduril::entitymanager::v1::Aliases& aliases() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Aliases* release_aliases(); + ::anduril::entitymanager::v1::Aliases* mutable_aliases(); + void set_allocated_aliases(::anduril::entitymanager::v1::Aliases* value); + void unsafe_arena_set_allocated_aliases(::anduril::entitymanager::v1::Aliases* value); + ::anduril::entitymanager::v1::Aliases* unsafe_arena_release_aliases(); + + private: + const ::anduril::entitymanager::v1::Aliases& _internal_aliases() const; + ::anduril::entitymanager::v1::Aliases* _internal_mutable_aliases(); + + public: + // .anduril.entitymanager.v1.Tracked tracked = 8 [json_name = "tracked"]; + bool has_tracked() const; + void clear_tracked() ; + const ::anduril::entitymanager::v1::Tracked& tracked() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Tracked* release_tracked(); + ::anduril::entitymanager::v1::Tracked* mutable_tracked(); + void set_allocated_tracked(::anduril::entitymanager::v1::Tracked* value); + void unsafe_arena_set_allocated_tracked(::anduril::entitymanager::v1::Tracked* value); + ::anduril::entitymanager::v1::Tracked* unsafe_arena_release_tracked(); + + private: + const ::anduril::entitymanager::v1::Tracked& _internal_tracked() const; + ::anduril::entitymanager::v1::Tracked* _internal_mutable_tracked(); + + public: + // .anduril.entitymanager.v1.MilView mil_view = 10 [json_name = "milView"]; + bool has_mil_view() const; + void clear_mil_view() ; + const ::anduril::entitymanager::v1::MilView& mil_view() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::MilView* release_mil_view(); + ::anduril::entitymanager::v1::MilView* mutable_mil_view(); + void set_allocated_mil_view(::anduril::entitymanager::v1::MilView* value); + void unsafe_arena_set_allocated_mil_view(::anduril::entitymanager::v1::MilView* value); + ::anduril::entitymanager::v1::MilView* unsafe_arena_release_mil_view(); + + private: + const ::anduril::entitymanager::v1::MilView& _internal_mil_view() const; + ::anduril::entitymanager::v1::MilView* _internal_mutable_mil_view(); + + public: + // .anduril.entitymanager.v1.Ontology ontology = 11 [json_name = "ontology"]; + bool has_ontology() const; + void clear_ontology() ; + const ::anduril::entitymanager::v1::Ontology& ontology() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Ontology* release_ontology(); + ::anduril::entitymanager::v1::Ontology* mutable_ontology(); + void set_allocated_ontology(::anduril::entitymanager::v1::Ontology* value); + void unsafe_arena_set_allocated_ontology(::anduril::entitymanager::v1::Ontology* value); + ::anduril::entitymanager::v1::Ontology* unsafe_arena_release_ontology(); + + private: + const ::anduril::entitymanager::v1::Ontology& _internal_ontology() const; + ::anduril::entitymanager::v1::Ontology* _internal_mutable_ontology(); + + public: + // .anduril.entitymanager.v1.Provenance provenance = 12 [json_name = "provenance"]; + bool has_provenance() const; + void clear_provenance() ; + const ::anduril::entitymanager::v1::Provenance& provenance() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Provenance* release_provenance(); + ::anduril::entitymanager::v1::Provenance* mutable_provenance(); + void set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + void unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + ::anduril::entitymanager::v1::Provenance* unsafe_arena_release_provenance(); + + private: + const ::anduril::entitymanager::v1::Provenance& _internal_provenance() const; + ::anduril::entitymanager::v1::Provenance* _internal_mutable_provenance(); + + public: + // .anduril.entitymanager.v1.Overrides overrides = 13 [json_name = "overrides"]; + bool has_overrides() const; + void clear_overrides() ; + const ::anduril::entitymanager::v1::Overrides& overrides() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Overrides* release_overrides(); + ::anduril::entitymanager::v1::Overrides* mutable_overrides(); + void set_allocated_overrides(::anduril::entitymanager::v1::Overrides* value); + void unsafe_arena_set_allocated_overrides(::anduril::entitymanager::v1::Overrides* value); + ::anduril::entitymanager::v1::Overrides* unsafe_arena_release_overrides(); + + private: + const ::anduril::entitymanager::v1::Overrides& _internal_overrides() const; + ::anduril::entitymanager::v1::Overrides* _internal_mutable_overrides(); + + public: + // .anduril.entitymanager.v1.Indicators indicators = 14 [json_name = "indicators"]; + bool has_indicators() const; + void clear_indicators() ; + const ::anduril::entitymanager::v1::Indicators& indicators() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Indicators* release_indicators(); + ::anduril::entitymanager::v1::Indicators* mutable_indicators(); + void set_allocated_indicators(::anduril::entitymanager::v1::Indicators* value); + void unsafe_arena_set_allocated_indicators(::anduril::entitymanager::v1::Indicators* value); + ::anduril::entitymanager::v1::Indicators* unsafe_arena_release_indicators(); + + private: + const ::anduril::entitymanager::v1::Indicators& _internal_indicators() const; + ::anduril::entitymanager::v1::Indicators* _internal_mutable_indicators(); + + public: + // .anduril.entitymanager.v1.LocationUncertainty location_uncertainty = 15 [json_name = "locationUncertainty"]; + bool has_location_uncertainty() const; + void clear_location_uncertainty() ; + const ::anduril::entitymanager::v1::LocationUncertainty& location_uncertainty() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::LocationUncertainty* release_location_uncertainty(); + ::anduril::entitymanager::v1::LocationUncertainty* mutable_location_uncertainty(); + void set_allocated_location_uncertainty(::anduril::entitymanager::v1::LocationUncertainty* value); + void unsafe_arena_set_allocated_location_uncertainty(::anduril::entitymanager::v1::LocationUncertainty* value); + ::anduril::entitymanager::v1::LocationUncertainty* unsafe_arena_release_location_uncertainty(); + + private: + const ::anduril::entitymanager::v1::LocationUncertainty& _internal_location_uncertainty() const; + ::anduril::entitymanager::v1::LocationUncertainty* _internal_mutable_location_uncertainty(); + + public: + // .anduril.entitymanager.v1.Status status = 19 [json_name = "status"]; + bool has_status() const; + void clear_status() ; + const ::anduril::entitymanager::v1::Status& status() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Status* release_status(); + ::anduril::entitymanager::v1::Status* mutable_status(); + void set_allocated_status(::anduril::entitymanager::v1::Status* value); + void unsafe_arena_set_allocated_status(::anduril::entitymanager::v1::Status* value); + ::anduril::entitymanager::v1::Status* unsafe_arena_release_status(); + + private: + const ::anduril::entitymanager::v1::Status& _internal_status() const; + ::anduril::entitymanager::v1::Status* _internal_mutable_status(); + + public: + // .anduril.entitymanager.v1.Sensors sensors = 20 [json_name = "sensors"]; + bool has_sensors() const; + void clear_sensors() ; + const ::anduril::entitymanager::v1::Sensors& sensors() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Sensors* release_sensors(); + ::anduril::entitymanager::v1::Sensors* mutable_sensors(); + void set_allocated_sensors(::anduril::entitymanager::v1::Sensors* value); + void unsafe_arena_set_allocated_sensors(::anduril::entitymanager::v1::Sensors* value); + ::anduril::entitymanager::v1::Sensors* unsafe_arena_release_sensors(); + + private: + const ::anduril::entitymanager::v1::Sensors& _internal_sensors() const; + ::anduril::entitymanager::v1::Sensors* _internal_mutable_sensors(); + + public: + // .anduril.entitymanager.v1.Payloads payloads = 21 [json_name = "payloads"]; + bool has_payloads() const; + void clear_payloads() ; + const ::anduril::entitymanager::v1::Payloads& payloads() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Payloads* release_payloads(); + ::anduril::entitymanager::v1::Payloads* mutable_payloads(); + void set_allocated_payloads(::anduril::entitymanager::v1::Payloads* value); + void unsafe_arena_set_allocated_payloads(::anduril::entitymanager::v1::Payloads* value); + ::anduril::entitymanager::v1::Payloads* unsafe_arena_release_payloads(); + + private: + const ::anduril::entitymanager::v1::Payloads& _internal_payloads() const; + ::anduril::entitymanager::v1::Payloads* _internal_mutable_payloads(); + + public: + // .anduril.entitymanager.v1.TargetPriority target_priority = 22 [json_name = "targetPriority"]; + bool has_target_priority() const; + void clear_target_priority() ; + const ::anduril::entitymanager::v1::TargetPriority& target_priority() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::TargetPriority* release_target_priority(); + ::anduril::entitymanager::v1::TargetPriority* mutable_target_priority(); + void set_allocated_target_priority(::anduril::entitymanager::v1::TargetPriority* value); + void unsafe_arena_set_allocated_target_priority(::anduril::entitymanager::v1::TargetPriority* value); + ::anduril::entitymanager::v1::TargetPriority* unsafe_arena_release_target_priority(); + + private: + const ::anduril::entitymanager::v1::TargetPriority& _internal_target_priority() const; + ::anduril::entitymanager::v1::TargetPriority* _internal_mutable_target_priority(); + + public: + // .anduril.entitymanager.v1.GeoShape geo_shape = 23 [json_name = "geoShape"]; + bool has_geo_shape() const; + void clear_geo_shape() ; + const ::anduril::entitymanager::v1::GeoShape& geo_shape() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoShape* release_geo_shape(); + ::anduril::entitymanager::v1::GeoShape* mutable_geo_shape(); + void set_allocated_geo_shape(::anduril::entitymanager::v1::GeoShape* value); + void unsafe_arena_set_allocated_geo_shape(::anduril::entitymanager::v1::GeoShape* value); + ::anduril::entitymanager::v1::GeoShape* unsafe_arena_release_geo_shape(); + + private: + const ::anduril::entitymanager::v1::GeoShape& _internal_geo_shape() const; + ::anduril::entitymanager::v1::GeoShape* _internal_mutable_geo_shape(); + + public: + // .anduril.entitymanager.v1.GeoDetails geo_details = 24 [json_name = "geoDetails"]; + bool has_geo_details() const; + void clear_geo_details() ; + const ::anduril::entitymanager::v1::GeoDetails& geo_details() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoDetails* release_geo_details(); + ::anduril::entitymanager::v1::GeoDetails* mutable_geo_details(); + void set_allocated_geo_details(::anduril::entitymanager::v1::GeoDetails* value); + void unsafe_arena_set_allocated_geo_details(::anduril::entitymanager::v1::GeoDetails* value); + ::anduril::entitymanager::v1::GeoDetails* unsafe_arena_release_geo_details(); + + private: + const ::anduril::entitymanager::v1::GeoDetails& _internal_geo_details() const; + ::anduril::entitymanager::v1::GeoDetails* _internal_mutable_geo_details(); + + public: + // .anduril.entitymanager.v1.Signal signal = 25 [json_name = "signal"]; + bool has_signal() const; + void clear_signal() ; + const ::anduril::entitymanager::v1::Signal& signal() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Signal* release_signal(); + ::anduril::entitymanager::v1::Signal* mutable_signal(); + void set_allocated_signal(::anduril::entitymanager::v1::Signal* value); + void unsafe_arena_set_allocated_signal(::anduril::entitymanager::v1::Signal* value); + ::anduril::entitymanager::v1::Signal* unsafe_arena_release_signal(); + + private: + const ::anduril::entitymanager::v1::Signal& _internal_signal() const; + ::anduril::entitymanager::v1::Signal* _internal_mutable_signal(); + + public: + // .anduril.entitymanager.v1.TransponderCodes transponder_codes = 26 [json_name = "transponderCodes"]; + bool has_transponder_codes() const; + void clear_transponder_codes() ; + const ::anduril::entitymanager::v1::TransponderCodes& transponder_codes() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::TransponderCodes* release_transponder_codes(); + ::anduril::entitymanager::v1::TransponderCodes* mutable_transponder_codes(); + void set_allocated_transponder_codes(::anduril::entitymanager::v1::TransponderCodes* value); + void unsafe_arena_set_allocated_transponder_codes(::anduril::entitymanager::v1::TransponderCodes* value); + ::anduril::entitymanager::v1::TransponderCodes* unsafe_arena_release_transponder_codes(); + + private: + const ::anduril::entitymanager::v1::TransponderCodes& _internal_transponder_codes() const; + ::anduril::entitymanager::v1::TransponderCodes* _internal_mutable_transponder_codes(); + + public: + // .anduril.entitymanager.v1.Classification data_classification = 29 [json_name = "dataClassification"]; + bool has_data_classification() const; + void clear_data_classification() ; + const ::anduril::entitymanager::v1::Classification& data_classification() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Classification* release_data_classification(); + ::anduril::entitymanager::v1::Classification* mutable_data_classification(); + void set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value); + void unsafe_arena_set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value); + ::anduril::entitymanager::v1::Classification* unsafe_arena_release_data_classification(); + + private: + const ::anduril::entitymanager::v1::Classification& _internal_data_classification() const; + ::anduril::entitymanager::v1::Classification* _internal_mutable_data_classification(); + + public: + // .anduril.entitymanager.v1.PowerState power_state = 30 [json_name = "powerState"]; + bool has_power_state() const; + void clear_power_state() ; + const ::anduril::entitymanager::v1::PowerState& power_state() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PowerState* release_power_state(); + ::anduril::entitymanager::v1::PowerState* mutable_power_state(); + void set_allocated_power_state(::anduril::entitymanager::v1::PowerState* value); + void unsafe_arena_set_allocated_power_state(::anduril::entitymanager::v1::PowerState* value); + ::anduril::entitymanager::v1::PowerState* unsafe_arena_release_power_state(); + + private: + const ::anduril::entitymanager::v1::PowerState& _internal_power_state() const; + ::anduril::entitymanager::v1::PowerState* _internal_mutable_power_state(); + + public: + // .anduril.tasks.v2.TaskCatalog task_catalog = 31 [json_name = "taskCatalog"]; + bool has_task_catalog() const; + void clear_task_catalog() ; + const ::anduril::tasks::v2::TaskCatalog& task_catalog() const; + PROTOBUF_NODISCARD ::anduril::tasks::v2::TaskCatalog* release_task_catalog(); + ::anduril::tasks::v2::TaskCatalog* mutable_task_catalog(); + void set_allocated_task_catalog(::anduril::tasks::v2::TaskCatalog* value); + void unsafe_arena_set_allocated_task_catalog(::anduril::tasks::v2::TaskCatalog* value); + ::anduril::tasks::v2::TaskCatalog* unsafe_arena_release_task_catalog(); + + private: + const ::anduril::tasks::v2::TaskCatalog& _internal_task_catalog() const; + ::anduril::tasks::v2::TaskCatalog* _internal_mutable_task_catalog(); + + public: + // .anduril.entitymanager.v1.Relationships relationships = 33 [json_name = "relationships"]; + bool has_relationships() const; + void clear_relationships() ; + const ::anduril::entitymanager::v1::Relationships& relationships() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Relationships* release_relationships(); + ::anduril::entitymanager::v1::Relationships* mutable_relationships(); + void set_allocated_relationships(::anduril::entitymanager::v1::Relationships* value); + void unsafe_arena_set_allocated_relationships(::anduril::entitymanager::v1::Relationships* value); + ::anduril::entitymanager::v1::Relationships* unsafe_arena_release_relationships(); + + private: + const ::anduril::entitymanager::v1::Relationships& _internal_relationships() const; + ::anduril::entitymanager::v1::Relationships* _internal_mutable_relationships(); + + public: + // .anduril.entitymanager.v1.VisualDetails visual_details = 34 [json_name = "visualDetails"]; + bool has_visual_details() const; + void clear_visual_details() ; + const ::anduril::entitymanager::v1::VisualDetails& visual_details() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::VisualDetails* release_visual_details(); + ::anduril::entitymanager::v1::VisualDetails* mutable_visual_details(); + void set_allocated_visual_details(::anduril::entitymanager::v1::VisualDetails* value); + void unsafe_arena_set_allocated_visual_details(::anduril::entitymanager::v1::VisualDetails* value); + ::anduril::entitymanager::v1::VisualDetails* unsafe_arena_release_visual_details(); + + private: + const ::anduril::entitymanager::v1::VisualDetails& _internal_visual_details() const; + ::anduril::entitymanager::v1::VisualDetails* _internal_mutable_visual_details(); + + public: + // .anduril.entitymanager.v1.Dimensions dimensions = 36 [json_name = "dimensions"]; + bool has_dimensions() const; + void clear_dimensions() ; + const ::anduril::entitymanager::v1::Dimensions& dimensions() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Dimensions* release_dimensions(); + ::anduril::entitymanager::v1::Dimensions* mutable_dimensions(); + void set_allocated_dimensions(::anduril::entitymanager::v1::Dimensions* value); + void unsafe_arena_set_allocated_dimensions(::anduril::entitymanager::v1::Dimensions* value); + ::anduril::entitymanager::v1::Dimensions* unsafe_arena_release_dimensions(); + + private: + const ::anduril::entitymanager::v1::Dimensions& _internal_dimensions() const; + ::anduril::entitymanager::v1::Dimensions* _internal_mutable_dimensions(); + + public: + // .anduril.entitymanager.v1.RouteDetails route_details = 37 [json_name = "routeDetails"]; + bool has_route_details() const; + void clear_route_details() ; + const ::anduril::entitymanager::v1::RouteDetails& route_details() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::RouteDetails* release_route_details(); + ::anduril::entitymanager::v1::RouteDetails* mutable_route_details(); + void set_allocated_route_details(::anduril::entitymanager::v1::RouteDetails* value); + void unsafe_arena_set_allocated_route_details(::anduril::entitymanager::v1::RouteDetails* value); + ::anduril::entitymanager::v1::RouteDetails* unsafe_arena_release_route_details(); + + private: + const ::anduril::entitymanager::v1::RouteDetails& _internal_route_details() const; + ::anduril::entitymanager::v1::RouteDetails* _internal_mutable_route_details(); + + public: + // .anduril.entitymanager.v1.Schedules schedules = 38 [json_name = "schedules"]; + bool has_schedules() const; + void clear_schedules() ; + const ::anduril::entitymanager::v1::Schedules& schedules() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Schedules* release_schedules(); + ::anduril::entitymanager::v1::Schedules* mutable_schedules(); + void set_allocated_schedules(::anduril::entitymanager::v1::Schedules* value); + void unsafe_arena_set_allocated_schedules(::anduril::entitymanager::v1::Schedules* value); + ::anduril::entitymanager::v1::Schedules* unsafe_arena_release_schedules(); + + private: + const ::anduril::entitymanager::v1::Schedules& _internal_schedules() const; + ::anduril::entitymanager::v1::Schedules* _internal_mutable_schedules(); + + public: + // .anduril.entitymanager.v1.Health health = 39 [json_name = "health"]; + bool has_health() const; + void clear_health() ; + const ::anduril::entitymanager::v1::Health& health() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Health* release_health(); + ::anduril::entitymanager::v1::Health* mutable_health(); + void set_allocated_health(::anduril::entitymanager::v1::Health* value); + void unsafe_arena_set_allocated_health(::anduril::entitymanager::v1::Health* value); + ::anduril::entitymanager::v1::Health* unsafe_arena_release_health(); + + private: + const ::anduril::entitymanager::v1::Health& _internal_health() const; + ::anduril::entitymanager::v1::Health* _internal_mutable_health(); + + public: + // .anduril.entitymanager.v1.GroupDetails group_details = 40 [json_name = "groupDetails"]; + bool has_group_details() const; + void clear_group_details() ; + const ::anduril::entitymanager::v1::GroupDetails& group_details() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GroupDetails* release_group_details(); + ::anduril::entitymanager::v1::GroupDetails* mutable_group_details(); + void set_allocated_group_details(::anduril::entitymanager::v1::GroupDetails* value); + void unsafe_arena_set_allocated_group_details(::anduril::entitymanager::v1::GroupDetails* value); + ::anduril::entitymanager::v1::GroupDetails* unsafe_arena_release_group_details(); + + private: + const ::anduril::entitymanager::v1::GroupDetails& _internal_group_details() const; + ::anduril::entitymanager::v1::GroupDetails* _internal_mutable_group_details(); + + public: + // .anduril.entitymanager.v1.Supplies supplies = 42 [json_name = "supplies"]; + bool has_supplies() const; + void clear_supplies() ; + const ::anduril::entitymanager::v1::Supplies& supplies() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Supplies* release_supplies(); + ::anduril::entitymanager::v1::Supplies* mutable_supplies(); + void set_allocated_supplies(::anduril::entitymanager::v1::Supplies* value); + void unsafe_arena_set_allocated_supplies(::anduril::entitymanager::v1::Supplies* value); + ::anduril::entitymanager::v1::Supplies* unsafe_arena_release_supplies(); + + private: + const ::anduril::entitymanager::v1::Supplies& _internal_supplies() const; + ::anduril::entitymanager::v1::Supplies* _internal_mutable_supplies(); + + public: + // .anduril.entitymanager.v1.Orbit orbit = 46 [json_name = "orbit"]; + bool has_orbit() const; + void clear_orbit() ; + const ::anduril::entitymanager::v1::Orbit& orbit() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Orbit* release_orbit(); + ::anduril::entitymanager::v1::Orbit* mutable_orbit(); + void set_allocated_orbit(::anduril::entitymanager::v1::Orbit* value); + void unsafe_arena_set_allocated_orbit(::anduril::entitymanager::v1::Orbit* value); + ::anduril::entitymanager::v1::Orbit* unsafe_arena_release_orbit(); + + private: + const ::anduril::entitymanager::v1::Orbit& _internal_orbit() const; + ::anduril::entitymanager::v1::Orbit* _internal_mutable_orbit(); + + public: + // .anduril.entitymanager.v1.Correlation correlation = 47 [json_name = "correlation"]; + bool has_correlation() const; + void clear_correlation() ; + const ::anduril::entitymanager::v1::Correlation& correlation() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Correlation* release_correlation(); + ::anduril::entitymanager::v1::Correlation* mutable_correlation(); + void set_allocated_correlation(::anduril::entitymanager::v1::Correlation* value); + void unsafe_arena_set_allocated_correlation(::anduril::entitymanager::v1::Correlation* value); + ::anduril::entitymanager::v1::Correlation* unsafe_arena_release_correlation(); + + private: + const ::anduril::entitymanager::v1::Correlation& _internal_correlation() const; + ::anduril::entitymanager::v1::Correlation* _internal_mutable_correlation(); + + public: + // bool is_live = 3 [json_name = "isLive"]; + void clear_is_live() ; + bool is_live() const; + void set_is_live(bool value); + + private: + bool _internal_is_live() const; + void _internal_set_is_live(bool value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Entity) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 5, 35, 32, + 92, 7> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Entity& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr entity_id_; + ::google::protobuf::internal::ArenaStringPtr description_; + ::google::protobuf::Timestamp* created_time_; + ::google::protobuf::Timestamp* expiry_time_; + ::anduril::entitymanager::v1::Location* location_; + ::anduril::entitymanager::v1::Aliases* aliases_; + ::anduril::entitymanager::v1::Tracked* tracked_; + ::anduril::entitymanager::v1::MilView* mil_view_; + ::anduril::entitymanager::v1::Ontology* ontology_; + ::anduril::entitymanager::v1::Provenance* provenance_; + ::anduril::entitymanager::v1::Overrides* overrides_; + ::anduril::entitymanager::v1::Indicators* indicators_; + ::anduril::entitymanager::v1::LocationUncertainty* location_uncertainty_; + ::anduril::entitymanager::v1::Status* status_; + ::anduril::entitymanager::v1::Sensors* sensors_; + ::anduril::entitymanager::v1::Payloads* payloads_; + ::anduril::entitymanager::v1::TargetPriority* target_priority_; + ::anduril::entitymanager::v1::GeoShape* geo_shape_; + ::anduril::entitymanager::v1::GeoDetails* geo_details_; + ::anduril::entitymanager::v1::Signal* signal_; + ::anduril::entitymanager::v1::TransponderCodes* transponder_codes_; + ::anduril::entitymanager::v1::Classification* data_classification_; + ::anduril::entitymanager::v1::PowerState* power_state_; + ::anduril::tasks::v2::TaskCatalog* task_catalog_; + ::anduril::entitymanager::v1::Relationships* relationships_; + ::anduril::entitymanager::v1::VisualDetails* visual_details_; + ::anduril::entitymanager::v1::Dimensions* dimensions_; + ::anduril::entitymanager::v1::RouteDetails* route_details_; + ::anduril::entitymanager::v1::Schedules* schedules_; + ::anduril::entitymanager::v1::Health* health_; + ::anduril::entitymanager::v1::GroupDetails* group_details_; + ::anduril::entitymanager::v1::Supplies* supplies_; + ::anduril::entitymanager::v1::Orbit* orbit_; + ::anduril::entitymanager::v1::Correlation* correlation_; + bool is_live_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Override final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Override) */ { + public: + inline Override() : Override(nullptr) {} + ~Override() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Override* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Override)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Override( + ::google::protobuf::internal::ConstantInitialized); + + inline Override(const Override& from) : Override(nullptr, from) {} + inline Override(Override&& from) noexcept + : Override(nullptr, std::move(from)) {} + inline Override& operator=(const Override& from) { + CopyFrom(from); + return *this; + } + inline Override& operator=(Override&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Override& default_instance() { + return *internal_default_instance(); + } + static inline const Override* internal_default_instance() { + return reinterpret_cast( + &_Override_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(Override& a, Override& b) { a.Swap(&b); } + inline void Swap(Override* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Override* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Override* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Override& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Override& from) { Override::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Override* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Override"; } + + protected: + explicit Override(::google::protobuf::Arena* arena); + Override(::google::protobuf::Arena* arena, const Override& from); + Override(::google::protobuf::Arena* arena, Override&& from) noexcept + : Override(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRequestIdFieldNumber = 1, + kFieldPathFieldNumber = 2, + kMaskedFieldValueFieldNumber = 3, + kProvenanceFieldNumber = 5, + kRequestTimestampFieldNumber = 7, + kStatusFieldNumber = 4, + kTypeFieldNumber = 6, + }; + // string request_id = 1 [json_name = "requestId"]; + void clear_request_id() ; + const std::string& request_id() const; + template + void set_request_id(Arg_&& arg, Args_... args); + std::string* mutable_request_id(); + PROTOBUF_NODISCARD std::string* release_request_id(); + void set_allocated_request_id(std::string* value); + + private: + const std::string& _internal_request_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( + const std::string& value); + std::string* _internal_mutable_request_id(); + + public: + // string field_path = 2 [json_name = "fieldPath"]; + void clear_field_path() ; + const std::string& field_path() const; + template + void set_field_path(Arg_&& arg, Args_... args); + std::string* mutable_field_path(); + PROTOBUF_NODISCARD std::string* release_field_path(); + void set_allocated_field_path(std::string* value); + + private: + const std::string& _internal_field_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_path( + const std::string& value); + std::string* _internal_mutable_field_path(); + + public: + // .anduril.entitymanager.v1.Entity masked_field_value = 3 [json_name = "maskedFieldValue"]; + bool has_masked_field_value() const; + void clear_masked_field_value() ; + const ::anduril::entitymanager::v1::Entity& masked_field_value() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_masked_field_value(); + ::anduril::entitymanager::v1::Entity* mutable_masked_field_value(); + void set_allocated_masked_field_value(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_masked_field_value(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_masked_field_value(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_masked_field_value() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_masked_field_value(); + + public: + // .anduril.entitymanager.v1.Provenance provenance = 5 [json_name = "provenance"]; + bool has_provenance() const; + void clear_provenance() ; + const ::anduril::entitymanager::v1::Provenance& provenance() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Provenance* release_provenance(); + ::anduril::entitymanager::v1::Provenance* mutable_provenance(); + void set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + void unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + ::anduril::entitymanager::v1::Provenance* unsafe_arena_release_provenance(); + + private: + const ::anduril::entitymanager::v1::Provenance& _internal_provenance() const; + ::anduril::entitymanager::v1::Provenance* _internal_mutable_provenance(); + + public: + // .google.protobuf.Timestamp request_timestamp = 7 [json_name = "requestTimestamp"]; + bool has_request_timestamp() const; + void clear_request_timestamp() ; + const ::google::protobuf::Timestamp& request_timestamp() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_request_timestamp(); + ::google::protobuf::Timestamp* mutable_request_timestamp(); + void set_allocated_request_timestamp(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_request_timestamp(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_request_timestamp(); + + private: + const ::google::protobuf::Timestamp& _internal_request_timestamp() const; + ::google::protobuf::Timestamp* _internal_mutable_request_timestamp(); + + public: + // .anduril.entitymanager.v1.OverrideStatus status = 4 [json_name = "status"]; + void clear_status() ; + ::anduril::entitymanager::v1::OverrideStatus status() const; + void set_status(::anduril::entitymanager::v1::OverrideStatus value); + + private: + ::anduril::entitymanager::v1::OverrideStatus _internal_status() const; + void _internal_set_status(::anduril::entitymanager::v1::OverrideStatus value); + + public: + // .anduril.entitymanager.v1.OverrideType type = 6 [json_name = "type"]; + void clear_type() ; + ::anduril::entitymanager::v1::OverrideType type() const; + void set_type(::anduril::entitymanager::v1::OverrideType value); + + private: + ::anduril::entitymanager::v1::OverrideType _internal_type() const; + void _internal_set_type(::anduril::entitymanager::v1::OverrideType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Override) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 7, 3, + 62, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Override& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr request_id_; + ::google::protobuf::internal::ArenaStringPtr field_path_; + ::anduril::entitymanager::v1::Entity* masked_field_value_; + ::anduril::entitymanager::v1::Provenance* provenance_; + ::google::protobuf::Timestamp* request_timestamp_; + int status_; + int type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Overrides final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Overrides) */ { + public: + inline Overrides() : Overrides(nullptr) {} + ~Overrides() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Overrides* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Overrides)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Overrides( + ::google::protobuf::internal::ConstantInitialized); + + inline Overrides(const Overrides& from) : Overrides(nullptr, from) {} + inline Overrides(Overrides&& from) noexcept + : Overrides(nullptr, std::move(from)) {} + inline Overrides& operator=(const Overrides& from) { + CopyFrom(from); + return *this; + } + inline Overrides& operator=(Overrides&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Overrides& default_instance() { + return *internal_default_instance(); + } + static inline const Overrides* internal_default_instance() { + return reinterpret_cast( + &_Overrides_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(Overrides& a, Overrides& b) { a.Swap(&b); } + inline void Swap(Overrides* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Overrides* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Overrides* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Overrides& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Overrides& from) { Overrides::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Overrides* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Overrides"; } + + protected: + explicit Overrides(::google::protobuf::Arena* arena); + Overrides(::google::protobuf::Arena* arena, const Overrides& from); + Overrides(::google::protobuf::Arena* arena, Overrides&& from) noexcept + : Overrides(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOverrideFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.Override override = 2 [json_name = "override"]; + int override_size() const; + private: + int _internal_override_size() const; + + public: + void clear_override() ; + ::anduril::entitymanager::v1::Override* mutable_override(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>* mutable_override(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>& _internal_override() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>* _internal_mutable_override(); + public: + const ::anduril::entitymanager::v1::Override& override(int index) const; + ::anduril::entitymanager::v1::Override* add_override(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>& override() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Overrides) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Overrides& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Override > override_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Entity + +// string entity_id = 1 [json_name = "entityId"]; +inline void Entity::clear_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.ClearToEmpty(); +} +inline const std::string& Entity::entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.entity_id) + return _internal_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Entity::set_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Entity.entity_id) +} +inline std::string* Entity::mutable_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.entity_id) + return _s; +} +inline const std::string& Entity::_internal_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.entity_id_.Get(); +} +inline void Entity::_internal_set_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(value, GetArena()); +} +inline std::string* Entity::_internal_mutable_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.entity_id_.Mutable( GetArena()); +} +inline std::string* Entity::release_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.entity_id) + return _impl_.entity_id_.Release(); +} +inline void Entity::set_allocated_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entity_id_.IsDefault()) { + _impl_.entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.entity_id) +} + +// string description = 2 [json_name = "description"]; +inline void Entity::clear_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.ClearToEmpty(); +} +inline const std::string& Entity::description() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.description) + return _internal_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Entity::set_description(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Entity.description) +} +inline std::string* Entity::mutable_description() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_description(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.description) + return _s; +} +inline const std::string& Entity::_internal_description() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.description_.Get(); +} +inline void Entity::_internal_set_description(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.Set(value, GetArena()); +} +inline std::string* Entity::_internal_mutable_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.description_.Mutable( GetArena()); +} +inline std::string* Entity::release_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.description) + return _impl_.description_.Release(); +} +inline void Entity::set_allocated_description(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { + _impl_.description_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.description) +} + +// bool is_live = 3 [json_name = "isLive"]; +inline void Entity::clear_is_live() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_live_ = false; +} +inline bool Entity::is_live() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.is_live) + return _internal_is_live(); +} +inline void Entity::set_is_live(bool value) { + _internal_set_is_live(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Entity.is_live) +} +inline bool Entity::_internal_is_live() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_live_; +} +inline void Entity::_internal_set_is_live(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_live_ = value; +} + +// .google.protobuf.Timestamp created_time = 4 [json_name = "createdTime"]; +inline bool Entity::has_created_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.created_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Entity::_internal_created_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.created_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Entity::created_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.created_time) + return _internal_created_time(); +} +inline void Entity::unsafe_arena_set_allocated_created_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.created_time_); + } + _impl_.created_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.created_time) +} +inline ::google::protobuf::Timestamp* Entity::release_created_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.created_time_; + _impl_.created_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Entity::unsafe_arena_release_created_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.created_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.created_time_; + _impl_.created_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Entity::_internal_mutable_created_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.created_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.created_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.created_time_; +} +inline ::google::protobuf::Timestamp* Entity::mutable_created_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_created_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.created_time) + return _msg; +} +inline void Entity::set_allocated_created_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.created_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.created_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.created_time) +} + +// .google.protobuf.Timestamp expiry_time = 5 [json_name = "expiryTime"]; +inline bool Entity::has_expiry_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.expiry_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Entity::_internal_expiry_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.expiry_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Entity::expiry_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.expiry_time) + return _internal_expiry_time(); +} +inline void Entity::unsafe_arena_set_allocated_expiry_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expiry_time_); + } + _impl_.expiry_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.expiry_time) +} +inline ::google::protobuf::Timestamp* Entity::release_expiry_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* released = _impl_.expiry_time_; + _impl_.expiry_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Entity::unsafe_arena_release_expiry_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.expiry_time) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* temp = _impl_.expiry_time_; + _impl_.expiry_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Entity::_internal_mutable_expiry_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.expiry_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.expiry_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.expiry_time_; +} +inline ::google::protobuf::Timestamp* Entity::mutable_expiry_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_expiry_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.expiry_time) + return _msg; +} +inline void Entity::set_allocated_expiry_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expiry_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.expiry_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.expiry_time) +} + +// .anduril.entitymanager.v1.Status status = 19 [json_name = "status"]; +inline bool Entity::has_status() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr); + return value; +} +inline void Entity::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ != nullptr) _impl_.status_->Clear(); + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline const ::anduril::entitymanager::v1::Status& Entity::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Status* p = _impl_.status_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Status_default_instance_); +} +inline const ::anduril::entitymanager::v1::Status& Entity::status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.status) + return _internal_status(); +} +inline void Entity::unsafe_arena_set_allocated_status(::anduril::entitymanager::v1::Status* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); + } + _impl_.status_ = reinterpret_cast<::anduril::entitymanager::v1::Status*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.status) +} +inline ::anduril::entitymanager::v1::Status* Entity::release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000800u; + ::anduril::entitymanager::v1::Status* released = _impl_.status_; + _impl_.status_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Status* Entity::unsafe_arena_release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.status) + + _impl_._has_bits_[0] &= ~0x00000800u; + ::anduril::entitymanager::v1::Status* temp = _impl_.status_; + _impl_.status_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Status* Entity::_internal_mutable_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Status>(GetArena()); + _impl_.status_ = reinterpret_cast<::anduril::entitymanager::v1::Status*>(p); + } + return _impl_.status_; +} +inline ::anduril::entitymanager::v1::Status* Entity::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000800u; + ::anduril::entitymanager::v1::Status* _msg = _internal_mutable_status(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.status) + return _msg; +} +inline void Entity::set_allocated_status(::anduril::entitymanager::v1::Status* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.status_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + + _impl_.status_ = reinterpret_cast<::anduril::entitymanager::v1::Status*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.status) +} + +// .anduril.entitymanager.v1.Location location = 6 [json_name = "location"]; +inline bool Entity::has_location() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Location& Entity::_internal_location() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Location* p = _impl_.location_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Location_default_instance_); +} +inline const ::anduril::entitymanager::v1::Location& Entity::location() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.location) + return _internal_location(); +} +inline void Entity::unsafe_arena_set_allocated_location(::anduril::entitymanager::v1::Location* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_); + } + _impl_.location_ = reinterpret_cast<::anduril::entitymanager::v1::Location*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.location) +} +inline ::anduril::entitymanager::v1::Location* Entity::release_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::Location* released = _impl_.location_; + _impl_.location_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Location* Entity::unsafe_arena_release_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.location) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::Location* temp = _impl_.location_; + _impl_.location_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Location* Entity::_internal_mutable_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.location_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Location>(GetArena()); + _impl_.location_ = reinterpret_cast<::anduril::entitymanager::v1::Location*>(p); + } + return _impl_.location_; +} +inline ::anduril::entitymanager::v1::Location* Entity::mutable_location() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::entitymanager::v1::Location* _msg = _internal_mutable_location(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.location) + return _msg; +} +inline void Entity::set_allocated_location(::anduril::entitymanager::v1::Location* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.location_ = reinterpret_cast<::anduril::entitymanager::v1::Location*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.location) +} + +// .anduril.entitymanager.v1.LocationUncertainty location_uncertainty = 15 [json_name = "locationUncertainty"]; +inline bool Entity::has_location_uncertainty() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + PROTOBUF_ASSUME(!value || _impl_.location_uncertainty_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::LocationUncertainty& Entity::_internal_location_uncertainty() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::LocationUncertainty* p = _impl_.location_uncertainty_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_LocationUncertainty_default_instance_); +} +inline const ::anduril::entitymanager::v1::LocationUncertainty& Entity::location_uncertainty() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.location_uncertainty) + return _internal_location_uncertainty(); +} +inline void Entity::unsafe_arena_set_allocated_location_uncertainty(::anduril::entitymanager::v1::LocationUncertainty* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_uncertainty_); + } + _impl_.location_uncertainty_ = reinterpret_cast<::anduril::entitymanager::v1::LocationUncertainty*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.location_uncertainty) +} +inline ::anduril::entitymanager::v1::LocationUncertainty* Entity::release_location_uncertainty() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000400u; + ::anduril::entitymanager::v1::LocationUncertainty* released = _impl_.location_uncertainty_; + _impl_.location_uncertainty_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::LocationUncertainty* Entity::unsafe_arena_release_location_uncertainty() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.location_uncertainty) + + _impl_._has_bits_[0] &= ~0x00000400u; + ::anduril::entitymanager::v1::LocationUncertainty* temp = _impl_.location_uncertainty_; + _impl_.location_uncertainty_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::LocationUncertainty* Entity::_internal_mutable_location_uncertainty() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.location_uncertainty_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::LocationUncertainty>(GetArena()); + _impl_.location_uncertainty_ = reinterpret_cast<::anduril::entitymanager::v1::LocationUncertainty*>(p); + } + return _impl_.location_uncertainty_; +} +inline ::anduril::entitymanager::v1::LocationUncertainty* Entity::mutable_location_uncertainty() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000400u; + ::anduril::entitymanager::v1::LocationUncertainty* _msg = _internal_mutable_location_uncertainty(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.location_uncertainty) + return _msg; +} +inline void Entity::set_allocated_location_uncertainty(::anduril::entitymanager::v1::LocationUncertainty* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_uncertainty_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + + _impl_.location_uncertainty_ = reinterpret_cast<::anduril::entitymanager::v1::LocationUncertainty*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.location_uncertainty) +} + +// .anduril.entitymanager.v1.GeoShape geo_shape = 23 [json_name = "geoShape"]; +inline bool Entity::has_geo_shape() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.geo_shape_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::GeoShape& Entity::_internal_geo_shape() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::GeoShape* p = _impl_.geo_shape_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_GeoShape_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoShape& Entity::geo_shape() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.geo_shape) + return _internal_geo_shape(); +} +inline void Entity::unsafe_arena_set_allocated_geo_shape(::anduril::entitymanager::v1::GeoShape* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.geo_shape_); + } + _impl_.geo_shape_ = reinterpret_cast<::anduril::entitymanager::v1::GeoShape*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00008000u; + } else { + _impl_._has_bits_[0] &= ~0x00008000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.geo_shape) +} +inline ::anduril::entitymanager::v1::GeoShape* Entity::release_geo_shape() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00008000u; + ::anduril::entitymanager::v1::GeoShape* released = _impl_.geo_shape_; + _impl_.geo_shape_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::GeoShape* Entity::unsafe_arena_release_geo_shape() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.geo_shape) + + _impl_._has_bits_[0] &= ~0x00008000u; + ::anduril::entitymanager::v1::GeoShape* temp = _impl_.geo_shape_; + _impl_.geo_shape_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::GeoShape* Entity::_internal_mutable_geo_shape() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.geo_shape_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoShape>(GetArena()); + _impl_.geo_shape_ = reinterpret_cast<::anduril::entitymanager::v1::GeoShape*>(p); + } + return _impl_.geo_shape_; +} +inline ::anduril::entitymanager::v1::GeoShape* Entity::mutable_geo_shape() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00008000u; + ::anduril::entitymanager::v1::GeoShape* _msg = _internal_mutable_geo_shape(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.geo_shape) + return _msg; +} +inline void Entity::set_allocated_geo_shape(::anduril::entitymanager::v1::GeoShape* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.geo_shape_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00008000u; + } else { + _impl_._has_bits_[0] &= ~0x00008000u; + } + + _impl_.geo_shape_ = reinterpret_cast<::anduril::entitymanager::v1::GeoShape*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.geo_shape) +} + +// .anduril.entitymanager.v1.GeoDetails geo_details = 24 [json_name = "geoDetails"]; +inline bool Entity::has_geo_details() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.geo_details_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::GeoDetails& Entity::_internal_geo_details() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::GeoDetails* p = _impl_.geo_details_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_GeoDetails_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoDetails& Entity::geo_details() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.geo_details) + return _internal_geo_details(); +} +inline void Entity::unsafe_arena_set_allocated_geo_details(::anduril::entitymanager::v1::GeoDetails* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.geo_details_); + } + _impl_.geo_details_ = reinterpret_cast<::anduril::entitymanager::v1::GeoDetails*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00010000u; + } else { + _impl_._has_bits_[0] &= ~0x00010000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.geo_details) +} +inline ::anduril::entitymanager::v1::GeoDetails* Entity::release_geo_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00010000u; + ::anduril::entitymanager::v1::GeoDetails* released = _impl_.geo_details_; + _impl_.geo_details_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::GeoDetails* Entity::unsafe_arena_release_geo_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.geo_details) + + _impl_._has_bits_[0] &= ~0x00010000u; + ::anduril::entitymanager::v1::GeoDetails* temp = _impl_.geo_details_; + _impl_.geo_details_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::GeoDetails* Entity::_internal_mutable_geo_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.geo_details_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoDetails>(GetArena()); + _impl_.geo_details_ = reinterpret_cast<::anduril::entitymanager::v1::GeoDetails*>(p); + } + return _impl_.geo_details_; +} +inline ::anduril::entitymanager::v1::GeoDetails* Entity::mutable_geo_details() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00010000u; + ::anduril::entitymanager::v1::GeoDetails* _msg = _internal_mutable_geo_details(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.geo_details) + return _msg; +} +inline void Entity::set_allocated_geo_details(::anduril::entitymanager::v1::GeoDetails* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.geo_details_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00010000u; + } else { + _impl_._has_bits_[0] &= ~0x00010000u; + } + + _impl_.geo_details_ = reinterpret_cast<::anduril::entitymanager::v1::GeoDetails*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.geo_details) +} + +// .anduril.entitymanager.v1.Aliases aliases = 7 [json_name = "aliases"]; +inline bool Entity::has_aliases() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.aliases_ != nullptr); + return value; +} +inline void Entity::clear_aliases() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.aliases_ != nullptr) _impl_.aliases_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::anduril::entitymanager::v1::Aliases& Entity::_internal_aliases() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Aliases* p = _impl_.aliases_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Aliases_default_instance_); +} +inline const ::anduril::entitymanager::v1::Aliases& Entity::aliases() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.aliases) + return _internal_aliases(); +} +inline void Entity::unsafe_arena_set_allocated_aliases(::anduril::entitymanager::v1::Aliases* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.aliases_); + } + _impl_.aliases_ = reinterpret_cast<::anduril::entitymanager::v1::Aliases*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.aliases) +} +inline ::anduril::entitymanager::v1::Aliases* Entity::release_aliases() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::entitymanager::v1::Aliases* released = _impl_.aliases_; + _impl_.aliases_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Aliases* Entity::unsafe_arena_release_aliases() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.aliases) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::entitymanager::v1::Aliases* temp = _impl_.aliases_; + _impl_.aliases_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Aliases* Entity::_internal_mutable_aliases() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.aliases_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Aliases>(GetArena()); + _impl_.aliases_ = reinterpret_cast<::anduril::entitymanager::v1::Aliases*>(p); + } + return _impl_.aliases_; +} +inline ::anduril::entitymanager::v1::Aliases* Entity::mutable_aliases() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::anduril::entitymanager::v1::Aliases* _msg = _internal_mutable_aliases(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.aliases) + return _msg; +} +inline void Entity::set_allocated_aliases(::anduril::entitymanager::v1::Aliases* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.aliases_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.aliases_ = reinterpret_cast<::anduril::entitymanager::v1::Aliases*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.aliases) +} + +// .anduril.entitymanager.v1.Tracked tracked = 8 [json_name = "tracked"]; +inline bool Entity::has_tracked() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tracked_ != nullptr); + return value; +} +inline void Entity::clear_tracked() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.tracked_ != nullptr) _impl_.tracked_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::anduril::entitymanager::v1::Tracked& Entity::_internal_tracked() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Tracked* p = _impl_.tracked_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Tracked_default_instance_); +} +inline const ::anduril::entitymanager::v1::Tracked& Entity::tracked() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.tracked) + return _internal_tracked(); +} +inline void Entity::unsafe_arena_set_allocated_tracked(::anduril::entitymanager::v1::Tracked* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tracked_); + } + _impl_.tracked_ = reinterpret_cast<::anduril::entitymanager::v1::Tracked*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.tracked) +} +inline ::anduril::entitymanager::v1::Tracked* Entity::release_tracked() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000010u; + ::anduril::entitymanager::v1::Tracked* released = _impl_.tracked_; + _impl_.tracked_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Tracked* Entity::unsafe_arena_release_tracked() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.tracked) + + _impl_._has_bits_[0] &= ~0x00000010u; + ::anduril::entitymanager::v1::Tracked* temp = _impl_.tracked_; + _impl_.tracked_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Tracked* Entity::_internal_mutable_tracked() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.tracked_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Tracked>(GetArena()); + _impl_.tracked_ = reinterpret_cast<::anduril::entitymanager::v1::Tracked*>(p); + } + return _impl_.tracked_; +} +inline ::anduril::entitymanager::v1::Tracked* Entity::mutable_tracked() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; + ::anduril::entitymanager::v1::Tracked* _msg = _internal_mutable_tracked(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.tracked) + return _msg; +} +inline void Entity::set_allocated_tracked(::anduril::entitymanager::v1::Tracked* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.tracked_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + + _impl_.tracked_ = reinterpret_cast<::anduril::entitymanager::v1::Tracked*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.tracked) +} + +// .anduril.entitymanager.v1.Correlation correlation = 47 [json_name = "correlation"]; +inline bool Entity::has_correlation() const { + bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.correlation_ != nullptr); + return value; +} +inline void Entity::clear_correlation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.correlation_ != nullptr) _impl_.correlation_->Clear(); + _impl_._has_bits_[0] &= ~0x80000000u; +} +inline const ::anduril::entitymanager::v1::Correlation& Entity::_internal_correlation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Correlation* p = _impl_.correlation_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Correlation_default_instance_); +} +inline const ::anduril::entitymanager::v1::Correlation& Entity::correlation() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.correlation) + return _internal_correlation(); +} +inline void Entity::unsafe_arena_set_allocated_correlation(::anduril::entitymanager::v1::Correlation* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.correlation_); + } + _impl_.correlation_ = reinterpret_cast<::anduril::entitymanager::v1::Correlation*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x80000000u; + } else { + _impl_._has_bits_[0] &= ~0x80000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.correlation) +} +inline ::anduril::entitymanager::v1::Correlation* Entity::release_correlation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x80000000u; + ::anduril::entitymanager::v1::Correlation* released = _impl_.correlation_; + _impl_.correlation_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Correlation* Entity::unsafe_arena_release_correlation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.correlation) + + _impl_._has_bits_[0] &= ~0x80000000u; + ::anduril::entitymanager::v1::Correlation* temp = _impl_.correlation_; + _impl_.correlation_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Correlation* Entity::_internal_mutable_correlation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.correlation_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Correlation>(GetArena()); + _impl_.correlation_ = reinterpret_cast<::anduril::entitymanager::v1::Correlation*>(p); + } + return _impl_.correlation_; +} +inline ::anduril::entitymanager::v1::Correlation* Entity::mutable_correlation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x80000000u; + ::anduril::entitymanager::v1::Correlation* _msg = _internal_mutable_correlation(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.correlation) + return _msg; +} +inline void Entity::set_allocated_correlation(::anduril::entitymanager::v1::Correlation* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.correlation_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x80000000u; + } else { + _impl_._has_bits_[0] &= ~0x80000000u; + } + + _impl_.correlation_ = reinterpret_cast<::anduril::entitymanager::v1::Correlation*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.correlation) +} + +// .anduril.entitymanager.v1.MilView mil_view = 10 [json_name = "milView"]; +inline bool Entity::has_mil_view() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.mil_view_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::MilView& Entity::_internal_mil_view() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::MilView* p = _impl_.mil_view_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_MilView_default_instance_); +} +inline const ::anduril::entitymanager::v1::MilView& Entity::mil_view() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.mil_view) + return _internal_mil_view(); +} +inline void Entity::unsafe_arena_set_allocated_mil_view(::anduril::entitymanager::v1::MilView* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mil_view_); + } + _impl_.mil_view_ = reinterpret_cast<::anduril::entitymanager::v1::MilView*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.mil_view) +} +inline ::anduril::entitymanager::v1::MilView* Entity::release_mil_view() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000020u; + ::anduril::entitymanager::v1::MilView* released = _impl_.mil_view_; + _impl_.mil_view_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::MilView* Entity::unsafe_arena_release_mil_view() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.mil_view) + + _impl_._has_bits_[0] &= ~0x00000020u; + ::anduril::entitymanager::v1::MilView* temp = _impl_.mil_view_; + _impl_.mil_view_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::MilView* Entity::_internal_mutable_mil_view() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.mil_view_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::MilView>(GetArena()); + _impl_.mil_view_ = reinterpret_cast<::anduril::entitymanager::v1::MilView*>(p); + } + return _impl_.mil_view_; +} +inline ::anduril::entitymanager::v1::MilView* Entity::mutable_mil_view() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000020u; + ::anduril::entitymanager::v1::MilView* _msg = _internal_mutable_mil_view(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.mil_view) + return _msg; +} +inline void Entity::set_allocated_mil_view(::anduril::entitymanager::v1::MilView* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mil_view_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + + _impl_.mil_view_ = reinterpret_cast<::anduril::entitymanager::v1::MilView*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.mil_view) +} + +// .anduril.entitymanager.v1.Ontology ontology = 11 [json_name = "ontology"]; +inline bool Entity::has_ontology() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ontology_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Ontology& Entity::_internal_ontology() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Ontology* p = _impl_.ontology_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Ontology_default_instance_); +} +inline const ::anduril::entitymanager::v1::Ontology& Entity::ontology() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.ontology) + return _internal_ontology(); +} +inline void Entity::unsafe_arena_set_allocated_ontology(::anduril::entitymanager::v1::Ontology* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ontology_); + } + _impl_.ontology_ = reinterpret_cast<::anduril::entitymanager::v1::Ontology*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.ontology) +} +inline ::anduril::entitymanager::v1::Ontology* Entity::release_ontology() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000040u; + ::anduril::entitymanager::v1::Ontology* released = _impl_.ontology_; + _impl_.ontology_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Ontology* Entity::unsafe_arena_release_ontology() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.ontology) + + _impl_._has_bits_[0] &= ~0x00000040u; + ::anduril::entitymanager::v1::Ontology* temp = _impl_.ontology_; + _impl_.ontology_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Ontology* Entity::_internal_mutable_ontology() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ontology_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Ontology>(GetArena()); + _impl_.ontology_ = reinterpret_cast<::anduril::entitymanager::v1::Ontology*>(p); + } + return _impl_.ontology_; +} +inline ::anduril::entitymanager::v1::Ontology* Entity::mutable_ontology() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000040u; + ::anduril::entitymanager::v1::Ontology* _msg = _internal_mutable_ontology(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.ontology) + return _msg; +} +inline void Entity::set_allocated_ontology(::anduril::entitymanager::v1::Ontology* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ontology_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + + _impl_.ontology_ = reinterpret_cast<::anduril::entitymanager::v1::Ontology*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.ontology) +} + +// .anduril.entitymanager.v1.Sensors sensors = 20 [json_name = "sensors"]; +inline bool Entity::has_sensors() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.sensors_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Sensors& Entity::_internal_sensors() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Sensors* p = _impl_.sensors_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Sensors_default_instance_); +} +inline const ::anduril::entitymanager::v1::Sensors& Entity::sensors() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.sensors) + return _internal_sensors(); +} +inline void Entity::unsafe_arena_set_allocated_sensors(::anduril::entitymanager::v1::Sensors* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sensors_); + } + _impl_.sensors_ = reinterpret_cast<::anduril::entitymanager::v1::Sensors*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.sensors) +} +inline ::anduril::entitymanager::v1::Sensors* Entity::release_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00001000u; + ::anduril::entitymanager::v1::Sensors* released = _impl_.sensors_; + _impl_.sensors_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Sensors* Entity::unsafe_arena_release_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.sensors) + + _impl_._has_bits_[0] &= ~0x00001000u; + ::anduril::entitymanager::v1::Sensors* temp = _impl_.sensors_; + _impl_.sensors_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Sensors* Entity::_internal_mutable_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sensors_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Sensors>(GetArena()); + _impl_.sensors_ = reinterpret_cast<::anduril::entitymanager::v1::Sensors*>(p); + } + return _impl_.sensors_; +} +inline ::anduril::entitymanager::v1::Sensors* Entity::mutable_sensors() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00001000u; + ::anduril::entitymanager::v1::Sensors* _msg = _internal_mutable_sensors(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.sensors) + return _msg; +} +inline void Entity::set_allocated_sensors(::anduril::entitymanager::v1::Sensors* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sensors_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + + _impl_.sensors_ = reinterpret_cast<::anduril::entitymanager::v1::Sensors*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.sensors) +} + +// .anduril.entitymanager.v1.Payloads payloads = 21 [json_name = "payloads"]; +inline bool Entity::has_payloads() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.payloads_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Payloads& Entity::_internal_payloads() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Payloads* p = _impl_.payloads_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Payloads_default_instance_); +} +inline const ::anduril::entitymanager::v1::Payloads& Entity::payloads() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.payloads) + return _internal_payloads(); +} +inline void Entity::unsafe_arena_set_allocated_payloads(::anduril::entitymanager::v1::Payloads* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payloads_); + } + _impl_.payloads_ = reinterpret_cast<::anduril::entitymanager::v1::Payloads*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00002000u; + } else { + _impl_._has_bits_[0] &= ~0x00002000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.payloads) +} +inline ::anduril::entitymanager::v1::Payloads* Entity::release_payloads() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00002000u; + ::anduril::entitymanager::v1::Payloads* released = _impl_.payloads_; + _impl_.payloads_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Payloads* Entity::unsafe_arena_release_payloads() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.payloads) + + _impl_._has_bits_[0] &= ~0x00002000u; + ::anduril::entitymanager::v1::Payloads* temp = _impl_.payloads_; + _impl_.payloads_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Payloads* Entity::_internal_mutable_payloads() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.payloads_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Payloads>(GetArena()); + _impl_.payloads_ = reinterpret_cast<::anduril::entitymanager::v1::Payloads*>(p); + } + return _impl_.payloads_; +} +inline ::anduril::entitymanager::v1::Payloads* Entity::mutable_payloads() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00002000u; + ::anduril::entitymanager::v1::Payloads* _msg = _internal_mutable_payloads(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.payloads) + return _msg; +} +inline void Entity::set_allocated_payloads(::anduril::entitymanager::v1::Payloads* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payloads_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00002000u; + } else { + _impl_._has_bits_[0] &= ~0x00002000u; + } + + _impl_.payloads_ = reinterpret_cast<::anduril::entitymanager::v1::Payloads*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.payloads) +} + +// .anduril.entitymanager.v1.PowerState power_state = 30 [json_name = "powerState"]; +inline bool Entity::has_power_state() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.power_state_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::PowerState& Entity::_internal_power_state() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::PowerState* p = _impl_.power_state_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_PowerState_default_instance_); +} +inline const ::anduril::entitymanager::v1::PowerState& Entity::power_state() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.power_state) + return _internal_power_state(); +} +inline void Entity::unsafe_arena_set_allocated_power_state(::anduril::entitymanager::v1::PowerState* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.power_state_); + } + _impl_.power_state_ = reinterpret_cast<::anduril::entitymanager::v1::PowerState*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00100000u; + } else { + _impl_._has_bits_[0] &= ~0x00100000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.power_state) +} +inline ::anduril::entitymanager::v1::PowerState* Entity::release_power_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00100000u; + ::anduril::entitymanager::v1::PowerState* released = _impl_.power_state_; + _impl_.power_state_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::PowerState* Entity::unsafe_arena_release_power_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.power_state) + + _impl_._has_bits_[0] &= ~0x00100000u; + ::anduril::entitymanager::v1::PowerState* temp = _impl_.power_state_; + _impl_.power_state_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::PowerState* Entity::_internal_mutable_power_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.power_state_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PowerState>(GetArena()); + _impl_.power_state_ = reinterpret_cast<::anduril::entitymanager::v1::PowerState*>(p); + } + return _impl_.power_state_; +} +inline ::anduril::entitymanager::v1::PowerState* Entity::mutable_power_state() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00100000u; + ::anduril::entitymanager::v1::PowerState* _msg = _internal_mutable_power_state(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.power_state) + return _msg; +} +inline void Entity::set_allocated_power_state(::anduril::entitymanager::v1::PowerState* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.power_state_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00100000u; + } else { + _impl_._has_bits_[0] &= ~0x00100000u; + } + + _impl_.power_state_ = reinterpret_cast<::anduril::entitymanager::v1::PowerState*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.power_state) +} + +// .anduril.entitymanager.v1.Provenance provenance = 12 [json_name = "provenance"]; +inline bool Entity::has_provenance() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + PROTOBUF_ASSUME(!value || _impl_.provenance_ != nullptr); + return value; +} +inline void Entity::clear_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ != nullptr) _impl_.provenance_->Clear(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const ::anduril::entitymanager::v1::Provenance& Entity::_internal_provenance() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Provenance* p = _impl_.provenance_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Provenance_default_instance_); +} +inline const ::anduril::entitymanager::v1::Provenance& Entity::provenance() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.provenance) + return _internal_provenance(); +} +inline void Entity::unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.provenance) +} +inline ::anduril::entitymanager::v1::Provenance* Entity::release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000080u; + ::anduril::entitymanager::v1::Provenance* released = _impl_.provenance_; + _impl_.provenance_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Provenance* Entity::unsafe_arena_release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.provenance) + + _impl_._has_bits_[0] &= ~0x00000080u; + ::anduril::entitymanager::v1::Provenance* temp = _impl_.provenance_; + _impl_.provenance_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Provenance* Entity::_internal_mutable_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Provenance>(GetArena()); + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(p); + } + return _impl_.provenance_; +} +inline ::anduril::entitymanager::v1::Provenance* Entity::mutable_provenance() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000080u; + ::anduril::entitymanager::v1::Provenance* _msg = _internal_mutable_provenance(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.provenance) + return _msg; +} +inline void Entity::set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.provenance_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.provenance) +} + +// .anduril.entitymanager.v1.Overrides overrides = 13 [json_name = "overrides"]; +inline bool Entity::has_overrides() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + PROTOBUF_ASSUME(!value || _impl_.overrides_ != nullptr); + return value; +} +inline void Entity::clear_overrides() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.overrides_ != nullptr) _impl_.overrides_->Clear(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const ::anduril::entitymanager::v1::Overrides& Entity::_internal_overrides() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Overrides* p = _impl_.overrides_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Overrides_default_instance_); +} +inline const ::anduril::entitymanager::v1::Overrides& Entity::overrides() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.overrides) + return _internal_overrides(); +} +inline void Entity::unsafe_arena_set_allocated_overrides(::anduril::entitymanager::v1::Overrides* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.overrides_); + } + _impl_.overrides_ = reinterpret_cast<::anduril::entitymanager::v1::Overrides*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.overrides) +} +inline ::anduril::entitymanager::v1::Overrides* Entity::release_overrides() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000100u; + ::anduril::entitymanager::v1::Overrides* released = _impl_.overrides_; + _impl_.overrides_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Overrides* Entity::unsafe_arena_release_overrides() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.overrides) + + _impl_._has_bits_[0] &= ~0x00000100u; + ::anduril::entitymanager::v1::Overrides* temp = _impl_.overrides_; + _impl_.overrides_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Overrides* Entity::_internal_mutable_overrides() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.overrides_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Overrides>(GetArena()); + _impl_.overrides_ = reinterpret_cast<::anduril::entitymanager::v1::Overrides*>(p); + } + return _impl_.overrides_; +} +inline ::anduril::entitymanager::v1::Overrides* Entity::mutable_overrides() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000100u; + ::anduril::entitymanager::v1::Overrides* _msg = _internal_mutable_overrides(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.overrides) + return _msg; +} +inline void Entity::set_allocated_overrides(::anduril::entitymanager::v1::Overrides* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.overrides_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + + _impl_.overrides_ = reinterpret_cast<::anduril::entitymanager::v1::Overrides*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.overrides) +} + +// .anduril.entitymanager.v1.Indicators indicators = 14 [json_name = "indicators"]; +inline bool Entity::has_indicators() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + PROTOBUF_ASSUME(!value || _impl_.indicators_ != nullptr); + return value; +} +inline void Entity::clear_indicators() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.indicators_ != nullptr) _impl_.indicators_->Clear(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline const ::anduril::entitymanager::v1::Indicators& Entity::_internal_indicators() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Indicators* p = _impl_.indicators_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Indicators_default_instance_); +} +inline const ::anduril::entitymanager::v1::Indicators& Entity::indicators() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.indicators) + return _internal_indicators(); +} +inline void Entity::unsafe_arena_set_allocated_indicators(::anduril::entitymanager::v1::Indicators* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.indicators_); + } + _impl_.indicators_ = reinterpret_cast<::anduril::entitymanager::v1::Indicators*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.indicators) +} +inline ::anduril::entitymanager::v1::Indicators* Entity::release_indicators() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000200u; + ::anduril::entitymanager::v1::Indicators* released = _impl_.indicators_; + _impl_.indicators_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Indicators* Entity::unsafe_arena_release_indicators() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.indicators) + + _impl_._has_bits_[0] &= ~0x00000200u; + ::anduril::entitymanager::v1::Indicators* temp = _impl_.indicators_; + _impl_.indicators_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Indicators* Entity::_internal_mutable_indicators() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.indicators_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Indicators>(GetArena()); + _impl_.indicators_ = reinterpret_cast<::anduril::entitymanager::v1::Indicators*>(p); + } + return _impl_.indicators_; +} +inline ::anduril::entitymanager::v1::Indicators* Entity::mutable_indicators() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000200u; + ::anduril::entitymanager::v1::Indicators* _msg = _internal_mutable_indicators(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.indicators) + return _msg; +} +inline void Entity::set_allocated_indicators(::anduril::entitymanager::v1::Indicators* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.indicators_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + + _impl_.indicators_ = reinterpret_cast<::anduril::entitymanager::v1::Indicators*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.indicators) +} + +// .anduril.entitymanager.v1.TargetPriority target_priority = 22 [json_name = "targetPriority"]; +inline bool Entity::has_target_priority() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.target_priority_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::TargetPriority& Entity::_internal_target_priority() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::TargetPriority* p = _impl_.target_priority_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_TargetPriority_default_instance_); +} +inline const ::anduril::entitymanager::v1::TargetPriority& Entity::target_priority() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.target_priority) + return _internal_target_priority(); +} +inline void Entity::unsafe_arena_set_allocated_target_priority(::anduril::entitymanager::v1::TargetPriority* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_priority_); + } + _impl_.target_priority_ = reinterpret_cast<::anduril::entitymanager::v1::TargetPriority*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00004000u; + } else { + _impl_._has_bits_[0] &= ~0x00004000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.target_priority) +} +inline ::anduril::entitymanager::v1::TargetPriority* Entity::release_target_priority() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00004000u; + ::anduril::entitymanager::v1::TargetPriority* released = _impl_.target_priority_; + _impl_.target_priority_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::TargetPriority* Entity::unsafe_arena_release_target_priority() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.target_priority) + + _impl_._has_bits_[0] &= ~0x00004000u; + ::anduril::entitymanager::v1::TargetPriority* temp = _impl_.target_priority_; + _impl_.target_priority_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::TargetPriority* Entity::_internal_mutable_target_priority() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.target_priority_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::TargetPriority>(GetArena()); + _impl_.target_priority_ = reinterpret_cast<::anduril::entitymanager::v1::TargetPriority*>(p); + } + return _impl_.target_priority_; +} +inline ::anduril::entitymanager::v1::TargetPriority* Entity::mutable_target_priority() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00004000u; + ::anduril::entitymanager::v1::TargetPriority* _msg = _internal_mutable_target_priority(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.target_priority) + return _msg; +} +inline void Entity::set_allocated_target_priority(::anduril::entitymanager::v1::TargetPriority* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_priority_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00004000u; + } else { + _impl_._has_bits_[0] &= ~0x00004000u; + } + + _impl_.target_priority_ = reinterpret_cast<::anduril::entitymanager::v1::TargetPriority*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.target_priority) +} + +// .anduril.entitymanager.v1.Signal signal = 25 [json_name = "signal"]; +inline bool Entity::has_signal() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.signal_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Signal& Entity::_internal_signal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Signal* p = _impl_.signal_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Signal_default_instance_); +} +inline const ::anduril::entitymanager::v1::Signal& Entity::signal() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.signal) + return _internal_signal(); +} +inline void Entity::unsafe_arena_set_allocated_signal(::anduril::entitymanager::v1::Signal* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.signal_); + } + _impl_.signal_ = reinterpret_cast<::anduril::entitymanager::v1::Signal*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00020000u; + } else { + _impl_._has_bits_[0] &= ~0x00020000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.signal) +} +inline ::anduril::entitymanager::v1::Signal* Entity::release_signal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00020000u; + ::anduril::entitymanager::v1::Signal* released = _impl_.signal_; + _impl_.signal_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Signal* Entity::unsafe_arena_release_signal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.signal) + + _impl_._has_bits_[0] &= ~0x00020000u; + ::anduril::entitymanager::v1::Signal* temp = _impl_.signal_; + _impl_.signal_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Signal* Entity::_internal_mutable_signal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.signal_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Signal>(GetArena()); + _impl_.signal_ = reinterpret_cast<::anduril::entitymanager::v1::Signal*>(p); + } + return _impl_.signal_; +} +inline ::anduril::entitymanager::v1::Signal* Entity::mutable_signal() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00020000u; + ::anduril::entitymanager::v1::Signal* _msg = _internal_mutable_signal(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.signal) + return _msg; +} +inline void Entity::set_allocated_signal(::anduril::entitymanager::v1::Signal* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.signal_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00020000u; + } else { + _impl_._has_bits_[0] &= ~0x00020000u; + } + + _impl_.signal_ = reinterpret_cast<::anduril::entitymanager::v1::Signal*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.signal) +} + +// .anduril.entitymanager.v1.TransponderCodes transponder_codes = 26 [json_name = "transponderCodes"]; +inline bool Entity::has_transponder_codes() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.transponder_codes_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::TransponderCodes& Entity::_internal_transponder_codes() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::TransponderCodes* p = _impl_.transponder_codes_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_TransponderCodes_default_instance_); +} +inline const ::anduril::entitymanager::v1::TransponderCodes& Entity::transponder_codes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.transponder_codes) + return _internal_transponder_codes(); +} +inline void Entity::unsafe_arena_set_allocated_transponder_codes(::anduril::entitymanager::v1::TransponderCodes* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transponder_codes_); + } + _impl_.transponder_codes_ = reinterpret_cast<::anduril::entitymanager::v1::TransponderCodes*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00040000u; + } else { + _impl_._has_bits_[0] &= ~0x00040000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.transponder_codes) +} +inline ::anduril::entitymanager::v1::TransponderCodes* Entity::release_transponder_codes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00040000u; + ::anduril::entitymanager::v1::TransponderCodes* released = _impl_.transponder_codes_; + _impl_.transponder_codes_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::TransponderCodes* Entity::unsafe_arena_release_transponder_codes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.transponder_codes) + + _impl_._has_bits_[0] &= ~0x00040000u; + ::anduril::entitymanager::v1::TransponderCodes* temp = _impl_.transponder_codes_; + _impl_.transponder_codes_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::TransponderCodes* Entity::_internal_mutable_transponder_codes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.transponder_codes_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::TransponderCodes>(GetArena()); + _impl_.transponder_codes_ = reinterpret_cast<::anduril::entitymanager::v1::TransponderCodes*>(p); + } + return _impl_.transponder_codes_; +} +inline ::anduril::entitymanager::v1::TransponderCodes* Entity::mutable_transponder_codes() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00040000u; + ::anduril::entitymanager::v1::TransponderCodes* _msg = _internal_mutable_transponder_codes(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.transponder_codes) + return _msg; +} +inline void Entity::set_allocated_transponder_codes(::anduril::entitymanager::v1::TransponderCodes* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transponder_codes_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00040000u; + } else { + _impl_._has_bits_[0] &= ~0x00040000u; + } + + _impl_.transponder_codes_ = reinterpret_cast<::anduril::entitymanager::v1::TransponderCodes*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.transponder_codes) +} + +// .anduril.entitymanager.v1.Classification data_classification = 29 [json_name = "dataClassification"]; +inline bool Entity::has_data_classification() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_classification_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Classification& Entity::_internal_data_classification() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Classification* p = _impl_.data_classification_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Classification_default_instance_); +} +inline const ::anduril::entitymanager::v1::Classification& Entity::data_classification() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.data_classification) + return _internal_data_classification(); +} +inline void Entity::unsafe_arena_set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_classification_); + } + _impl_.data_classification_ = reinterpret_cast<::anduril::entitymanager::v1::Classification*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00080000u; + } else { + _impl_._has_bits_[0] &= ~0x00080000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.data_classification) +} +inline ::anduril::entitymanager::v1::Classification* Entity::release_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00080000u; + ::anduril::entitymanager::v1::Classification* released = _impl_.data_classification_; + _impl_.data_classification_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Classification* Entity::unsafe_arena_release_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.data_classification) + + _impl_._has_bits_[0] &= ~0x00080000u; + ::anduril::entitymanager::v1::Classification* temp = _impl_.data_classification_; + _impl_.data_classification_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Classification* Entity::_internal_mutable_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_classification_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Classification>(GetArena()); + _impl_.data_classification_ = reinterpret_cast<::anduril::entitymanager::v1::Classification*>(p); + } + return _impl_.data_classification_; +} +inline ::anduril::entitymanager::v1::Classification* Entity::mutable_data_classification() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00080000u; + ::anduril::entitymanager::v1::Classification* _msg = _internal_mutable_data_classification(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.data_classification) + return _msg; +} +inline void Entity::set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_classification_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00080000u; + } else { + _impl_._has_bits_[0] &= ~0x00080000u; + } + + _impl_.data_classification_ = reinterpret_cast<::anduril::entitymanager::v1::Classification*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.data_classification) +} + +// .anduril.tasks.v2.TaskCatalog task_catalog = 31 [json_name = "taskCatalog"]; +inline bool Entity::has_task_catalog() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.task_catalog_ != nullptr); + return value; +} +inline const ::anduril::tasks::v2::TaskCatalog& Entity::_internal_task_catalog() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::tasks::v2::TaskCatalog* p = _impl_.task_catalog_; + return p != nullptr ? *p : reinterpret_cast(::anduril::tasks::v2::_TaskCatalog_default_instance_); +} +inline const ::anduril::tasks::v2::TaskCatalog& Entity::task_catalog() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.task_catalog) + return _internal_task_catalog(); +} +inline void Entity::unsafe_arena_set_allocated_task_catalog(::anduril::tasks::v2::TaskCatalog* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.task_catalog_); + } + _impl_.task_catalog_ = reinterpret_cast<::anduril::tasks::v2::TaskCatalog*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00200000u; + } else { + _impl_._has_bits_[0] &= ~0x00200000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.task_catalog) +} +inline ::anduril::tasks::v2::TaskCatalog* Entity::release_task_catalog() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00200000u; + ::anduril::tasks::v2::TaskCatalog* released = _impl_.task_catalog_; + _impl_.task_catalog_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::tasks::v2::TaskCatalog* Entity::unsafe_arena_release_task_catalog() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.task_catalog) + + _impl_._has_bits_[0] &= ~0x00200000u; + ::anduril::tasks::v2::TaskCatalog* temp = _impl_.task_catalog_; + _impl_.task_catalog_ = nullptr; + return temp; +} +inline ::anduril::tasks::v2::TaskCatalog* Entity::_internal_mutable_task_catalog() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.task_catalog_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::tasks::v2::TaskCatalog>(GetArena()); + _impl_.task_catalog_ = reinterpret_cast<::anduril::tasks::v2::TaskCatalog*>(p); + } + return _impl_.task_catalog_; +} +inline ::anduril::tasks::v2::TaskCatalog* Entity::mutable_task_catalog() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00200000u; + ::anduril::tasks::v2::TaskCatalog* _msg = _internal_mutable_task_catalog(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.task_catalog) + return _msg; +} +inline void Entity::set_allocated_task_catalog(::anduril::tasks::v2::TaskCatalog* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.task_catalog_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00200000u; + } else { + _impl_._has_bits_[0] &= ~0x00200000u; + } + + _impl_.task_catalog_ = reinterpret_cast<::anduril::tasks::v2::TaskCatalog*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.task_catalog) +} + +// .anduril.entitymanager.v1.Relationships relationships = 33 [json_name = "relationships"]; +inline bool Entity::has_relationships() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.relationships_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Relationships& Entity::_internal_relationships() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Relationships* p = _impl_.relationships_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Relationships_default_instance_); +} +inline const ::anduril::entitymanager::v1::Relationships& Entity::relationships() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.relationships) + return _internal_relationships(); +} +inline void Entity::unsafe_arena_set_allocated_relationships(::anduril::entitymanager::v1::Relationships* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.relationships_); + } + _impl_.relationships_ = reinterpret_cast<::anduril::entitymanager::v1::Relationships*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00400000u; + } else { + _impl_._has_bits_[0] &= ~0x00400000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.relationships) +} +inline ::anduril::entitymanager::v1::Relationships* Entity::release_relationships() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00400000u; + ::anduril::entitymanager::v1::Relationships* released = _impl_.relationships_; + _impl_.relationships_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Relationships* Entity::unsafe_arena_release_relationships() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.relationships) + + _impl_._has_bits_[0] &= ~0x00400000u; + ::anduril::entitymanager::v1::Relationships* temp = _impl_.relationships_; + _impl_.relationships_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Relationships* Entity::_internal_mutable_relationships() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.relationships_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Relationships>(GetArena()); + _impl_.relationships_ = reinterpret_cast<::anduril::entitymanager::v1::Relationships*>(p); + } + return _impl_.relationships_; +} +inline ::anduril::entitymanager::v1::Relationships* Entity::mutable_relationships() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00400000u; + ::anduril::entitymanager::v1::Relationships* _msg = _internal_mutable_relationships(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.relationships) + return _msg; +} +inline void Entity::set_allocated_relationships(::anduril::entitymanager::v1::Relationships* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.relationships_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00400000u; + } else { + _impl_._has_bits_[0] &= ~0x00400000u; + } + + _impl_.relationships_ = reinterpret_cast<::anduril::entitymanager::v1::Relationships*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.relationships) +} + +// .anduril.entitymanager.v1.VisualDetails visual_details = 34 [json_name = "visualDetails"]; +inline bool Entity::has_visual_details() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.visual_details_ != nullptr); + return value; +} +inline void Entity::clear_visual_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.visual_details_ != nullptr) _impl_.visual_details_->Clear(); + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline const ::anduril::entitymanager::v1::VisualDetails& Entity::_internal_visual_details() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::VisualDetails* p = _impl_.visual_details_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_VisualDetails_default_instance_); +} +inline const ::anduril::entitymanager::v1::VisualDetails& Entity::visual_details() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.visual_details) + return _internal_visual_details(); +} +inline void Entity::unsafe_arena_set_allocated_visual_details(::anduril::entitymanager::v1::VisualDetails* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.visual_details_); + } + _impl_.visual_details_ = reinterpret_cast<::anduril::entitymanager::v1::VisualDetails*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00800000u; + } else { + _impl_._has_bits_[0] &= ~0x00800000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.visual_details) +} +inline ::anduril::entitymanager::v1::VisualDetails* Entity::release_visual_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00800000u; + ::anduril::entitymanager::v1::VisualDetails* released = _impl_.visual_details_; + _impl_.visual_details_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::VisualDetails* Entity::unsafe_arena_release_visual_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.visual_details) + + _impl_._has_bits_[0] &= ~0x00800000u; + ::anduril::entitymanager::v1::VisualDetails* temp = _impl_.visual_details_; + _impl_.visual_details_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::VisualDetails* Entity::_internal_mutable_visual_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.visual_details_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::VisualDetails>(GetArena()); + _impl_.visual_details_ = reinterpret_cast<::anduril::entitymanager::v1::VisualDetails*>(p); + } + return _impl_.visual_details_; +} +inline ::anduril::entitymanager::v1::VisualDetails* Entity::mutable_visual_details() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00800000u; + ::anduril::entitymanager::v1::VisualDetails* _msg = _internal_mutable_visual_details(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.visual_details) + return _msg; +} +inline void Entity::set_allocated_visual_details(::anduril::entitymanager::v1::VisualDetails* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.visual_details_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00800000u; + } else { + _impl_._has_bits_[0] &= ~0x00800000u; + } + + _impl_.visual_details_ = reinterpret_cast<::anduril::entitymanager::v1::VisualDetails*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.visual_details) +} + +// .anduril.entitymanager.v1.Dimensions dimensions = 36 [json_name = "dimensions"]; +inline bool Entity::has_dimensions() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dimensions_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Dimensions& Entity::_internal_dimensions() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Dimensions* p = _impl_.dimensions_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Dimensions_default_instance_); +} +inline const ::anduril::entitymanager::v1::Dimensions& Entity::dimensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.dimensions) + return _internal_dimensions(); +} +inline void Entity::unsafe_arena_set_allocated_dimensions(::anduril::entitymanager::v1::Dimensions* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.dimensions_); + } + _impl_.dimensions_ = reinterpret_cast<::anduril::entitymanager::v1::Dimensions*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x01000000u; + } else { + _impl_._has_bits_[0] &= ~0x01000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.dimensions) +} +inline ::anduril::entitymanager::v1::Dimensions* Entity::release_dimensions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x01000000u; + ::anduril::entitymanager::v1::Dimensions* released = _impl_.dimensions_; + _impl_.dimensions_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Dimensions* Entity::unsafe_arena_release_dimensions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.dimensions) + + _impl_._has_bits_[0] &= ~0x01000000u; + ::anduril::entitymanager::v1::Dimensions* temp = _impl_.dimensions_; + _impl_.dimensions_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Dimensions* Entity::_internal_mutable_dimensions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.dimensions_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Dimensions>(GetArena()); + _impl_.dimensions_ = reinterpret_cast<::anduril::entitymanager::v1::Dimensions*>(p); + } + return _impl_.dimensions_; +} +inline ::anduril::entitymanager::v1::Dimensions* Entity::mutable_dimensions() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x01000000u; + ::anduril::entitymanager::v1::Dimensions* _msg = _internal_mutable_dimensions(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.dimensions) + return _msg; +} +inline void Entity::set_allocated_dimensions(::anduril::entitymanager::v1::Dimensions* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.dimensions_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x01000000u; + } else { + _impl_._has_bits_[0] &= ~0x01000000u; + } + + _impl_.dimensions_ = reinterpret_cast<::anduril::entitymanager::v1::Dimensions*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.dimensions) +} + +// .anduril.entitymanager.v1.RouteDetails route_details = 37 [json_name = "routeDetails"]; +inline bool Entity::has_route_details() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.route_details_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::RouteDetails& Entity::_internal_route_details() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::RouteDetails* p = _impl_.route_details_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_RouteDetails_default_instance_); +} +inline const ::anduril::entitymanager::v1::RouteDetails& Entity::route_details() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.route_details) + return _internal_route_details(); +} +inline void Entity::unsafe_arena_set_allocated_route_details(::anduril::entitymanager::v1::RouteDetails* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.route_details_); + } + _impl_.route_details_ = reinterpret_cast<::anduril::entitymanager::v1::RouteDetails*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x02000000u; + } else { + _impl_._has_bits_[0] &= ~0x02000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.route_details) +} +inline ::anduril::entitymanager::v1::RouteDetails* Entity::release_route_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x02000000u; + ::anduril::entitymanager::v1::RouteDetails* released = _impl_.route_details_; + _impl_.route_details_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::RouteDetails* Entity::unsafe_arena_release_route_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.route_details) + + _impl_._has_bits_[0] &= ~0x02000000u; + ::anduril::entitymanager::v1::RouteDetails* temp = _impl_.route_details_; + _impl_.route_details_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::RouteDetails* Entity::_internal_mutable_route_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.route_details_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::RouteDetails>(GetArena()); + _impl_.route_details_ = reinterpret_cast<::anduril::entitymanager::v1::RouteDetails*>(p); + } + return _impl_.route_details_; +} +inline ::anduril::entitymanager::v1::RouteDetails* Entity::mutable_route_details() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x02000000u; + ::anduril::entitymanager::v1::RouteDetails* _msg = _internal_mutable_route_details(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.route_details) + return _msg; +} +inline void Entity::set_allocated_route_details(::anduril::entitymanager::v1::RouteDetails* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.route_details_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x02000000u; + } else { + _impl_._has_bits_[0] &= ~0x02000000u; + } + + _impl_.route_details_ = reinterpret_cast<::anduril::entitymanager::v1::RouteDetails*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.route_details) +} + +// .anduril.entitymanager.v1.Schedules schedules = 38 [json_name = "schedules"]; +inline bool Entity::has_schedules() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.schedules_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Schedules& Entity::_internal_schedules() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Schedules* p = _impl_.schedules_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Schedules_default_instance_); +} +inline const ::anduril::entitymanager::v1::Schedules& Entity::schedules() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.schedules) + return _internal_schedules(); +} +inline void Entity::unsafe_arena_set_allocated_schedules(::anduril::entitymanager::v1::Schedules* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.schedules_); + } + _impl_.schedules_ = reinterpret_cast<::anduril::entitymanager::v1::Schedules*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x04000000u; + } else { + _impl_._has_bits_[0] &= ~0x04000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.schedules) +} +inline ::anduril::entitymanager::v1::Schedules* Entity::release_schedules() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x04000000u; + ::anduril::entitymanager::v1::Schedules* released = _impl_.schedules_; + _impl_.schedules_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Schedules* Entity::unsafe_arena_release_schedules() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.schedules) + + _impl_._has_bits_[0] &= ~0x04000000u; + ::anduril::entitymanager::v1::Schedules* temp = _impl_.schedules_; + _impl_.schedules_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Schedules* Entity::_internal_mutable_schedules() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.schedules_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Schedules>(GetArena()); + _impl_.schedules_ = reinterpret_cast<::anduril::entitymanager::v1::Schedules*>(p); + } + return _impl_.schedules_; +} +inline ::anduril::entitymanager::v1::Schedules* Entity::mutable_schedules() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x04000000u; + ::anduril::entitymanager::v1::Schedules* _msg = _internal_mutable_schedules(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.schedules) + return _msg; +} +inline void Entity::set_allocated_schedules(::anduril::entitymanager::v1::Schedules* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.schedules_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x04000000u; + } else { + _impl_._has_bits_[0] &= ~0x04000000u; + } + + _impl_.schedules_ = reinterpret_cast<::anduril::entitymanager::v1::Schedules*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.schedules) +} + +// .anduril.entitymanager.v1.Health health = 39 [json_name = "health"]; +inline bool Entity::has_health() const { + bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.health_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Health& Entity::_internal_health() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Health* p = _impl_.health_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Health_default_instance_); +} +inline const ::anduril::entitymanager::v1::Health& Entity::health() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.health) + return _internal_health(); +} +inline void Entity::unsafe_arena_set_allocated_health(::anduril::entitymanager::v1::Health* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.health_); + } + _impl_.health_ = reinterpret_cast<::anduril::entitymanager::v1::Health*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x08000000u; + } else { + _impl_._has_bits_[0] &= ~0x08000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.health) +} +inline ::anduril::entitymanager::v1::Health* Entity::release_health() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x08000000u; + ::anduril::entitymanager::v1::Health* released = _impl_.health_; + _impl_.health_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Health* Entity::unsafe_arena_release_health() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.health) + + _impl_._has_bits_[0] &= ~0x08000000u; + ::anduril::entitymanager::v1::Health* temp = _impl_.health_; + _impl_.health_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Health* Entity::_internal_mutable_health() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.health_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Health>(GetArena()); + _impl_.health_ = reinterpret_cast<::anduril::entitymanager::v1::Health*>(p); + } + return _impl_.health_; +} +inline ::anduril::entitymanager::v1::Health* Entity::mutable_health() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x08000000u; + ::anduril::entitymanager::v1::Health* _msg = _internal_mutable_health(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.health) + return _msg; +} +inline void Entity::set_allocated_health(::anduril::entitymanager::v1::Health* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.health_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x08000000u; + } else { + _impl_._has_bits_[0] &= ~0x08000000u; + } + + _impl_.health_ = reinterpret_cast<::anduril::entitymanager::v1::Health*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.health) +} + +// .anduril.entitymanager.v1.GroupDetails group_details = 40 [json_name = "groupDetails"]; +inline bool Entity::has_group_details() const { + bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.group_details_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::GroupDetails& Entity::_internal_group_details() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::GroupDetails* p = _impl_.group_details_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_GroupDetails_default_instance_); +} +inline const ::anduril::entitymanager::v1::GroupDetails& Entity::group_details() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.group_details) + return _internal_group_details(); +} +inline void Entity::unsafe_arena_set_allocated_group_details(::anduril::entitymanager::v1::GroupDetails* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_details_); + } + _impl_.group_details_ = reinterpret_cast<::anduril::entitymanager::v1::GroupDetails*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x10000000u; + } else { + _impl_._has_bits_[0] &= ~0x10000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.group_details) +} +inline ::anduril::entitymanager::v1::GroupDetails* Entity::release_group_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x10000000u; + ::anduril::entitymanager::v1::GroupDetails* released = _impl_.group_details_; + _impl_.group_details_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::GroupDetails* Entity::unsafe_arena_release_group_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.group_details) + + _impl_._has_bits_[0] &= ~0x10000000u; + ::anduril::entitymanager::v1::GroupDetails* temp = _impl_.group_details_; + _impl_.group_details_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::GroupDetails* Entity::_internal_mutable_group_details() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.group_details_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GroupDetails>(GetArena()); + _impl_.group_details_ = reinterpret_cast<::anduril::entitymanager::v1::GroupDetails*>(p); + } + return _impl_.group_details_; +} +inline ::anduril::entitymanager::v1::GroupDetails* Entity::mutable_group_details() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x10000000u; + ::anduril::entitymanager::v1::GroupDetails* _msg = _internal_mutable_group_details(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.group_details) + return _msg; +} +inline void Entity::set_allocated_group_details(::anduril::entitymanager::v1::GroupDetails* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_details_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x10000000u; + } else { + _impl_._has_bits_[0] &= ~0x10000000u; + } + + _impl_.group_details_ = reinterpret_cast<::anduril::entitymanager::v1::GroupDetails*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.group_details) +} + +// .anduril.entitymanager.v1.Supplies supplies = 42 [json_name = "supplies"]; +inline bool Entity::has_supplies() const { + bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.supplies_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Supplies& Entity::_internal_supplies() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Supplies* p = _impl_.supplies_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Supplies_default_instance_); +} +inline const ::anduril::entitymanager::v1::Supplies& Entity::supplies() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.supplies) + return _internal_supplies(); +} +inline void Entity::unsafe_arena_set_allocated_supplies(::anduril::entitymanager::v1::Supplies* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.supplies_); + } + _impl_.supplies_ = reinterpret_cast<::anduril::entitymanager::v1::Supplies*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x20000000u; + } else { + _impl_._has_bits_[0] &= ~0x20000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.supplies) +} +inline ::anduril::entitymanager::v1::Supplies* Entity::release_supplies() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x20000000u; + ::anduril::entitymanager::v1::Supplies* released = _impl_.supplies_; + _impl_.supplies_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Supplies* Entity::unsafe_arena_release_supplies() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.supplies) + + _impl_._has_bits_[0] &= ~0x20000000u; + ::anduril::entitymanager::v1::Supplies* temp = _impl_.supplies_; + _impl_.supplies_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Supplies* Entity::_internal_mutable_supplies() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.supplies_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Supplies>(GetArena()); + _impl_.supplies_ = reinterpret_cast<::anduril::entitymanager::v1::Supplies*>(p); + } + return _impl_.supplies_; +} +inline ::anduril::entitymanager::v1::Supplies* Entity::mutable_supplies() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x20000000u; + ::anduril::entitymanager::v1::Supplies* _msg = _internal_mutable_supplies(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.supplies) + return _msg; +} +inline void Entity::set_allocated_supplies(::anduril::entitymanager::v1::Supplies* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.supplies_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x20000000u; + } else { + _impl_._has_bits_[0] &= ~0x20000000u; + } + + _impl_.supplies_ = reinterpret_cast<::anduril::entitymanager::v1::Supplies*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.supplies) +} + +// .anduril.entitymanager.v1.Orbit orbit = 46 [json_name = "orbit"]; +inline bool Entity::has_orbit() const { + bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orbit_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Orbit& Entity::_internal_orbit() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Orbit* p = _impl_.orbit_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Orbit_default_instance_); +} +inline const ::anduril::entitymanager::v1::Orbit& Entity::orbit() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Entity.orbit) + return _internal_orbit(); +} +inline void Entity::unsafe_arena_set_allocated_orbit(::anduril::entitymanager::v1::Orbit* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orbit_); + } + _impl_.orbit_ = reinterpret_cast<::anduril::entitymanager::v1::Orbit*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x40000000u; + } else { + _impl_._has_bits_[0] &= ~0x40000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Entity.orbit) +} +inline ::anduril::entitymanager::v1::Orbit* Entity::release_orbit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x40000000u; + ::anduril::entitymanager::v1::Orbit* released = _impl_.orbit_; + _impl_.orbit_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Orbit* Entity::unsafe_arena_release_orbit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Entity.orbit) + + _impl_._has_bits_[0] &= ~0x40000000u; + ::anduril::entitymanager::v1::Orbit* temp = _impl_.orbit_; + _impl_.orbit_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Orbit* Entity::_internal_mutable_orbit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orbit_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Orbit>(GetArena()); + _impl_.orbit_ = reinterpret_cast<::anduril::entitymanager::v1::Orbit*>(p); + } + return _impl_.orbit_; +} +inline ::anduril::entitymanager::v1::Orbit* Entity::mutable_orbit() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x40000000u; + ::anduril::entitymanager::v1::Orbit* _msg = _internal_mutable_orbit(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Entity.orbit) + return _msg; +} +inline void Entity::set_allocated_orbit(::anduril::entitymanager::v1::Orbit* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orbit_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x40000000u; + } else { + _impl_._has_bits_[0] &= ~0x40000000u; + } + + _impl_.orbit_ = reinterpret_cast<::anduril::entitymanager::v1::Orbit*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Entity.orbit) +} + +// ------------------------------------------------------------------- + +// Status + +// string platform_activity = 1 [json_name = "platformActivity"]; +inline void Status::clear_platform_activity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_activity_.ClearToEmpty(); +} +inline const std::string& Status::platform_activity() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Status.platform_activity) + return _internal_platform_activity(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Status::set_platform_activity(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_activity_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Status.platform_activity) +} +inline std::string* Status::mutable_platform_activity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_platform_activity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Status.platform_activity) + return _s; +} +inline const std::string& Status::_internal_platform_activity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.platform_activity_.Get(); +} +inline void Status::_internal_set_platform_activity(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_activity_.Set(value, GetArena()); +} +inline std::string* Status::_internal_mutable_platform_activity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.platform_activity_.Mutable( GetArena()); +} +inline std::string* Status::release_platform_activity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Status.platform_activity) + return _impl_.platform_activity_.Release(); +} +inline void Status::set_allocated_platform_activity(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_activity_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.platform_activity_.IsDefault()) { + _impl_.platform_activity_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Status.platform_activity) +} + +// string role = 2 [json_name = "role"]; +inline void Status::clear_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.role_.ClearToEmpty(); +} +inline const std::string& Status::role() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Status.role) + return _internal_role(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Status::set_role(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.role_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Status.role) +} +inline std::string* Status::mutable_role() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_role(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Status.role) + return _s; +} +inline const std::string& Status::_internal_role() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.role_.Get(); +} +inline void Status::_internal_set_role(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.role_.Set(value, GetArena()); +} +inline std::string* Status::_internal_mutable_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.role_.Mutable( GetArena()); +} +inline std::string* Status::release_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Status.role) + return _impl_.role_.Release(); +} +inline void Status::set_allocated_role(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.role_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.role_.IsDefault()) { + _impl_.role_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Status.role) +} + +// ------------------------------------------------------------------- + +// Aliases + +// repeated .anduril.entitymanager.v1.AlternateId alternate_ids = 1 [json_name = "alternateIds", (.anduril.entitymanager.v1.overridable) = true]; +inline int Aliases::_internal_alternate_ids_size() const { + return _internal_alternate_ids().size(); +} +inline int Aliases::alternate_ids_size() const { + return _internal_alternate_ids_size(); +} +inline void Aliases::clear_alternate_ids() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.alternate_ids_.Clear(); +} +inline ::anduril::entitymanager::v1::AlternateId* Aliases::mutable_alternate_ids(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Aliases.alternate_ids) + return _internal_mutable_alternate_ids()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>* Aliases::mutable_alternate_ids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Aliases.alternate_ids) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_alternate_ids(); +} +inline const ::anduril::entitymanager::v1::AlternateId& Aliases::alternate_ids(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Aliases.alternate_ids) + return _internal_alternate_ids().Get(index); +} +inline ::anduril::entitymanager::v1::AlternateId* Aliases::add_alternate_ids() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::AlternateId* _add = _internal_mutable_alternate_ids()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Aliases.alternate_ids) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>& Aliases::alternate_ids() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Aliases.alternate_ids) + return _internal_alternate_ids(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>& +Aliases::_internal_alternate_ids() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.alternate_ids_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlternateId>* +Aliases::_internal_mutable_alternate_ids() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.alternate_ids_; +} + +// string name = 2 [json_name = "name", (.anduril.entitymanager.v1.overridable) = true]; +inline void Aliases::clear_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Aliases::name() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Aliases.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Aliases::set_name(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Aliases.name) +} +inline std::string* Aliases::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Aliases.name) + return _s; +} +inline const std::string& Aliases::_internal_name() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.name_.Get(); +} +inline void Aliases::_internal_set_name(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(value, GetArena()); +} +inline std::string* Aliases::_internal_mutable_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.name_.Mutable( GetArena()); +} +inline std::string* Aliases::release_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Aliases.name) + return _impl_.name_.Release(); +} +inline void Aliases::set_allocated_name(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Aliases.name) +} + +// ------------------------------------------------------------------- + +// Tracked + +// .google.protobuf.Int32Value track_quality_wrapper = 2 [json_name = "trackQualityWrapper"]; +inline bool Tracked::has_track_quality_wrapper() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.track_quality_wrapper_ != nullptr); + return value; +} +inline const ::google::protobuf::Int32Value& Tracked::_internal_track_quality_wrapper() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Int32Value* p = _impl_.track_quality_wrapper_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Int32Value_default_instance_); +} +inline const ::google::protobuf::Int32Value& Tracked::track_quality_wrapper() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Tracked.track_quality_wrapper) + return _internal_track_quality_wrapper(); +} +inline void Tracked::unsafe_arena_set_allocated_track_quality_wrapper(::google::protobuf::Int32Value* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.track_quality_wrapper_); + } + _impl_.track_quality_wrapper_ = reinterpret_cast<::google::protobuf::Int32Value*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Tracked.track_quality_wrapper) +} +inline ::google::protobuf::Int32Value* Tracked::release_track_quality_wrapper() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Int32Value* released = _impl_.track_quality_wrapper_; + _impl_.track_quality_wrapper_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Int32Value* Tracked::unsafe_arena_release_track_quality_wrapper() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Tracked.track_quality_wrapper) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Int32Value* temp = _impl_.track_quality_wrapper_; + _impl_.track_quality_wrapper_ = nullptr; + return temp; +} +inline ::google::protobuf::Int32Value* Tracked::_internal_mutable_track_quality_wrapper() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.track_quality_wrapper_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int32Value>(GetArena()); + _impl_.track_quality_wrapper_ = reinterpret_cast<::google::protobuf::Int32Value*>(p); + } + return _impl_.track_quality_wrapper_; +} +inline ::google::protobuf::Int32Value* Tracked::mutable_track_quality_wrapper() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Int32Value* _msg = _internal_mutable_track_quality_wrapper(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Tracked.track_quality_wrapper) + return _msg; +} +inline void Tracked::set_allocated_track_quality_wrapper(::google::protobuf::Int32Value* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.track_quality_wrapper_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.track_quality_wrapper_ = reinterpret_cast<::google::protobuf::Int32Value*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Tracked.track_quality_wrapper) +} + +// .google.protobuf.Int32Value sensor_hits = 3 [json_name = "sensorHits"]; +inline bool Tracked::has_sensor_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.sensor_hits_ != nullptr); + return value; +} +inline const ::google::protobuf::Int32Value& Tracked::_internal_sensor_hits() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Int32Value* p = _impl_.sensor_hits_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Int32Value_default_instance_); +} +inline const ::google::protobuf::Int32Value& Tracked::sensor_hits() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Tracked.sensor_hits) + return _internal_sensor_hits(); +} +inline void Tracked::unsafe_arena_set_allocated_sensor_hits(::google::protobuf::Int32Value* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sensor_hits_); + } + _impl_.sensor_hits_ = reinterpret_cast<::google::protobuf::Int32Value*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Tracked.sensor_hits) +} +inline ::google::protobuf::Int32Value* Tracked::release_sensor_hits() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Int32Value* released = _impl_.sensor_hits_; + _impl_.sensor_hits_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Int32Value* Tracked::unsafe_arena_release_sensor_hits() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Tracked.sensor_hits) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Int32Value* temp = _impl_.sensor_hits_; + _impl_.sensor_hits_ = nullptr; + return temp; +} +inline ::google::protobuf::Int32Value* Tracked::_internal_mutable_sensor_hits() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sensor_hits_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int32Value>(GetArena()); + _impl_.sensor_hits_ = reinterpret_cast<::google::protobuf::Int32Value*>(p); + } + return _impl_.sensor_hits_; +} +inline ::google::protobuf::Int32Value* Tracked::mutable_sensor_hits() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Int32Value* _msg = _internal_mutable_sensor_hits(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Tracked.sensor_hits) + return _msg; +} +inline void Tracked::set_allocated_sensor_hits(::google::protobuf::Int32Value* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sensor_hits_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.sensor_hits_ = reinterpret_cast<::google::protobuf::Int32Value*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Tracked.sensor_hits) +} + +// .anduril.entitymanager.v1.UInt32Range number_of_objects = 4 [json_name = "numberOfObjects"]; +inline bool Tracked::has_number_of_objects() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.number_of_objects_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::UInt32Range& Tracked::_internal_number_of_objects() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::UInt32Range* p = _impl_.number_of_objects_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_UInt32Range_default_instance_); +} +inline const ::anduril::entitymanager::v1::UInt32Range& Tracked::number_of_objects() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Tracked.number_of_objects) + return _internal_number_of_objects(); +} +inline void Tracked::unsafe_arena_set_allocated_number_of_objects(::anduril::entitymanager::v1::UInt32Range* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.number_of_objects_); + } + _impl_.number_of_objects_ = reinterpret_cast<::anduril::entitymanager::v1::UInt32Range*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Tracked.number_of_objects) +} +inline ::anduril::entitymanager::v1::UInt32Range* Tracked::release_number_of_objects() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::UInt32Range* released = _impl_.number_of_objects_; + _impl_.number_of_objects_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::UInt32Range* Tracked::unsafe_arena_release_number_of_objects() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Tracked.number_of_objects) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::UInt32Range* temp = _impl_.number_of_objects_; + _impl_.number_of_objects_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::UInt32Range* Tracked::_internal_mutable_number_of_objects() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.number_of_objects_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::UInt32Range>(GetArena()); + _impl_.number_of_objects_ = reinterpret_cast<::anduril::entitymanager::v1::UInt32Range*>(p); + } + return _impl_.number_of_objects_; +} +inline ::anduril::entitymanager::v1::UInt32Range* Tracked::mutable_number_of_objects() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::entitymanager::v1::UInt32Range* _msg = _internal_mutable_number_of_objects(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Tracked.number_of_objects) + return _msg; +} +inline void Tracked::set_allocated_number_of_objects(::anduril::entitymanager::v1::UInt32Range* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.number_of_objects_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.number_of_objects_ = reinterpret_cast<::anduril::entitymanager::v1::UInt32Range*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Tracked.number_of_objects) +} + +// .google.protobuf.DoubleValue radar_cross_section = 6 [json_name = "radarCrossSection"]; +inline bool Tracked::has_radar_cross_section() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.radar_cross_section_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Tracked::_internal_radar_cross_section() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.radar_cross_section_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Tracked::radar_cross_section() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Tracked.radar_cross_section) + return _internal_radar_cross_section(); +} +inline void Tracked::unsafe_arena_set_allocated_radar_cross_section(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.radar_cross_section_); + } + _impl_.radar_cross_section_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Tracked.radar_cross_section) +} +inline ::google::protobuf::DoubleValue* Tracked::release_radar_cross_section() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* released = _impl_.radar_cross_section_; + _impl_.radar_cross_section_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Tracked::unsafe_arena_release_radar_cross_section() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Tracked.radar_cross_section) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* temp = _impl_.radar_cross_section_; + _impl_.radar_cross_section_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Tracked::_internal_mutable_radar_cross_section() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.radar_cross_section_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.radar_cross_section_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.radar_cross_section_; +} +inline ::google::protobuf::DoubleValue* Tracked::mutable_radar_cross_section() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_radar_cross_section(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Tracked.radar_cross_section) + return _msg; +} +inline void Tracked::set_allocated_radar_cross_section(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.radar_cross_section_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.radar_cross_section_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Tracked.radar_cross_section) +} + +// .google.protobuf.Timestamp last_measurement_time = 7 [json_name = "lastMeasurementTime"]; +inline bool Tracked::has_last_measurement_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.last_measurement_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Tracked::_internal_last_measurement_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.last_measurement_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Tracked::last_measurement_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Tracked.last_measurement_time) + return _internal_last_measurement_time(); +} +inline void Tracked::unsafe_arena_set_allocated_last_measurement_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_measurement_time_); + } + _impl_.last_measurement_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Tracked.last_measurement_time) +} +inline ::google::protobuf::Timestamp* Tracked::release_last_measurement_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000010u; + ::google::protobuf::Timestamp* released = _impl_.last_measurement_time_; + _impl_.last_measurement_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Tracked::unsafe_arena_release_last_measurement_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Tracked.last_measurement_time) + + _impl_._has_bits_[0] &= ~0x00000010u; + ::google::protobuf::Timestamp* temp = _impl_.last_measurement_time_; + _impl_.last_measurement_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Tracked::_internal_mutable_last_measurement_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.last_measurement_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.last_measurement_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.last_measurement_time_; +} +inline ::google::protobuf::Timestamp* Tracked::mutable_last_measurement_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_last_measurement_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Tracked.last_measurement_time) + return _msg; +} +inline void Tracked::set_allocated_last_measurement_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_measurement_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + + _impl_.last_measurement_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Tracked.last_measurement_time) +} + +// .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 9 [json_name = "lineOfBearing"]; +inline bool Tracked::has_line_of_bearing() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.line_of_bearing_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::LineOfBearing& Tracked::_internal_line_of_bearing() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::LineOfBearing* p = _impl_.line_of_bearing_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_LineOfBearing_default_instance_); +} +inline const ::anduril::entitymanager::v1::LineOfBearing& Tracked::line_of_bearing() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Tracked.line_of_bearing) + return _internal_line_of_bearing(); +} +inline void Tracked::unsafe_arena_set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.line_of_bearing_); + } + _impl_.line_of_bearing_ = reinterpret_cast<::anduril::entitymanager::v1::LineOfBearing*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Tracked.line_of_bearing) +} +inline ::anduril::entitymanager::v1::LineOfBearing* Tracked::release_line_of_bearing() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000020u; + ::anduril::entitymanager::v1::LineOfBearing* released = _impl_.line_of_bearing_; + _impl_.line_of_bearing_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::LineOfBearing* Tracked::unsafe_arena_release_line_of_bearing() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Tracked.line_of_bearing) + + _impl_._has_bits_[0] &= ~0x00000020u; + ::anduril::entitymanager::v1::LineOfBearing* temp = _impl_.line_of_bearing_; + _impl_.line_of_bearing_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::LineOfBearing* Tracked::_internal_mutable_line_of_bearing() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.line_of_bearing_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::LineOfBearing>(GetArena()); + _impl_.line_of_bearing_ = reinterpret_cast<::anduril::entitymanager::v1::LineOfBearing*>(p); + } + return _impl_.line_of_bearing_; +} +inline ::anduril::entitymanager::v1::LineOfBearing* Tracked::mutable_line_of_bearing() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000020u; + ::anduril::entitymanager::v1::LineOfBearing* _msg = _internal_mutable_line_of_bearing(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Tracked.line_of_bearing) + return _msg; +} +inline void Tracked::set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.line_of_bearing_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + + _impl_.line_of_bearing_ = reinterpret_cast<::anduril::entitymanager::v1::LineOfBearing*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Tracked.line_of_bearing) +} + +// ------------------------------------------------------------------- + +// Provenance + +// string integration_name = 5 [json_name = "integrationName"]; +inline void Provenance::clear_integration_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.integration_name_.ClearToEmpty(); +} +inline const std::string& Provenance::integration_name() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Provenance.integration_name) + return _internal_integration_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Provenance::set_integration_name(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.integration_name_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Provenance.integration_name) +} +inline std::string* Provenance::mutable_integration_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_integration_name(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Provenance.integration_name) + return _s; +} +inline const std::string& Provenance::_internal_integration_name() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.integration_name_.Get(); +} +inline void Provenance::_internal_set_integration_name(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.integration_name_.Set(value, GetArena()); +} +inline std::string* Provenance::_internal_mutable_integration_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.integration_name_.Mutable( GetArena()); +} +inline std::string* Provenance::release_integration_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Provenance.integration_name) + return _impl_.integration_name_.Release(); +} +inline void Provenance::set_allocated_integration_name(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.integration_name_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.integration_name_.IsDefault()) { + _impl_.integration_name_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Provenance.integration_name) +} + +// string data_type = 6 [json_name = "dataType"]; +inline void Provenance::clear_data_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_type_.ClearToEmpty(); +} +inline const std::string& Provenance::data_type() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Provenance.data_type) + return _internal_data_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Provenance::set_data_type(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_type_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Provenance.data_type) +} +inline std::string* Provenance::mutable_data_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_data_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Provenance.data_type) + return _s; +} +inline const std::string& Provenance::_internal_data_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_type_.Get(); +} +inline void Provenance::_internal_set_data_type(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_type_.Set(value, GetArena()); +} +inline std::string* Provenance::_internal_mutable_data_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_type_.Mutable( GetArena()); +} +inline std::string* Provenance::release_data_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Provenance.data_type) + return _impl_.data_type_.Release(); +} +inline void Provenance::set_allocated_data_type(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_type_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_type_.IsDefault()) { + _impl_.data_type_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Provenance.data_type) +} + +// string source_id = 3 [json_name = "sourceId"]; +inline void Provenance::clear_source_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_id_.ClearToEmpty(); +} +inline const std::string& Provenance::source_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Provenance.source_id) + return _internal_source_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Provenance::set_source_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Provenance.source_id) +} +inline std::string* Provenance::mutable_source_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_source_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Provenance.source_id) + return _s; +} +inline const std::string& Provenance::_internal_source_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.source_id_.Get(); +} +inline void Provenance::_internal_set_source_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_id_.Set(value, GetArena()); +} +inline std::string* Provenance::_internal_mutable_source_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.source_id_.Mutable( GetArena()); +} +inline std::string* Provenance::release_source_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Provenance.source_id) + return _impl_.source_id_.Release(); +} +inline void Provenance::set_allocated_source_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.source_id_.IsDefault()) { + _impl_.source_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Provenance.source_id) +} + +// .google.protobuf.Timestamp source_update_time = 2 [json_name = "sourceUpdateTime"]; +inline bool Provenance::has_source_update_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.source_update_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Provenance::_internal_source_update_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.source_update_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Provenance::source_update_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Provenance.source_update_time) + return _internal_source_update_time(); +} +inline void Provenance::unsafe_arena_set_allocated_source_update_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_update_time_); + } + _impl_.source_update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Provenance.source_update_time) +} +inline ::google::protobuf::Timestamp* Provenance::release_source_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.source_update_time_; + _impl_.source_update_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Provenance::unsafe_arena_release_source_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Provenance.source_update_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.source_update_time_; + _impl_.source_update_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Provenance::_internal_mutable_source_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.source_update_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.source_update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.source_update_time_; +} +inline ::google::protobuf::Timestamp* Provenance::mutable_source_update_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_source_update_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Provenance.source_update_time) + return _msg; +} +inline void Provenance::set_allocated_source_update_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_update_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.source_update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Provenance.source_update_time) +} + +// string source_description = 4 [json_name = "sourceDescription"]; +inline void Provenance::clear_source_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_description_.ClearToEmpty(); +} +inline const std::string& Provenance::source_description() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Provenance.source_description) + return _internal_source_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Provenance::set_source_description(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_description_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Provenance.source_description) +} +inline std::string* Provenance::mutable_source_description() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_source_description(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Provenance.source_description) + return _s; +} +inline const std::string& Provenance::_internal_source_description() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.source_description_.Get(); +} +inline void Provenance::_internal_set_source_description(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_description_.Set(value, GetArena()); +} +inline std::string* Provenance::_internal_mutable_source_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.source_description_.Mutable( GetArena()); +} +inline std::string* Provenance::release_source_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Provenance.source_description) + return _impl_.source_description_.Release(); +} +inline void Provenance::set_allocated_source_description(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_description_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.source_description_.IsDefault()) { + _impl_.source_description_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Provenance.source_description) +} + +// ------------------------------------------------------------------- + +// Indicators + +// .google.protobuf.BoolValue simulated = 1 [json_name = "simulated"]; +inline bool Indicators::has_simulated() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.simulated_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& Indicators::_internal_simulated() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.simulated_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& Indicators::simulated() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Indicators.simulated) + return _internal_simulated(); +} +inline void Indicators::unsafe_arena_set_allocated_simulated(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.simulated_); + } + _impl_.simulated_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Indicators.simulated) +} +inline ::google::protobuf::BoolValue* Indicators::release_simulated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::BoolValue* released = _impl_.simulated_; + _impl_.simulated_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* Indicators::unsafe_arena_release_simulated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Indicators.simulated) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::BoolValue* temp = _impl_.simulated_; + _impl_.simulated_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* Indicators::_internal_mutable_simulated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.simulated_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.simulated_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.simulated_; +} +inline ::google::protobuf::BoolValue* Indicators::mutable_simulated() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_simulated(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Indicators.simulated) + return _msg; +} +inline void Indicators::set_allocated_simulated(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.simulated_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.simulated_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Indicators.simulated) +} + +// .google.protobuf.BoolValue exercise = 2 [json_name = "exercise"]; +inline bool Indicators::has_exercise() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.exercise_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& Indicators::_internal_exercise() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.exercise_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& Indicators::exercise() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Indicators.exercise) + return _internal_exercise(); +} +inline void Indicators::unsafe_arena_set_allocated_exercise(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.exercise_); + } + _impl_.exercise_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Indicators.exercise) +} +inline ::google::protobuf::BoolValue* Indicators::release_exercise() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::BoolValue* released = _impl_.exercise_; + _impl_.exercise_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* Indicators::unsafe_arena_release_exercise() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Indicators.exercise) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::BoolValue* temp = _impl_.exercise_; + _impl_.exercise_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* Indicators::_internal_mutable_exercise() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.exercise_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.exercise_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.exercise_; +} +inline ::google::protobuf::BoolValue* Indicators::mutable_exercise() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_exercise(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Indicators.exercise) + return _msg; +} +inline void Indicators::set_allocated_exercise(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.exercise_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.exercise_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Indicators.exercise) +} + +// .google.protobuf.BoolValue emergency = 3 [json_name = "emergency"]; +inline bool Indicators::has_emergency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.emergency_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& Indicators::_internal_emergency() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.emergency_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& Indicators::emergency() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Indicators.emergency) + return _internal_emergency(); +} +inline void Indicators::unsafe_arena_set_allocated_emergency(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.emergency_); + } + _impl_.emergency_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Indicators.emergency) +} +inline ::google::protobuf::BoolValue* Indicators::release_emergency() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::BoolValue* released = _impl_.emergency_; + _impl_.emergency_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* Indicators::unsafe_arena_release_emergency() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Indicators.emergency) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::BoolValue* temp = _impl_.emergency_; + _impl_.emergency_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* Indicators::_internal_mutable_emergency() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.emergency_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.emergency_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.emergency_; +} +inline ::google::protobuf::BoolValue* Indicators::mutable_emergency() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_emergency(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Indicators.emergency) + return _msg; +} +inline void Indicators::set_allocated_emergency(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.emergency_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.emergency_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Indicators.emergency) +} + +// .google.protobuf.BoolValue c2 = 4 [json_name = "c2"]; +inline bool Indicators::has_c2() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.c2_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& Indicators::_internal_c2() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.c2_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& Indicators::c2() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Indicators.c2) + return _internal_c2(); +} +inline void Indicators::unsafe_arena_set_allocated_c2(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.c2_); + } + _impl_.c2_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Indicators.c2) +} +inline ::google::protobuf::BoolValue* Indicators::release_c2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::BoolValue* released = _impl_.c2_; + _impl_.c2_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* Indicators::unsafe_arena_release_c2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Indicators.c2) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::BoolValue* temp = _impl_.c2_; + _impl_.c2_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* Indicators::_internal_mutable_c2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.c2_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.c2_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.c2_; +} +inline ::google::protobuf::BoolValue* Indicators::mutable_c2() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_c2(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Indicators.c2) + return _msg; +} +inline void Indicators::set_allocated_c2(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.c2_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.c2_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Indicators.c2) +} + +// .google.protobuf.BoolValue egressable = 6 [json_name = "egressable", (.anduril.entitymanager.v1.overridable) = true]; +inline bool Indicators::has_egressable() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.egressable_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& Indicators::_internal_egressable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.egressable_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& Indicators::egressable() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Indicators.egressable) + return _internal_egressable(); +} +inline void Indicators::unsafe_arena_set_allocated_egressable(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.egressable_); + } + _impl_.egressable_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Indicators.egressable) +} +inline ::google::protobuf::BoolValue* Indicators::release_egressable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000010u; + ::google::protobuf::BoolValue* released = _impl_.egressable_; + _impl_.egressable_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* Indicators::unsafe_arena_release_egressable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Indicators.egressable) + + _impl_._has_bits_[0] &= ~0x00000010u; + ::google::protobuf::BoolValue* temp = _impl_.egressable_; + _impl_.egressable_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* Indicators::_internal_mutable_egressable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.egressable_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.egressable_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.egressable_; +} +inline ::google::protobuf::BoolValue* Indicators::mutable_egressable() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_egressable(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Indicators.egressable) + return _msg; +} +inline void Indicators::set_allocated_egressable(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.egressable_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + + _impl_.egressable_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Indicators.egressable) +} + +// .google.protobuf.BoolValue starred = 7 [json_name = "starred", (.anduril.entitymanager.v1.overridable) = true]; +inline bool Indicators::has_starred() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.starred_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& Indicators::_internal_starred() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.starred_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& Indicators::starred() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Indicators.starred) + return _internal_starred(); +} +inline void Indicators::unsafe_arena_set_allocated_starred(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.starred_); + } + _impl_.starred_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Indicators.starred) +} +inline ::google::protobuf::BoolValue* Indicators::release_starred() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000020u; + ::google::protobuf::BoolValue* released = _impl_.starred_; + _impl_.starred_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* Indicators::unsafe_arena_release_starred() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Indicators.starred) + + _impl_._has_bits_[0] &= ~0x00000020u; + ::google::protobuf::BoolValue* temp = _impl_.starred_; + _impl_.starred_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* Indicators::_internal_mutable_starred() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.starred_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.starred_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.starred_; +} +inline ::google::protobuf::BoolValue* Indicators::mutable_starred() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000020u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_starred(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Indicators.starred) + return _msg; +} +inline void Indicators::set_allocated_starred(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.starred_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + + _impl_.starred_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Indicators.starred) +} + +// ------------------------------------------------------------------- + +// Overrides + +// repeated .anduril.entitymanager.v1.Override override = 2 [json_name = "override"]; +inline int Overrides::_internal_override_size() const { + return _internal_override().size(); +} +inline int Overrides::override_size() const { + return _internal_override_size(); +} +inline void Overrides::clear_override() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.override_.Clear(); +} +inline ::anduril::entitymanager::v1::Override* Overrides::mutable_override(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Overrides.override) + return _internal_mutable_override()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>* Overrides::mutable_override() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Overrides.override) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_override(); +} +inline const ::anduril::entitymanager::v1::Override& Overrides::override(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Overrides.override) + return _internal_override().Get(index); +} +inline ::anduril::entitymanager::v1::Override* Overrides::add_override() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Override* _add = _internal_mutable_override()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Overrides.override) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>& Overrides::override() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Overrides.override) + return _internal_override(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>& +Overrides::_internal_override() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.override_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Override>* +Overrides::_internal_mutable_override() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.override_; +} + +// ------------------------------------------------------------------- + +// Override + +// string request_id = 1 [json_name = "requestId"]; +inline void Override::clear_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.ClearToEmpty(); +} +inline const std::string& Override::request_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.request_id) + return _internal_request_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Override::set_request_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Override.request_id) +} +inline std::string* Override::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_request_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Override.request_id) + return _s; +} +inline const std::string& Override::_internal_request_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.request_id_.Get(); +} +inline void Override::_internal_set_request_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.Set(value, GetArena()); +} +inline std::string* Override::_internal_mutable_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.request_id_.Mutable( GetArena()); +} +inline std::string* Override::release_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Override.request_id) + return _impl_.request_id_.Release(); +} +inline void Override::set_allocated_request_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { + _impl_.request_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Override.request_id) +} + +// string field_path = 2 [json_name = "fieldPath"]; +inline void Override::clear_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.ClearToEmpty(); +} +inline const std::string& Override::field_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.field_path) + return _internal_field_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Override::set_field_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Override.field_path) +} +inline std::string* Override::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_field_path(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Override.field_path) + return _s; +} +inline const std::string& Override::_internal_field_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.field_path_.Get(); +} +inline void Override::_internal_set_field_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(value, GetArena()); +} +inline std::string* Override::_internal_mutable_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.field_path_.Mutable( GetArena()); +} +inline std::string* Override::release_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Override.field_path) + return _impl_.field_path_.Release(); +} +inline void Override::set_allocated_field_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.field_path_.IsDefault()) { + _impl_.field_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Override.field_path) +} + +// .anduril.entitymanager.v1.Entity masked_field_value = 3 [json_name = "maskedFieldValue"]; +inline bool Override::has_masked_field_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.masked_field_value_ != nullptr); + return value; +} +inline void Override::clear_masked_field_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.masked_field_value_ != nullptr) _impl_.masked_field_value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Entity& Override::_internal_masked_field_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.masked_field_value_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& Override::masked_field_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.masked_field_value) + return _internal_masked_field_value(); +} +inline void Override::unsafe_arena_set_allocated_masked_field_value(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.masked_field_value_); + } + _impl_.masked_field_value_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Override.masked_field_value) +} +inline ::anduril::entitymanager::v1::Entity* Override::release_masked_field_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* released = _impl_.masked_field_value_; + _impl_.masked_field_value_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* Override::unsafe_arena_release_masked_field_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Override.masked_field_value) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.masked_field_value_; + _impl_.masked_field_value_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* Override::_internal_mutable_masked_field_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.masked_field_value_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.masked_field_value_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.masked_field_value_; +} +inline ::anduril::entitymanager::v1::Entity* Override::mutable_masked_field_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_masked_field_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Override.masked_field_value) + return _msg; +} +inline void Override::set_allocated_masked_field_value(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.masked_field_value_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.masked_field_value_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Override.masked_field_value) +} + +// .anduril.entitymanager.v1.OverrideStatus status = 4 [json_name = "status"]; +inline void Override::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = 0; +} +inline ::anduril::entitymanager::v1::OverrideStatus Override::status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.status) + return _internal_status(); +} +inline void Override::set_status(::anduril::entitymanager::v1::OverrideStatus value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Override.status) +} +inline ::anduril::entitymanager::v1::OverrideStatus Override::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::OverrideStatus>(_impl_.status_); +} +inline void Override::_internal_set_status(::anduril::entitymanager::v1::OverrideStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = value; +} + +// .anduril.entitymanager.v1.Provenance provenance = 5 [json_name = "provenance"]; +inline bool Override::has_provenance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.provenance_ != nullptr); + return value; +} +inline void Override::clear_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ != nullptr) _impl_.provenance_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::Provenance& Override::_internal_provenance() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Provenance* p = _impl_.provenance_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Provenance_default_instance_); +} +inline const ::anduril::entitymanager::v1::Provenance& Override::provenance() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.provenance) + return _internal_provenance(); +} +inline void Override::unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Override.provenance) +} +inline ::anduril::entitymanager::v1::Provenance* Override::release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Provenance* released = _impl_.provenance_; + _impl_.provenance_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Provenance* Override::unsafe_arena_release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Override.provenance) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Provenance* temp = _impl_.provenance_; + _impl_.provenance_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Provenance* Override::_internal_mutable_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Provenance>(GetArena()); + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(p); + } + return _impl_.provenance_; +} +inline ::anduril::entitymanager::v1::Provenance* Override::mutable_provenance() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Provenance* _msg = _internal_mutable_provenance(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Override.provenance) + return _msg; +} +inline void Override::set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.provenance_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Override.provenance) +} + +// .anduril.entitymanager.v1.OverrideType type = 6 [json_name = "type"]; +inline void Override::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::anduril::entitymanager::v1::OverrideType Override::type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.type) + return _internal_type(); +} +inline void Override::set_type(::anduril::entitymanager::v1::OverrideType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Override.type) +} +inline ::anduril::entitymanager::v1::OverrideType Override::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::OverrideType>(_impl_.type_); +} +inline void Override::_internal_set_type(::anduril::entitymanager::v1::OverrideType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +// .google.protobuf.Timestamp request_timestamp = 7 [json_name = "requestTimestamp"]; +inline bool Override::has_request_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.request_timestamp_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Override::_internal_request_timestamp() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.request_timestamp_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Override::request_timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Override.request_timestamp) + return _internal_request_timestamp(); +} +inline void Override::unsafe_arena_set_allocated_request_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_timestamp_); + } + _impl_.request_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Override.request_timestamp) +} +inline ::google::protobuf::Timestamp* Override::release_request_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::Timestamp* released = _impl_.request_timestamp_; + _impl_.request_timestamp_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Override::unsafe_arena_release_request_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Override.request_timestamp) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::Timestamp* temp = _impl_.request_timestamp_; + _impl_.request_timestamp_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Override::_internal_mutable_request_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.request_timestamp_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.request_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.request_timestamp_; +} +inline ::google::protobuf::Timestamp* Override::mutable_request_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_request_timestamp(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Override.request_timestamp) + return _msg; +} +inline void Override::set_allocated_request_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_timestamp_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.request_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Override.request_timestamp) +} + +// ------------------------------------------------------------------- + +// AlternateId + +// string id = 2 [json_name = "id"]; +inline void AlternateId::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.ClearToEmpty(); +} +inline const std::string& AlternateId::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AlternateId.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void AlternateId::set_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.AlternateId.id) +} +inline std::string* AlternateId::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AlternateId.id) + return _s; +} +inline const std::string& AlternateId::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_.Get(); +} +inline void AlternateId::_internal_set_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(value, GetArena()); +} +inline std::string* AlternateId::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.id_.Mutable( GetArena()); +} +inline std::string* AlternateId::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AlternateId.id) + return _impl_.id_.Release(); +} +inline void AlternateId::set_allocated_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AlternateId.id) +} + +// .anduril.entitymanager.v1.AltIdType type = 3 [json_name = "type"]; +inline void AlternateId::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::anduril::entitymanager::v1::AltIdType AlternateId::type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AlternateId.type) + return _internal_type(); +} +inline void AlternateId::set_type(::anduril::entitymanager::v1::AltIdType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.AlternateId.type) +} +inline ::anduril::entitymanager::v1::AltIdType AlternateId::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::AltIdType>(_impl_.type_); +} +inline void AlternateId::_internal_set_type(::anduril::entitymanager::v1::AltIdType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +// ------------------------------------------------------------------- + +// VisualDetails + +// .anduril.entitymanager.v1.RangeRings range_rings = 1 [json_name = "rangeRings", (.anduril.entitymanager.v1.overridable) = true]; +inline bool VisualDetails::has_range_rings() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.range_rings_ != nullptr); + return value; +} +inline void VisualDetails::clear_range_rings() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.range_rings_ != nullptr) _impl_.range_rings_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::RangeRings& VisualDetails::_internal_range_rings() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::RangeRings* p = _impl_.range_rings_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_RangeRings_default_instance_); +} +inline const ::anduril::entitymanager::v1::RangeRings& VisualDetails::range_rings() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.VisualDetails.range_rings) + return _internal_range_rings(); +} +inline void VisualDetails::unsafe_arena_set_allocated_range_rings(::anduril::entitymanager::v1::RangeRings* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.range_rings_); + } + _impl_.range_rings_ = reinterpret_cast<::anduril::entitymanager::v1::RangeRings*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.VisualDetails.range_rings) +} +inline ::anduril::entitymanager::v1::RangeRings* VisualDetails::release_range_rings() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::RangeRings* released = _impl_.range_rings_; + _impl_.range_rings_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::RangeRings* VisualDetails::unsafe_arena_release_range_rings() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.VisualDetails.range_rings) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::RangeRings* temp = _impl_.range_rings_; + _impl_.range_rings_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::RangeRings* VisualDetails::_internal_mutable_range_rings() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.range_rings_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::RangeRings>(GetArena()); + _impl_.range_rings_ = reinterpret_cast<::anduril::entitymanager::v1::RangeRings*>(p); + } + return _impl_.range_rings_; +} +inline ::anduril::entitymanager::v1::RangeRings* VisualDetails::mutable_range_rings() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::RangeRings* _msg = _internal_mutable_range_rings(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.VisualDetails.range_rings) + return _msg; +} +inline void VisualDetails::set_allocated_range_rings(::anduril::entitymanager::v1::RangeRings* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.range_rings_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.range_rings_ = reinterpret_cast<::anduril::entitymanager::v1::RangeRings*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.VisualDetails.range_rings) +} + +// ------------------------------------------------------------------- + +// RangeRings + +// .google.protobuf.DoubleValue min_distance_m = 1 [json_name = "minDistanceM"]; +inline bool RangeRings::has_min_distance_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.min_distance_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& RangeRings::_internal_min_distance_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.min_distance_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& RangeRings::min_distance_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RangeRings.min_distance_m) + return _internal_min_distance_m(); +} +inline void RangeRings::unsafe_arena_set_allocated_min_distance_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.min_distance_m_); + } + _impl_.min_distance_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RangeRings.min_distance_m) +} +inline ::google::protobuf::DoubleValue* RangeRings::release_min_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.min_distance_m_; + _impl_.min_distance_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* RangeRings::unsafe_arena_release_min_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RangeRings.min_distance_m) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.min_distance_m_; + _impl_.min_distance_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* RangeRings::_internal_mutable_min_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.min_distance_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.min_distance_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.min_distance_m_; +} +inline ::google::protobuf::DoubleValue* RangeRings::mutable_min_distance_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_min_distance_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RangeRings.min_distance_m) + return _msg; +} +inline void RangeRings::set_allocated_min_distance_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.min_distance_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.min_distance_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RangeRings.min_distance_m) +} + +// .google.protobuf.DoubleValue max_distance_m = 2 [json_name = "maxDistanceM"]; +inline bool RangeRings::has_max_distance_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.max_distance_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& RangeRings::_internal_max_distance_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.max_distance_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& RangeRings::max_distance_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RangeRings.max_distance_m) + return _internal_max_distance_m(); +} +inline void RangeRings::unsafe_arena_set_allocated_max_distance_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.max_distance_m_); + } + _impl_.max_distance_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RangeRings.max_distance_m) +} +inline ::google::protobuf::DoubleValue* RangeRings::release_max_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.max_distance_m_; + _impl_.max_distance_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* RangeRings::unsafe_arena_release_max_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RangeRings.max_distance_m) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.max_distance_m_; + _impl_.max_distance_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* RangeRings::_internal_mutable_max_distance_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.max_distance_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.max_distance_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.max_distance_m_; +} +inline ::google::protobuf::DoubleValue* RangeRings::mutable_max_distance_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_max_distance_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RangeRings.max_distance_m) + return _msg; +} +inline void RangeRings::set_allocated_max_distance_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.max_distance_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.max_distance_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RangeRings.max_distance_m) +} + +// uint32 ring_count = 3 [json_name = "ringCount"]; +inline void RangeRings::clear_ring_count() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ring_count_ = 0u; +} +inline ::uint32_t RangeRings::ring_count() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RangeRings.ring_count) + return _internal_ring_count(); +} +inline void RangeRings::set_ring_count(::uint32_t value) { + _internal_set_ring_count(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.RangeRings.ring_count) +} +inline ::uint32_t RangeRings::_internal_ring_count() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ring_count_; +} +inline void RangeRings::_internal_set_ring_count(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ring_count_ = value; +} + +// .anduril.type.Color ring_line_color = 4 [json_name = "ringLineColor"]; +inline bool RangeRings::has_ring_line_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ring_line_color_ != nullptr); + return value; +} +inline const ::anduril::type::Color& RangeRings::_internal_ring_line_color() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::Color* p = _impl_.ring_line_color_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_Color_default_instance_); +} +inline const ::anduril::type::Color& RangeRings::ring_line_color() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RangeRings.ring_line_color) + return _internal_ring_line_color(); +} +inline void RangeRings::unsafe_arena_set_allocated_ring_line_color(::anduril::type::Color* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ring_line_color_); + } + _impl_.ring_line_color_ = reinterpret_cast<::anduril::type::Color*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RangeRings.ring_line_color) +} +inline ::anduril::type::Color* RangeRings::release_ring_line_color() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::type::Color* released = _impl_.ring_line_color_; + _impl_.ring_line_color_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::Color* RangeRings::unsafe_arena_release_ring_line_color() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RangeRings.ring_line_color) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::type::Color* temp = _impl_.ring_line_color_; + _impl_.ring_line_color_ = nullptr; + return temp; +} +inline ::anduril::type::Color* RangeRings::_internal_mutable_ring_line_color() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ring_line_color_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::Color>(GetArena()); + _impl_.ring_line_color_ = reinterpret_cast<::anduril::type::Color*>(p); + } + return _impl_.ring_line_color_; +} +inline ::anduril::type::Color* RangeRings::mutable_ring_line_color() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::type::Color* _msg = _internal_mutable_ring_line_color(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RangeRings.ring_line_color) + return _msg; +} +inline void RangeRings::set_allocated_ring_line_color(::anduril::type::Color* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ring_line_color_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.ring_line_color_ = reinterpret_cast<::anduril::type::Color*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RangeRings.ring_line_color) +} + +// ------------------------------------------------------------------- + +// Correlation + +// .anduril.entitymanager.v1.PrimaryCorrelation primary = 1 [json_name = "primary"]; +inline bool Correlation::has_primary() const { + return correlation_case() == kPrimary; +} +inline bool Correlation::_internal_has_primary() const { + return correlation_case() == kPrimary; +} +inline void Correlation::set_has_primary() { + _impl_._oneof_case_[0] = kPrimary; +} +inline void Correlation::clear_primary() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (correlation_case() == kPrimary) { + if (GetArena() == nullptr) { + delete _impl_.correlation_.primary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.correlation_.primary_); + } + clear_has_correlation(); + } +} +inline ::anduril::entitymanager::v1::PrimaryCorrelation* Correlation::release_primary() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Correlation.primary) + if (correlation_case() == kPrimary) { + clear_has_correlation(); + auto* temp = _impl_.correlation_.primary_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.correlation_.primary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::PrimaryCorrelation& Correlation::_internal_primary() const { + return correlation_case() == kPrimary ? *_impl_.correlation_.primary_ : reinterpret_cast<::anduril::entitymanager::v1::PrimaryCorrelation&>(::anduril::entitymanager::v1::_PrimaryCorrelation_default_instance_); +} +inline const ::anduril::entitymanager::v1::PrimaryCorrelation& Correlation::primary() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlation.primary) + return _internal_primary(); +} +inline ::anduril::entitymanager::v1::PrimaryCorrelation* Correlation::unsafe_arena_release_primary() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Correlation.primary) + if (correlation_case() == kPrimary) { + clear_has_correlation(); + auto* temp = _impl_.correlation_.primary_; + _impl_.correlation_.primary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Correlation::unsafe_arena_set_allocated_primary(::anduril::entitymanager::v1::PrimaryCorrelation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_correlation(); + if (value) { + set_has_primary(); + _impl_.correlation_.primary_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Correlation.primary) +} +inline ::anduril::entitymanager::v1::PrimaryCorrelation* Correlation::_internal_mutable_primary() { + if (correlation_case() != kPrimary) { + clear_correlation(); + set_has_primary(); + _impl_.correlation_.primary_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PrimaryCorrelation>(GetArena()); + } + return _impl_.correlation_.primary_; +} +inline ::anduril::entitymanager::v1::PrimaryCorrelation* Correlation::mutable_primary() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::PrimaryCorrelation* _msg = _internal_mutable_primary(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlation.primary) + return _msg; +} + +// .anduril.entitymanager.v1.SecondaryCorrelation secondary = 2 [json_name = "secondary"]; +inline bool Correlation::has_secondary() const { + return correlation_case() == kSecondary; +} +inline bool Correlation::_internal_has_secondary() const { + return correlation_case() == kSecondary; +} +inline void Correlation::set_has_secondary() { + _impl_._oneof_case_[0] = kSecondary; +} +inline void Correlation::clear_secondary() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (correlation_case() == kSecondary) { + if (GetArena() == nullptr) { + delete _impl_.correlation_.secondary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.correlation_.secondary_); + } + clear_has_correlation(); + } +} +inline ::anduril::entitymanager::v1::SecondaryCorrelation* Correlation::release_secondary() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Correlation.secondary) + if (correlation_case() == kSecondary) { + clear_has_correlation(); + auto* temp = _impl_.correlation_.secondary_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.correlation_.secondary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::SecondaryCorrelation& Correlation::_internal_secondary() const { + return correlation_case() == kSecondary ? *_impl_.correlation_.secondary_ : reinterpret_cast<::anduril::entitymanager::v1::SecondaryCorrelation&>(::anduril::entitymanager::v1::_SecondaryCorrelation_default_instance_); +} +inline const ::anduril::entitymanager::v1::SecondaryCorrelation& Correlation::secondary() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlation.secondary) + return _internal_secondary(); +} +inline ::anduril::entitymanager::v1::SecondaryCorrelation* Correlation::unsafe_arena_release_secondary() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Correlation.secondary) + if (correlation_case() == kSecondary) { + clear_has_correlation(); + auto* temp = _impl_.correlation_.secondary_; + _impl_.correlation_.secondary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Correlation::unsafe_arena_set_allocated_secondary(::anduril::entitymanager::v1::SecondaryCorrelation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_correlation(); + if (value) { + set_has_secondary(); + _impl_.correlation_.secondary_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Correlation.secondary) +} +inline ::anduril::entitymanager::v1::SecondaryCorrelation* Correlation::_internal_mutable_secondary() { + if (correlation_case() != kSecondary) { + clear_correlation(); + set_has_secondary(); + _impl_.correlation_.secondary_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::SecondaryCorrelation>(GetArena()); + } + return _impl_.correlation_.secondary_; +} +inline ::anduril::entitymanager::v1::SecondaryCorrelation* Correlation::mutable_secondary() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::SecondaryCorrelation* _msg = _internal_mutable_secondary(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlation.secondary) + return _msg; +} + +// .anduril.entitymanager.v1.CorrelationMembership membership = 4 [json_name = "membership"]; +inline bool Correlation::has_membership() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.membership_ != nullptr); + return value; +} +inline void Correlation::clear_membership() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.membership_ != nullptr) _impl_.membership_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::CorrelationMembership& Correlation::_internal_membership() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::CorrelationMembership* p = _impl_.membership_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_CorrelationMembership_default_instance_); +} +inline const ::anduril::entitymanager::v1::CorrelationMembership& Correlation::membership() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlation.membership) + return _internal_membership(); +} +inline void Correlation::unsafe_arena_set_allocated_membership(::anduril::entitymanager::v1::CorrelationMembership* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.membership_); + } + _impl_.membership_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMembership*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Correlation.membership) +} +inline ::anduril::entitymanager::v1::CorrelationMembership* Correlation::release_membership() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::CorrelationMembership* released = _impl_.membership_; + _impl_.membership_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::CorrelationMembership* Correlation::unsafe_arena_release_membership() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Correlation.membership) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::CorrelationMembership* temp = _impl_.membership_; + _impl_.membership_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::CorrelationMembership* Correlation::_internal_mutable_membership() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.membership_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::CorrelationMembership>(GetArena()); + _impl_.membership_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMembership*>(p); + } + return _impl_.membership_; +} +inline ::anduril::entitymanager::v1::CorrelationMembership* Correlation::mutable_membership() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::CorrelationMembership* _msg = _internal_mutable_membership(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlation.membership) + return _msg; +} +inline void Correlation::set_allocated_membership(::anduril::entitymanager::v1::CorrelationMembership* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.membership_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.membership_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMembership*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Correlation.membership) +} + +// .anduril.entitymanager.v1.Decorrelation decorrelation = 3 [json_name = "decorrelation"]; +inline bool Correlation::has_decorrelation() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.decorrelation_ != nullptr); + return value; +} +inline void Correlation::clear_decorrelation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.decorrelation_ != nullptr) _impl_.decorrelation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Decorrelation& Correlation::_internal_decorrelation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Decorrelation* p = _impl_.decorrelation_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Decorrelation_default_instance_); +} +inline const ::anduril::entitymanager::v1::Decorrelation& Correlation::decorrelation() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Correlation.decorrelation) + return _internal_decorrelation(); +} +inline void Correlation::unsafe_arena_set_allocated_decorrelation(::anduril::entitymanager::v1::Decorrelation* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.decorrelation_); + } + _impl_.decorrelation_ = reinterpret_cast<::anduril::entitymanager::v1::Decorrelation*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Correlation.decorrelation) +} +inline ::anduril::entitymanager::v1::Decorrelation* Correlation::release_decorrelation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Decorrelation* released = _impl_.decorrelation_; + _impl_.decorrelation_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Decorrelation* Correlation::unsafe_arena_release_decorrelation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Correlation.decorrelation) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Decorrelation* temp = _impl_.decorrelation_; + _impl_.decorrelation_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Decorrelation* Correlation::_internal_mutable_decorrelation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.decorrelation_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Decorrelation>(GetArena()); + _impl_.decorrelation_ = reinterpret_cast<::anduril::entitymanager::v1::Decorrelation*>(p); + } + return _impl_.decorrelation_; +} +inline ::anduril::entitymanager::v1::Decorrelation* Correlation::mutable_decorrelation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Decorrelation* _msg = _internal_mutable_decorrelation(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Correlation.decorrelation) + return _msg; +} +inline void Correlation::set_allocated_decorrelation(::anduril::entitymanager::v1::Decorrelation* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.decorrelation_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.decorrelation_ = reinterpret_cast<::anduril::entitymanager::v1::Decorrelation*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Correlation.decorrelation) +} + +inline bool Correlation::has_correlation() const { + return correlation_case() != CORRELATION_NOT_SET; +} +inline void Correlation::clear_has_correlation() { + _impl_._oneof_case_[0] = CORRELATION_NOT_SET; +} +inline Correlation::CorrelationCase Correlation::correlation_case() const { + return Correlation::CorrelationCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// PrimaryCorrelation + +// repeated string secondary_entity_ids = 1 [json_name = "secondaryEntityIds"]; +inline int PrimaryCorrelation::_internal_secondary_entity_ids_size() const { + return _internal_secondary_entity_ids().size(); +} +inline int PrimaryCorrelation::secondary_entity_ids_size() const { + return _internal_secondary_entity_ids_size(); +} +inline void PrimaryCorrelation::clear_secondary_entity_ids() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.secondary_entity_ids_.Clear(); +} +inline std::string* PrimaryCorrelation::add_secondary_entity_ids() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_secondary_entity_ids()->Add(); + // @@protoc_insertion_point(field_add_mutable:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) + return _s; +} +inline const std::string& PrimaryCorrelation::secondary_entity_ids(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) + return _internal_secondary_entity_ids().Get(index); +} +inline std::string* PrimaryCorrelation::mutable_secondary_entity_ids(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) + return _internal_mutable_secondary_entity_ids()->Mutable(index); +} +template +inline void PrimaryCorrelation::set_secondary_entity_ids(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_secondary_entity_ids()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) +} +template +inline void PrimaryCorrelation::add_secondary_entity_ids(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_secondary_entity_ids(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) +} +inline const ::google::protobuf::RepeatedPtrField& +PrimaryCorrelation::secondary_entity_ids() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) + return _internal_secondary_entity_ids(); +} +inline ::google::protobuf::RepeatedPtrField* +PrimaryCorrelation::mutable_secondary_entity_ids() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.PrimaryCorrelation.secondary_entity_ids) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_secondary_entity_ids(); +} +inline const ::google::protobuf::RepeatedPtrField& +PrimaryCorrelation::_internal_secondary_entity_ids() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.secondary_entity_ids_; +} +inline ::google::protobuf::RepeatedPtrField* +PrimaryCorrelation::_internal_mutable_secondary_entity_ids() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.secondary_entity_ids_; +} + +// ------------------------------------------------------------------- + +// SecondaryCorrelation + +// string primary_entity_id = 1 [json_name = "primaryEntityId"]; +inline void SecondaryCorrelation::clear_primary_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.ClearToEmpty(); +} +inline const std::string& SecondaryCorrelation::primary_entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.SecondaryCorrelation.primary_entity_id) + return _internal_primary_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void SecondaryCorrelation::set_primary_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.SecondaryCorrelation.primary_entity_id) +} +inline std::string* SecondaryCorrelation::mutable_primary_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_primary_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.SecondaryCorrelation.primary_entity_id) + return _s; +} +inline const std::string& SecondaryCorrelation::_internal_primary_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.primary_entity_id_.Get(); +} +inline void SecondaryCorrelation::_internal_set_primary_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.Set(value, GetArena()); +} +inline std::string* SecondaryCorrelation::_internal_mutable_primary_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.primary_entity_id_.Mutable( GetArena()); +} +inline std::string* SecondaryCorrelation::release_primary_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.SecondaryCorrelation.primary_entity_id) + return _impl_.primary_entity_id_.Release(); +} +inline void SecondaryCorrelation::set_allocated_primary_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.primary_entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.primary_entity_id_.IsDefault()) { + _impl_.primary_entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.SecondaryCorrelation.primary_entity_id) +} + +// .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; +inline bool SecondaryCorrelation::has_metadata() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr); + return value; +} +inline void SecondaryCorrelation::clear_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& SecondaryCorrelation::_internal_metadata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::CorrelationMetadata* p = _impl_.metadata_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_CorrelationMetadata_default_instance_); +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& SecondaryCorrelation::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.SecondaryCorrelation.metadata) + return _internal_metadata(); +} +inline void SecondaryCorrelation::unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_); + } + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.SecondaryCorrelation.metadata) +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* SecondaryCorrelation::release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* released = _impl_.metadata_; + _impl_.metadata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* SecondaryCorrelation::unsafe_arena_release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.SecondaryCorrelation.metadata) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* temp = _impl_.metadata_; + _impl_.metadata_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* SecondaryCorrelation::_internal_mutable_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(GetArena()); + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(p); + } + return _impl_.metadata_; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* SecondaryCorrelation::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* _msg = _internal_mutable_metadata(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.SecondaryCorrelation.metadata) + return _msg; +} +inline void SecondaryCorrelation::set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.metadata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.SecondaryCorrelation.metadata) +} + +// ------------------------------------------------------------------- + +// CorrelationMembership + +// string correlation_set_id = 1 [json_name = "correlationSetId"]; +inline void CorrelationMembership::clear_correlation_set_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.correlation_set_id_.ClearToEmpty(); +} +inline const std::string& CorrelationMembership::correlation_set_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMembership.correlation_set_id) + return _internal_correlation_set_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CorrelationMembership::set_correlation_set_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.correlation_set_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationMembership.correlation_set_id) +} +inline std::string* CorrelationMembership::mutable_correlation_set_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_correlation_set_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CorrelationMembership.correlation_set_id) + return _s; +} +inline const std::string& CorrelationMembership::_internal_correlation_set_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.correlation_set_id_.Get(); +} +inline void CorrelationMembership::_internal_set_correlation_set_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.correlation_set_id_.Set(value, GetArena()); +} +inline std::string* CorrelationMembership::_internal_mutable_correlation_set_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.correlation_set_id_.Mutable( GetArena()); +} +inline std::string* CorrelationMembership::release_correlation_set_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CorrelationMembership.correlation_set_id) + return _impl_.correlation_set_id_.Release(); +} +inline void CorrelationMembership::set_allocated_correlation_set_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.correlation_set_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.correlation_set_id_.IsDefault()) { + _impl_.correlation_set_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CorrelationMembership.correlation_set_id) +} + +// .anduril.entitymanager.v1.PrimaryMembership primary = 2 [json_name = "primary"]; +inline bool CorrelationMembership::has_primary() const { + return membership_case() == kPrimary; +} +inline bool CorrelationMembership::_internal_has_primary() const { + return membership_case() == kPrimary; +} +inline void CorrelationMembership::set_has_primary() { + _impl_._oneof_case_[0] = kPrimary; +} +inline void CorrelationMembership::clear_primary() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (membership_case() == kPrimary) { + if (GetArena() == nullptr) { + delete _impl_.membership_.primary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.membership_.primary_); + } + clear_has_membership(); + } +} +inline ::anduril::entitymanager::v1::PrimaryMembership* CorrelationMembership::release_primary() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CorrelationMembership.primary) + if (membership_case() == kPrimary) { + clear_has_membership(); + auto* temp = _impl_.membership_.primary_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.membership_.primary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::PrimaryMembership& CorrelationMembership::_internal_primary() const { + return membership_case() == kPrimary ? *_impl_.membership_.primary_ : reinterpret_cast<::anduril::entitymanager::v1::PrimaryMembership&>(::anduril::entitymanager::v1::_PrimaryMembership_default_instance_); +} +inline const ::anduril::entitymanager::v1::PrimaryMembership& CorrelationMembership::primary() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMembership.primary) + return _internal_primary(); +} +inline ::anduril::entitymanager::v1::PrimaryMembership* CorrelationMembership::unsafe_arena_release_primary() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.CorrelationMembership.primary) + if (membership_case() == kPrimary) { + clear_has_membership(); + auto* temp = _impl_.membership_.primary_; + _impl_.membership_.primary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void CorrelationMembership::unsafe_arena_set_allocated_primary(::anduril::entitymanager::v1::PrimaryMembership* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_membership(); + if (value) { + set_has_primary(); + _impl_.membership_.primary_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.CorrelationMembership.primary) +} +inline ::anduril::entitymanager::v1::PrimaryMembership* CorrelationMembership::_internal_mutable_primary() { + if (membership_case() != kPrimary) { + clear_membership(); + set_has_primary(); + _impl_.membership_.primary_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PrimaryMembership>(GetArena()); + } + return _impl_.membership_.primary_; +} +inline ::anduril::entitymanager::v1::PrimaryMembership* CorrelationMembership::mutable_primary() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::PrimaryMembership* _msg = _internal_mutable_primary(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CorrelationMembership.primary) + return _msg; +} + +// .anduril.entitymanager.v1.NonPrimaryMembership non_primary = 3 [json_name = "nonPrimary"]; +inline bool CorrelationMembership::has_non_primary() const { + return membership_case() == kNonPrimary; +} +inline bool CorrelationMembership::_internal_has_non_primary() const { + return membership_case() == kNonPrimary; +} +inline void CorrelationMembership::set_has_non_primary() { + _impl_._oneof_case_[0] = kNonPrimary; +} +inline void CorrelationMembership::clear_non_primary() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (membership_case() == kNonPrimary) { + if (GetArena() == nullptr) { + delete _impl_.membership_.non_primary_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.membership_.non_primary_); + } + clear_has_membership(); + } +} +inline ::anduril::entitymanager::v1::NonPrimaryMembership* CorrelationMembership::release_non_primary() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CorrelationMembership.non_primary) + if (membership_case() == kNonPrimary) { + clear_has_membership(); + auto* temp = _impl_.membership_.non_primary_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.membership_.non_primary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::NonPrimaryMembership& CorrelationMembership::_internal_non_primary() const { + return membership_case() == kNonPrimary ? *_impl_.membership_.non_primary_ : reinterpret_cast<::anduril::entitymanager::v1::NonPrimaryMembership&>(::anduril::entitymanager::v1::_NonPrimaryMembership_default_instance_); +} +inline const ::anduril::entitymanager::v1::NonPrimaryMembership& CorrelationMembership::non_primary() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMembership.non_primary) + return _internal_non_primary(); +} +inline ::anduril::entitymanager::v1::NonPrimaryMembership* CorrelationMembership::unsafe_arena_release_non_primary() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.CorrelationMembership.non_primary) + if (membership_case() == kNonPrimary) { + clear_has_membership(); + auto* temp = _impl_.membership_.non_primary_; + _impl_.membership_.non_primary_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void CorrelationMembership::unsafe_arena_set_allocated_non_primary(::anduril::entitymanager::v1::NonPrimaryMembership* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_membership(); + if (value) { + set_has_non_primary(); + _impl_.membership_.non_primary_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.CorrelationMembership.non_primary) +} +inline ::anduril::entitymanager::v1::NonPrimaryMembership* CorrelationMembership::_internal_mutable_non_primary() { + if (membership_case() != kNonPrimary) { + clear_membership(); + set_has_non_primary(); + _impl_.membership_.non_primary_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::NonPrimaryMembership>(GetArena()); + } + return _impl_.membership_.non_primary_; +} +inline ::anduril::entitymanager::v1::NonPrimaryMembership* CorrelationMembership::mutable_non_primary() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::NonPrimaryMembership* _msg = _internal_mutable_non_primary(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CorrelationMembership.non_primary) + return _msg; +} + +// .anduril.entitymanager.v1.CorrelationMetadata metadata = 4 [json_name = "metadata"]; +inline bool CorrelationMembership::has_metadata() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr); + return value; +} +inline void CorrelationMembership::clear_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& CorrelationMembership::_internal_metadata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::CorrelationMetadata* p = _impl_.metadata_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_CorrelationMetadata_default_instance_); +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& CorrelationMembership::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMembership.metadata) + return _internal_metadata(); +} +inline void CorrelationMembership::unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_); + } + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.CorrelationMembership.metadata) +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* CorrelationMembership::release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* released = _impl_.metadata_; + _impl_.metadata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* CorrelationMembership::unsafe_arena_release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CorrelationMembership.metadata) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* temp = _impl_.metadata_; + _impl_.metadata_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* CorrelationMembership::_internal_mutable_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(GetArena()); + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(p); + } + return _impl_.metadata_; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* CorrelationMembership::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* _msg = _internal_mutable_metadata(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CorrelationMembership.metadata) + return _msg; +} +inline void CorrelationMembership::set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.metadata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CorrelationMembership.metadata) +} + +inline bool CorrelationMembership::has_membership() const { + return membership_case() != MEMBERSHIP_NOT_SET; +} +inline void CorrelationMembership::clear_has_membership() { + _impl_._oneof_case_[0] = MEMBERSHIP_NOT_SET; +} +inline CorrelationMembership::MembershipCase CorrelationMembership::membership_case() const { + return CorrelationMembership::MembershipCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// PrimaryMembership + +// ------------------------------------------------------------------- + +// NonPrimaryMembership + +// ------------------------------------------------------------------- + +// Decorrelation + +// .anduril.entitymanager.v1.DecorrelatedAll all = 1 [json_name = "all"]; +inline bool Decorrelation::has_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.all_ != nullptr); + return value; +} +inline void Decorrelation::clear_all() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.all_ != nullptr) _impl_.all_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::DecorrelatedAll& Decorrelation::_internal_all() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::DecorrelatedAll* p = _impl_.all_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_DecorrelatedAll_default_instance_); +} +inline const ::anduril::entitymanager::v1::DecorrelatedAll& Decorrelation::all() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Decorrelation.all) + return _internal_all(); +} +inline void Decorrelation::unsafe_arena_set_allocated_all(::anduril::entitymanager::v1::DecorrelatedAll* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.all_); + } + _impl_.all_ = reinterpret_cast<::anduril::entitymanager::v1::DecorrelatedAll*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Decorrelation.all) +} +inline ::anduril::entitymanager::v1::DecorrelatedAll* Decorrelation::release_all() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::DecorrelatedAll* released = _impl_.all_; + _impl_.all_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::DecorrelatedAll* Decorrelation::unsafe_arena_release_all() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Decorrelation.all) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::DecorrelatedAll* temp = _impl_.all_; + _impl_.all_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::DecorrelatedAll* Decorrelation::_internal_mutable_all() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.all_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::DecorrelatedAll>(GetArena()); + _impl_.all_ = reinterpret_cast<::anduril::entitymanager::v1::DecorrelatedAll*>(p); + } + return _impl_.all_; +} +inline ::anduril::entitymanager::v1::DecorrelatedAll* Decorrelation::mutable_all() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::DecorrelatedAll* _msg = _internal_mutable_all(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Decorrelation.all) + return _msg; +} +inline void Decorrelation::set_allocated_all(::anduril::entitymanager::v1::DecorrelatedAll* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.all_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.all_ = reinterpret_cast<::anduril::entitymanager::v1::DecorrelatedAll*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Decorrelation.all) +} + +// repeated .anduril.entitymanager.v1.DecorrelatedSingle decorrelated_entities = 2 [json_name = "decorrelatedEntities"]; +inline int Decorrelation::_internal_decorrelated_entities_size() const { + return _internal_decorrelated_entities().size(); +} +inline int Decorrelation::decorrelated_entities_size() const { + return _internal_decorrelated_entities_size(); +} +inline void Decorrelation::clear_decorrelated_entities() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.decorrelated_entities_.Clear(); +} +inline ::anduril::entitymanager::v1::DecorrelatedSingle* Decorrelation::mutable_decorrelated_entities(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Decorrelation.decorrelated_entities) + return _internal_mutable_decorrelated_entities()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>* Decorrelation::mutable_decorrelated_entities() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Decorrelation.decorrelated_entities) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_decorrelated_entities(); +} +inline const ::anduril::entitymanager::v1::DecorrelatedSingle& Decorrelation::decorrelated_entities(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Decorrelation.decorrelated_entities) + return _internal_decorrelated_entities().Get(index); +} +inline ::anduril::entitymanager::v1::DecorrelatedSingle* Decorrelation::add_decorrelated_entities() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::DecorrelatedSingle* _add = _internal_mutable_decorrelated_entities()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Decorrelation.decorrelated_entities) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>& Decorrelation::decorrelated_entities() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Decorrelation.decorrelated_entities) + return _internal_decorrelated_entities(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>& +Decorrelation::_internal_decorrelated_entities() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.decorrelated_entities_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::DecorrelatedSingle>* +Decorrelation::_internal_mutable_decorrelated_entities() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.decorrelated_entities_; +} + +// ------------------------------------------------------------------- + +// DecorrelatedAll + +// .anduril.entitymanager.v1.CorrelationMetadata metadata = 1 [json_name = "metadata"]; +inline bool DecorrelatedAll::has_metadata() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr); + return value; +} +inline void DecorrelatedAll::clear_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& DecorrelatedAll::_internal_metadata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::CorrelationMetadata* p = _impl_.metadata_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_CorrelationMetadata_default_instance_); +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& DecorrelatedAll::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.DecorrelatedAll.metadata) + return _internal_metadata(); +} +inline void DecorrelatedAll::unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_); + } + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.DecorrelatedAll.metadata) +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedAll::release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* released = _impl_.metadata_; + _impl_.metadata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedAll::unsafe_arena_release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.DecorrelatedAll.metadata) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* temp = _impl_.metadata_; + _impl_.metadata_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedAll::_internal_mutable_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(GetArena()); + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(p); + } + return _impl_.metadata_; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedAll::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* _msg = _internal_mutable_metadata(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.DecorrelatedAll.metadata) + return _msg; +} +inline void DecorrelatedAll::set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.metadata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.DecorrelatedAll.metadata) +} + +// ------------------------------------------------------------------- + +// DecorrelatedSingle + +// string entity_id = 1 [json_name = "entityId"]; +inline void DecorrelatedSingle::clear_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.ClearToEmpty(); +} +inline const std::string& DecorrelatedSingle::entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.DecorrelatedSingle.entity_id) + return _internal_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void DecorrelatedSingle::set_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.DecorrelatedSingle.entity_id) +} +inline std::string* DecorrelatedSingle::mutable_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.DecorrelatedSingle.entity_id) + return _s; +} +inline const std::string& DecorrelatedSingle::_internal_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.entity_id_.Get(); +} +inline void DecorrelatedSingle::_internal_set_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(value, GetArena()); +} +inline std::string* DecorrelatedSingle::_internal_mutable_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.entity_id_.Mutable( GetArena()); +} +inline std::string* DecorrelatedSingle::release_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.DecorrelatedSingle.entity_id) + return _impl_.entity_id_.Release(); +} +inline void DecorrelatedSingle::set_allocated_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entity_id_.IsDefault()) { + _impl_.entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.DecorrelatedSingle.entity_id) +} + +// .anduril.entitymanager.v1.CorrelationMetadata metadata = 2 [json_name = "metadata"]; +inline bool DecorrelatedSingle::has_metadata() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr); + return value; +} +inline void DecorrelatedSingle::clear_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& DecorrelatedSingle::_internal_metadata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::CorrelationMetadata* p = _impl_.metadata_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_CorrelationMetadata_default_instance_); +} +inline const ::anduril::entitymanager::v1::CorrelationMetadata& DecorrelatedSingle::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.DecorrelatedSingle.metadata) + return _internal_metadata(); +} +inline void DecorrelatedSingle::unsafe_arena_set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_); + } + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.DecorrelatedSingle.metadata) +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedSingle::release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* released = _impl_.metadata_; + _impl_.metadata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedSingle::unsafe_arena_release_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.DecorrelatedSingle.metadata) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* temp = _impl_.metadata_; + _impl_.metadata_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedSingle::_internal_mutable_metadata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.metadata_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::CorrelationMetadata>(GetArena()); + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(p); + } + return _impl_.metadata_; +} +inline ::anduril::entitymanager::v1::CorrelationMetadata* DecorrelatedSingle::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::CorrelationMetadata* _msg = _internal_mutable_metadata(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.DecorrelatedSingle.metadata) + return _msg; +} +inline void DecorrelatedSingle::set_allocated_metadata(::anduril::entitymanager::v1::CorrelationMetadata* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.metadata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.metadata_ = reinterpret_cast<::anduril::entitymanager::v1::CorrelationMetadata*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.DecorrelatedSingle.metadata) +} + +// ------------------------------------------------------------------- + +// CorrelationMetadata + +// .anduril.entitymanager.v1.Provenance provenance = 1 [json_name = "provenance"]; +inline bool CorrelationMetadata::has_provenance() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.provenance_ != nullptr); + return value; +} +inline void CorrelationMetadata::clear_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ != nullptr) _impl_.provenance_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Provenance& CorrelationMetadata::_internal_provenance() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Provenance* p = _impl_.provenance_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Provenance_default_instance_); +} +inline const ::anduril::entitymanager::v1::Provenance& CorrelationMetadata::provenance() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMetadata.provenance) + return _internal_provenance(); +} +inline void CorrelationMetadata::unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.CorrelationMetadata.provenance) +} +inline ::anduril::entitymanager::v1::Provenance* CorrelationMetadata::release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Provenance* released = _impl_.provenance_; + _impl_.provenance_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Provenance* CorrelationMetadata::unsafe_arena_release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CorrelationMetadata.provenance) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Provenance* temp = _impl_.provenance_; + _impl_.provenance_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Provenance* CorrelationMetadata::_internal_mutable_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Provenance>(GetArena()); + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(p); + } + return _impl_.provenance_; +} +inline ::anduril::entitymanager::v1::Provenance* CorrelationMetadata::mutable_provenance() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Provenance* _msg = _internal_mutable_provenance(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CorrelationMetadata.provenance) + return _msg; +} +inline void CorrelationMetadata::set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.provenance_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CorrelationMetadata.provenance) +} + +// .anduril.entitymanager.v1.CorrelationReplicationMode replication_mode = 2 [json_name = "replicationMode"]; +inline void CorrelationMetadata::clear_replication_mode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.replication_mode_ = 0; +} +inline ::anduril::entitymanager::v1::CorrelationReplicationMode CorrelationMetadata::replication_mode() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMetadata.replication_mode) + return _internal_replication_mode(); +} +inline void CorrelationMetadata::set_replication_mode(::anduril::entitymanager::v1::CorrelationReplicationMode value) { + _internal_set_replication_mode(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationMetadata.replication_mode) +} +inline ::anduril::entitymanager::v1::CorrelationReplicationMode CorrelationMetadata::_internal_replication_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::CorrelationReplicationMode>(_impl_.replication_mode_); +} +inline void CorrelationMetadata::_internal_set_replication_mode(::anduril::entitymanager::v1::CorrelationReplicationMode value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.replication_mode_ = value; +} + +// .anduril.entitymanager.v1.CorrelationType type = 3 [json_name = "type"]; +inline void CorrelationMetadata::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::anduril::entitymanager::v1::CorrelationType CorrelationMetadata::type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CorrelationMetadata.type) + return _internal_type(); +} +inline void CorrelationMetadata::set_type(::anduril::entitymanager::v1::CorrelationType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CorrelationMetadata.type) +} +inline ::anduril::entitymanager::v1::CorrelationType CorrelationMetadata::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::CorrelationType>(_impl_.type_); +} +inline void CorrelationMetadata::_internal_set_type(::anduril::entitymanager::v1::CorrelationType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::CorrelationType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::CorrelationType>() { + return ::anduril::entitymanager::v1::CorrelationType_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::CorrelationReplicationMode> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::CorrelationReplicationMode>() { + return ::anduril::entitymanager::v1::CorrelationReplicationMode_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.cc new file mode 100644 index 0000000..8dead77 --- /dev/null +++ b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.cc @@ -0,0 +1,286 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto + +#include "anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h" +#include "anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +static const char* EntityManagerAPI_method_names[] = { + "/anduril.entitymanager.v1.EntityManagerAPI/PublishEntity", + "/anduril.entitymanager.v1.EntityManagerAPI/PublishEntities", + "/anduril.entitymanager.v1.EntityManagerAPI/GetEntity", + "/anduril.entitymanager.v1.EntityManagerAPI/OverrideEntity", + "/anduril.entitymanager.v1.EntityManagerAPI/RemoveEntityOverride", + "/anduril.entitymanager.v1.EntityManagerAPI/StreamEntityComponents", +}; + +std::unique_ptr< EntityManagerAPI::Stub> EntityManagerAPI::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< EntityManagerAPI::Stub> stub(new EntityManagerAPI::Stub(channel, options)); + return stub; +} + +EntityManagerAPI::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) + : channel_(channel), rpcmethod_PublishEntity_(EntityManagerAPI_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_PublishEntities_(EntityManagerAPI_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) + , rpcmethod_GetEntity_(EntityManagerAPI_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_OverrideEntity_(EntityManagerAPI_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RemoveEntityOverride_(EntityManagerAPI_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StreamEntityComponents_(EntityManagerAPI_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + {} + +::grpc::Status EntityManagerAPI::Stub::PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::anduril::entitymanager::v1::PublishEntityResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_PublishEntity_, context, request, response); +} + +void EntityManagerAPI::Stub::async::PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_PublishEntity_, context, request, response, std::move(f)); +} + +void EntityManagerAPI::Stub::async::PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_PublishEntity_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>* EntityManagerAPI::Stub::PrepareAsyncPublishEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::anduril::entitymanager::v1::PublishEntityResponse, ::anduril::entitymanager::v1::PublishEntityRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_PublishEntity_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>* EntityManagerAPI::Stub::AsyncPublishEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncPublishEntityRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::ClientWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>* EntityManagerAPI::Stub::PublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) { + return ::grpc::internal::ClientWriterFactory< ::anduril::entitymanager::v1::PublishEntitiesRequest>::Create(channel_.get(), rpcmethod_PublishEntities_, context, response); +} + +void EntityManagerAPI::Stub::async::PublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::ClientWriteReactor< ::anduril::entitymanager::v1::PublishEntitiesRequest>* reactor) { + ::grpc::internal::ClientCallbackWriterFactory< ::anduril::entitymanager::v1::PublishEntitiesRequest>::Create(stub_->channel_.get(), stub_->rpcmethod_PublishEntities_, context, response, reactor); +} + +::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>* EntityManagerAPI::Stub::AsyncPublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncWriterFactory< ::anduril::entitymanager::v1::PublishEntitiesRequest>::Create(channel_.get(), cq, rpcmethod_PublishEntities_, context, response, true, tag); +} + +::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>* EntityManagerAPI::Stub::PrepareAsyncPublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncWriterFactory< ::anduril::entitymanager::v1::PublishEntitiesRequest>::Create(channel_.get(), cq, rpcmethod_PublishEntities_, context, response, false, nullptr); +} + +::grpc::Status EntityManagerAPI::Stub::GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::anduril::entitymanager::v1::GetEntityResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetEntity_, context, request, response); +} + +void EntityManagerAPI::Stub::async::GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetEntity_, context, request, response, std::move(f)); +} + +void EntityManagerAPI::Stub::async::GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetEntity_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>* EntityManagerAPI::Stub::PrepareAsyncGetEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::anduril::entitymanager::v1::GetEntityResponse, ::anduril::entitymanager::v1::GetEntityRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetEntity_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>* EntityManagerAPI::Stub::AsyncGetEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetEntityRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status EntityManagerAPI::Stub::OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::anduril::entitymanager::v1::OverrideEntityResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_OverrideEntity_, context, request, response); +} + +void EntityManagerAPI::Stub::async::OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_OverrideEntity_, context, request, response, std::move(f)); +} + +void EntityManagerAPI::Stub::async::OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_OverrideEntity_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>* EntityManagerAPI::Stub::PrepareAsyncOverrideEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::anduril::entitymanager::v1::OverrideEntityResponse, ::anduril::entitymanager::v1::OverrideEntityRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_OverrideEntity_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>* EntityManagerAPI::Stub::AsyncOverrideEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncOverrideEntityRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status EntityManagerAPI::Stub::RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_RemoveEntityOverride_, context, request, response); +} + +void EntityManagerAPI::Stub::async::RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_RemoveEntityOverride_, context, request, response, std::move(f)); +} + +void EntityManagerAPI::Stub::async::RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_RemoveEntityOverride_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* EntityManagerAPI::Stub::PrepareAsyncRemoveEntityOverrideRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse, ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_RemoveEntityOverride_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* EntityManagerAPI::Stub::AsyncRemoveEntityOverrideRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncRemoveEntityOverrideRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::ClientReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* EntityManagerAPI::Stub::StreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request) { + return ::grpc::internal::ClientReaderFactory< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>::Create(channel_.get(), rpcmethod_StreamEntityComponents_, context, request); +} + +void EntityManagerAPI::Stub::async::StreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request, ::grpc::ClientReadReactor< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_StreamEntityComponents_, context, request, reactor); +} + +::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* EntityManagerAPI::Stub::AsyncStreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>::Create(channel_.get(), cq, rpcmethod_StreamEntityComponents_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* EntityManagerAPI::Stub::PrepareAsyncStreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>::Create(channel_.get(), cq, rpcmethod_StreamEntityComponents_, context, request, false, nullptr); +} + +EntityManagerAPI::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + EntityManagerAPI_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< EntityManagerAPI::Service, ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](EntityManagerAPI::Service* service, + ::grpc::ServerContext* ctx, + const ::anduril::entitymanager::v1::PublishEntityRequest* req, + ::anduril::entitymanager::v1::PublishEntityResponse* resp) { + return service->PublishEntity(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + EntityManagerAPI_method_names[1], + ::grpc::internal::RpcMethod::CLIENT_STREAMING, + new ::grpc::internal::ClientStreamingHandler< EntityManagerAPI::Service, ::anduril::entitymanager::v1::PublishEntitiesRequest, ::anduril::entitymanager::v1::PublishEntitiesResponse>( + [](EntityManagerAPI::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReader<::anduril::entitymanager::v1::PublishEntitiesRequest>* reader, + ::anduril::entitymanager::v1::PublishEntitiesResponse* resp) { + return service->PublishEntities(ctx, reader, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + EntityManagerAPI_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< EntityManagerAPI::Service, ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](EntityManagerAPI::Service* service, + ::grpc::ServerContext* ctx, + const ::anduril::entitymanager::v1::GetEntityRequest* req, + ::anduril::entitymanager::v1::GetEntityResponse* resp) { + return service->GetEntity(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + EntityManagerAPI_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< EntityManagerAPI::Service, ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](EntityManagerAPI::Service* service, + ::grpc::ServerContext* ctx, + const ::anduril::entitymanager::v1::OverrideEntityRequest* req, + ::anduril::entitymanager::v1::OverrideEntityResponse* resp) { + return service->OverrideEntity(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + EntityManagerAPI_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< EntityManagerAPI::Service, ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](EntityManagerAPI::Service* service, + ::grpc::ServerContext* ctx, + const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* req, + ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* resp) { + return service->RemoveEntityOverride(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + EntityManagerAPI_method_names[5], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< EntityManagerAPI::Service, ::anduril::entitymanager::v1::StreamEntityComponentsRequest, ::anduril::entitymanager::v1::StreamEntityComponentsResponse>( + [](EntityManagerAPI::Service* service, + ::grpc::ServerContext* ctx, + const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* req, + ::grpc::ServerWriter<::anduril::entitymanager::v1::StreamEntityComponentsResponse>* writer) { + return service->StreamEntityComponents(ctx, req, writer); + }, this))); +} + +EntityManagerAPI::Service::~Service() { +} + +::grpc::Status EntityManagerAPI::Service::PublishEntity(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status EntityManagerAPI::Service::PublishEntities(::grpc::ServerContext* context, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* reader, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) { + (void) context; + (void) reader; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status EntityManagerAPI::Service::GetEntity(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status EntityManagerAPI::Service::OverrideEntity(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status EntityManagerAPI::Service::RemoveEntityOverride(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status EntityManagerAPI::Service::StreamEntityComponents(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.h b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.h new file mode 100644 index 0000000..d00778e --- /dev/null +++ b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.grpc.pb.h @@ -0,0 +1,1064 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// Entity Manager manages the lifecycle of the entities that comprise the common operational picture (COP). +// +// Every object in the COP is represented as an "Entity." Each Entity is essentially an ID, with a lifecycle +// and a collection of data components. Each data component is a separate protobuf message definition. +// +// Entity Manager provides a way to query the currently live set of entities within a set of filter constraints, +// as well as a limited set of management APIs to change the grouping or relationships between entities. +class EntityManagerAPI final { + public: + static constexpr char const* service_full_name() { + return "anduril.entitymanager.v1.EntityManagerAPI"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + // Create or update an entity and get a response confirming whether the Entity Manager API succesfully processes + // the entity. Ideal for testing environments. + // When publishing an entity, only your integration can modify or delete that entity; other sources, such as the + // UI or other integrations, can't. If you're pushing entity updates so fast that your publish task can't keep + // up with your update rate (a rough estimate of >= 1 Hz), use the PublishEntities request instead. + virtual ::grpc::Status PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::anduril::entitymanager::v1::PublishEntityResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::PublishEntityResponse>> AsyncPublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::PublishEntityResponse>>(AsyncPublishEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::PublishEntityResponse>> PrepareAsyncPublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::PublishEntityResponse>>(PrepareAsyncPublishEntityRaw(context, request, cq)); + } + // Create or update one or more entities rapidly using PublishEntities, which doesn't return error messages + // for invalid entities or provide server feedback. When publishing entities, only your integration can + // modify or delete those entities; other sources, such as the UI or other integrations, can't. + // When you use PublishEntities, you gain higher throughput at the expense of receiving no server responses or + // validation. In addition, due to gRPC stream mechanics, you risk losing messages queued on the outgoing gRPC + // buffer if the stream connection is lost prior to the messages being sent. If you need validation responses, + // are developing in testing environments, or have lower entity update rates, use PublishEntity. + std::unique_ptr< ::grpc::ClientWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>> PublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) { + return std::unique_ptr< ::grpc::ClientWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>>(PublishEntitiesRaw(context, response)); + } + std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>> AsyncPublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>>(AsyncPublishEntitiesRaw(context, response, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>> PrepareAsyncPublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>>(PrepareAsyncPublishEntitiesRaw(context, response, cq)); + } + // Get an entity using its entityId. + virtual ::grpc::Status GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::anduril::entitymanager::v1::GetEntityResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::GetEntityResponse>> AsyncGetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::GetEntityResponse>>(AsyncGetEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::GetEntityResponse>> PrepareAsyncGetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::GetEntityResponse>>(PrepareAsyncGetEntityRaw(context, request, cq)); + } + // Override an Entity Component. An override is a definitive change to entity data. Any authorized user of service + // can override overridable components on any entity. Only fields marked with overridable can be overridden. + // When setting an override, the user or service setting the override is asserting that they are certain of the change + // and the truth behind it. + virtual ::grpc::Status OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::anduril::entitymanager::v1::OverrideEntityResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::OverrideEntityResponse>> AsyncOverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::OverrideEntityResponse>>(AsyncOverrideEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::OverrideEntityResponse>> PrepareAsyncOverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::OverrideEntityResponse>>(PrepareAsyncOverrideEntityRaw(context, request, cq)); + } + // Remove an override for an Entity component. + virtual ::grpc::Status RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>> AsyncRemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>>(AsyncRemoveEntityOverrideRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>> PrepareAsyncRemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>>(PrepareAsyncRemoveEntityOverrideRaw(context, request, cq)); + } + // Returns a stream of entities with specified components populated. + std::unique_ptr< ::grpc::ClientReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>> StreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>>(StreamEntityComponentsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>> AsyncStreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>>(AsyncStreamEntityComponentsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>> PrepareAsyncStreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>>(PrepareAsyncStreamEntityComponentsRaw(context, request, cq)); + } + class async_interface { + public: + virtual ~async_interface() {} + // Create or update an entity and get a response confirming whether the Entity Manager API succesfully processes + // the entity. Ideal for testing environments. + // When publishing an entity, only your integration can modify or delete that entity; other sources, such as the + // UI or other integrations, can't. If you're pushing entity updates so fast that your publish task can't keep + // up with your update rate (a rough estimate of >= 1 Hz), use the PublishEntities request instead. + virtual void PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response, std::function) = 0; + virtual void PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Create or update one or more entities rapidly using PublishEntities, which doesn't return error messages + // for invalid entities or provide server feedback. When publishing entities, only your integration can + // modify or delete those entities; other sources, such as the UI or other integrations, can't. + // When you use PublishEntities, you gain higher throughput at the expense of receiving no server responses or + // validation. In addition, due to gRPC stream mechanics, you risk losing messages queued on the outgoing gRPC + // buffer if the stream connection is lost prior to the messages being sent. If you need validation responses, + // are developing in testing environments, or have lower entity update rates, use PublishEntity. + virtual void PublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::ClientWriteReactor< ::anduril::entitymanager::v1::PublishEntitiesRequest>* reactor) = 0; + // Get an entity using its entityId. + virtual void GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response, std::function) = 0; + virtual void GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Override an Entity Component. An override is a definitive change to entity data. Any authorized user of service + // can override overridable components on any entity. Only fields marked with overridable can be overridden. + // When setting an override, the user or service setting the override is asserting that they are certain of the change + // and the truth behind it. + virtual void OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response, std::function) = 0; + virtual void OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Remove an override for an Entity component. + virtual void RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response, std::function) = 0; + virtual void RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Returns a stream of entities with specified components populated. + virtual void StreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request, ::grpc::ClientReadReactor< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* reactor) = 0; + }; + typedef class async_interface experimental_async_interface; + virtual class async_interface* async() { return nullptr; } + class async_interface* experimental_async() { return async(); } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::PublishEntityResponse>* AsyncPublishEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::PublishEntityResponse>* PrepareAsyncPublishEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>* PublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) = 0; + virtual ::grpc::ClientAsyncWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>* AsyncPublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncWriterInterface< ::anduril::entitymanager::v1::PublishEntitiesRequest>* PrepareAsyncPublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::GetEntityResponse>* AsyncGetEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::GetEntityResponse>* PrepareAsyncGetEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::OverrideEntityResponse>* AsyncOverrideEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::OverrideEntityResponse>* PrepareAsyncOverrideEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* AsyncRemoveEntityOverrideRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* PrepareAsyncRemoveEntityOverrideRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* StreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* AsyncStreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* PrepareAsyncStreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + ::grpc::Status PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::anduril::entitymanager::v1::PublishEntityResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>> AsyncPublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>>(AsyncPublishEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>> PrepareAsyncPublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>>(PrepareAsyncPublishEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>> PublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) { + return std::unique_ptr< ::grpc::ClientWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>>(PublishEntitiesRaw(context, response)); + } + std::unique_ptr< ::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>> AsyncPublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>>(AsyncPublishEntitiesRaw(context, response, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>> PrepareAsyncPublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>>(PrepareAsyncPublishEntitiesRaw(context, response, cq)); + } + ::grpc::Status GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::anduril::entitymanager::v1::GetEntityResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>> AsyncGetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>>(AsyncGetEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>> PrepareAsyncGetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>>(PrepareAsyncGetEntityRaw(context, request, cq)); + } + ::grpc::Status OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::anduril::entitymanager::v1::OverrideEntityResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>> AsyncOverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>>(AsyncOverrideEntityRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>> PrepareAsyncOverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>>(PrepareAsyncOverrideEntityRaw(context, request, cq)); + } + ::grpc::Status RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>> AsyncRemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>>(AsyncRemoveEntityOverrideRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>> PrepareAsyncRemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>>(PrepareAsyncRemoveEntityOverrideRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>> StreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request) { + return std::unique_ptr< ::grpc::ClientReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>>(StreamEntityComponentsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>> AsyncStreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>>(AsyncStreamEntityComponentsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>> PrepareAsyncStreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>>(PrepareAsyncStreamEntityComponentsRaw(context, request, cq)); + } + class async final : + public StubInterface::async_interface { + public: + void PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response, std::function) override; + void PublishEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void PublishEntities(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::ClientWriteReactor< ::anduril::entitymanager::v1::PublishEntitiesRequest>* reactor) override; + void GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response, std::function) override; + void GetEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response, std::function) override; + void OverrideEntity(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response, std::function) override; + void RemoveEntityOverride(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StreamEntityComponents(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request, ::grpc::ClientReadReactor< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* reactor) override; + private: + friend class Stub; + explicit async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class async* async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>* AsyncPublishEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::PublishEntityResponse>* PrepareAsyncPublishEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>* PublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) override; + ::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>* AsyncPublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncWriter< ::anduril::entitymanager::v1::PublishEntitiesRequest>* PrepareAsyncPublishEntitiesRaw(::grpc::ClientContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>* AsyncGetEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::GetEntityResponse>* PrepareAsyncGetEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::GetEntityRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>* AsyncOverrideEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::OverrideEntityResponse>* PrepareAsyncOverrideEntityRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* AsyncRemoveEntityOverrideRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* PrepareAsyncRemoveEntityOverrideRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* StreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request) override; + ::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* AsyncStreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* PrepareAsyncStreamEntityComponentsRaw(::grpc::ClientContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_PublishEntity_; + const ::grpc::internal::RpcMethod rpcmethod_PublishEntities_; + const ::grpc::internal::RpcMethod rpcmethod_GetEntity_; + const ::grpc::internal::RpcMethod rpcmethod_OverrideEntity_; + const ::grpc::internal::RpcMethod rpcmethod_RemoveEntityOverride_; + const ::grpc::internal::RpcMethod rpcmethod_StreamEntityComponents_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + // Create or update an entity and get a response confirming whether the Entity Manager API succesfully processes + // the entity. Ideal for testing environments. + // When publishing an entity, only your integration can modify or delete that entity; other sources, such as the + // UI or other integrations, can't. If you're pushing entity updates so fast that your publish task can't keep + // up with your update rate (a rough estimate of >= 1 Hz), use the PublishEntities request instead. + virtual ::grpc::Status PublishEntity(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response); + // Create or update one or more entities rapidly using PublishEntities, which doesn't return error messages + // for invalid entities or provide server feedback. When publishing entities, only your integration can + // modify or delete those entities; other sources, such as the UI or other integrations, can't. + // When you use PublishEntities, you gain higher throughput at the expense of receiving no server responses or + // validation. In addition, due to gRPC stream mechanics, you risk losing messages queued on the outgoing gRPC + // buffer if the stream connection is lost prior to the messages being sent. If you need validation responses, + // are developing in testing environments, or have lower entity update rates, use PublishEntity. + virtual ::grpc::Status PublishEntities(::grpc::ServerContext* context, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* reader, ::anduril::entitymanager::v1::PublishEntitiesResponse* response); + // Get an entity using its entityId. + virtual ::grpc::Status GetEntity(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response); + // Override an Entity Component. An override is a definitive change to entity data. Any authorized user of service + // can override overridable components on any entity. Only fields marked with overridable can be overridden. + // When setting an override, the user or service setting the override is asserting that they are certain of the change + // and the truth behind it. + virtual ::grpc::Status OverrideEntity(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response); + // Remove an override for an Entity component. + virtual ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response); + // Returns a stream of entities with specified components populated. + virtual ::grpc::Status StreamEntityComponents(::grpc::ServerContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* writer); + }; + template + class WithAsyncMethod_PublishEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_PublishEntity() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_PublishEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestPublishEntity(::grpc::ServerContext* context, ::anduril::entitymanager::v1::PublishEntityRequest* request, ::grpc::ServerAsyncResponseWriter< ::anduril::entitymanager::v1::PublishEntityResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_PublishEntities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_PublishEntities() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_PublishEntities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntities(::grpc::ServerContext* /*context*/, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* /*reader*/, ::anduril::entitymanager::v1::PublishEntitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestPublishEntities(::grpc::ServerContext* context, ::grpc::ServerAsyncReader< ::anduril::entitymanager::v1::PublishEntitiesResponse, ::anduril::entitymanager::v1::PublishEntitiesRequest>* reader, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncClientStreaming(1, context, reader, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetEntity() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_GetEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetEntity(::grpc::ServerContext* context, ::anduril::entitymanager::v1::GetEntityRequest* request, ::grpc::ServerAsyncResponseWriter< ::anduril::entitymanager::v1::GetEntityResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_OverrideEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_OverrideEntity() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_OverrideEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status OverrideEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestOverrideEntity(::grpc::ServerContext* context, ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::grpc::ServerAsyncResponseWriter< ::anduril::entitymanager::v1::OverrideEntityResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_RemoveEntityOverride : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_RemoveEntityOverride() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_RemoveEntityOverride() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRemoveEntityOverride(::grpc::ServerContext* context, ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::grpc::ServerAsyncResponseWriter< ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_StreamEntityComponents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_StreamEntityComponents() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_StreamEntityComponents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StreamEntityComponents(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestStreamEntityComponents(::grpc::ServerContext* context, ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request, ::grpc::ServerAsyncWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(5, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_PublishEntity > > > > > AsyncService; + template + class WithCallbackMethod_PublishEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_PublishEntity() { + ::grpc::Service::MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::anduril::entitymanager::v1::PublishEntityRequest* request, ::anduril::entitymanager::v1::PublishEntityResponse* response) { return this->PublishEntity(context, request, response); }));} + void SetMessageAllocatorFor_PublishEntity( + ::grpc::MessageAllocator< ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); + static_cast<::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_PublishEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* PublishEntity( + ::grpc::CallbackServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_PublishEntities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_PublishEntities() { + ::grpc::Service::MarkMethodCallback(1, + new ::grpc::internal::CallbackClientStreamingHandler< ::anduril::entitymanager::v1::PublishEntitiesRequest, ::anduril::entitymanager::v1::PublishEntitiesResponse>( + [this]( + ::grpc::CallbackServerContext* context, ::anduril::entitymanager::v1::PublishEntitiesResponse* response) { return this->PublishEntities(context, response); })); + } + ~WithCallbackMethod_PublishEntities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntities(::grpc::ServerContext* /*context*/, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* /*reader*/, ::anduril::entitymanager::v1::PublishEntitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerReadReactor< ::anduril::entitymanager::v1::PublishEntitiesRequest>* PublishEntities( + ::grpc::CallbackServerContext* /*context*/, ::anduril::entitymanager::v1::PublishEntitiesResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetEntity() { + ::grpc::Service::MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::anduril::entitymanager::v1::GetEntityRequest* request, ::anduril::entitymanager::v1::GetEntityResponse* response) { return this->GetEntity(context, request, response); }));} + void SetMessageAllocatorFor_GetEntity( + ::grpc::MessageAllocator< ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + static_cast<::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetEntity( + ::grpc::CallbackServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_OverrideEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_OverrideEntity() { + ::grpc::Service::MarkMethodCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::anduril::entitymanager::v1::OverrideEntityRequest* request, ::anduril::entitymanager::v1::OverrideEntityResponse* response) { return this->OverrideEntity(context, request, response); }));} + void SetMessageAllocatorFor_OverrideEntity( + ::grpc::MessageAllocator< ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); + static_cast<::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_OverrideEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status OverrideEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* OverrideEntity( + ::grpc::CallbackServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_RemoveEntityOverride : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_RemoveEntityOverride() { + ::grpc::Service::MarkMethodCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* request, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* response) { return this->RemoveEntityOverride(context, request, response); }));} + void SetMessageAllocatorFor_RemoveEntityOverride( + ::grpc::MessageAllocator< ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); + static_cast<::grpc::internal::CallbackUnaryHandler< ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_RemoveEntityOverride() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* RemoveEntityOverride( + ::grpc::CallbackServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_StreamEntityComponents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_StreamEntityComponents() { + ::grpc::Service::MarkMethodCallback(5, + new ::grpc::internal::CallbackServerStreamingHandler< ::anduril::entitymanager::v1::StreamEntityComponentsRequest, ::anduril::entitymanager::v1::StreamEntityComponentsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* request) { return this->StreamEntityComponents(context, request); })); + } + ~WithCallbackMethod_StreamEntityComponents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StreamEntityComponents(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* StreamEntityComponents( + ::grpc::CallbackServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/) { return nullptr; } + }; + typedef WithCallbackMethod_PublishEntity > > > > > CallbackService; + typedef CallbackService ExperimentalCallbackService; + template + class WithGenericMethod_PublishEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_PublishEntity() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_PublishEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_PublishEntities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_PublishEntities() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_PublishEntities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntities(::grpc::ServerContext* /*context*/, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* /*reader*/, ::anduril::entitymanager::v1::PublishEntitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetEntity() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_GetEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_OverrideEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_OverrideEntity() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_OverrideEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status OverrideEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_RemoveEntityOverride : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_RemoveEntityOverride() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_RemoveEntityOverride() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_StreamEntityComponents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_StreamEntityComponents() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_StreamEntityComponents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StreamEntityComponents(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_PublishEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_PublishEntity() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_PublishEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestPublishEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_PublishEntities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_PublishEntities() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_PublishEntities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntities(::grpc::ServerContext* /*context*/, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* /*reader*/, ::anduril::entitymanager::v1::PublishEntitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestPublishEntities(::grpc::ServerContext* context, ::grpc::ServerAsyncReader< ::grpc::ByteBuffer, ::grpc::ByteBuffer>* reader, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncClientStreaming(1, context, reader, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetEntity() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_GetEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_OverrideEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_OverrideEntity() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_OverrideEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status OverrideEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestOverrideEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_RemoveEntityOverride : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_RemoveEntityOverride() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_RemoveEntityOverride() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRemoveEntityOverride(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_StreamEntityComponents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_StreamEntityComponents() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_StreamEntityComponents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StreamEntityComponents(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestStreamEntityComponents(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(5, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawCallbackMethod_PublishEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_PublishEntity() { + ::grpc::Service::MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->PublishEntity(context, request, response); })); + } + ~WithRawCallbackMethod_PublishEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* PublishEntity( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_PublishEntities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_PublishEntities() { + ::grpc::Service::MarkMethodRawCallback(1, + new ::grpc::internal::CallbackClientStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, ::grpc::ByteBuffer* response) { return this->PublishEntities(context, response); })); + } + ~WithRawCallbackMethod_PublishEntities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status PublishEntities(::grpc::ServerContext* /*context*/, ::grpc::ServerReader< ::anduril::entitymanager::v1::PublishEntitiesRequest>* /*reader*/, ::anduril::entitymanager::v1::PublishEntitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerReadReactor< ::grpc::ByteBuffer>* PublishEntities( + ::grpc::CallbackServerContext* /*context*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetEntity() { + ::grpc::Service::MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetEntity(context, request, response); })); + } + ~WithRawCallbackMethod_GetEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetEntity( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_OverrideEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_OverrideEntity() { + ::grpc::Service::MarkMethodRawCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->OverrideEntity(context, request, response); })); + } + ~WithRawCallbackMethod_OverrideEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status OverrideEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* OverrideEntity( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_RemoveEntityOverride : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_RemoveEntityOverride() { + ::grpc::Service::MarkMethodRawCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RemoveEntityOverride(context, request, response); })); + } + ~WithRawCallbackMethod_RemoveEntityOverride() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* RemoveEntityOverride( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_StreamEntityComponents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_StreamEntityComponents() { + ::grpc::Service::MarkMethodRawCallback(5, + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->StreamEntityComponents(context, request); })); + } + ~WithRawCallbackMethod_StreamEntityComponents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StreamEntityComponents(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::grpc::ByteBuffer>* StreamEntityComponents( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/) { return nullptr; } + }; + template + class WithStreamedUnaryMethod_PublishEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_PublishEntity() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< + ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::anduril::entitymanager::v1::PublishEntityRequest, ::anduril::entitymanager::v1::PublishEntityResponse>* streamer) { + return this->StreamedPublishEntity(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_PublishEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status PublishEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::PublishEntityRequest* /*request*/, ::anduril::entitymanager::v1::PublishEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedPublishEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::anduril::entitymanager::v1::PublishEntityRequest,::anduril::entitymanager::v1::PublishEntityResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetEntity() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< + ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::anduril::entitymanager::v1::GetEntityRequest, ::anduril::entitymanager::v1::GetEntityResponse>* streamer) { + return this->StreamedGetEntity(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::GetEntityRequest* /*request*/, ::anduril::entitymanager::v1::GetEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::anduril::entitymanager::v1::GetEntityRequest,::anduril::entitymanager::v1::GetEntityResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_OverrideEntity : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_OverrideEntity() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::StreamedUnaryHandler< + ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::anduril::entitymanager::v1::OverrideEntityRequest, ::anduril::entitymanager::v1::OverrideEntityResponse>* streamer) { + return this->StreamedOverrideEntity(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_OverrideEntity() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status OverrideEntity(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::OverrideEntityRequest* /*request*/, ::anduril::entitymanager::v1::OverrideEntityResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedOverrideEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::anduril::entitymanager::v1::OverrideEntityRequest,::anduril::entitymanager::v1::OverrideEntityResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_RemoveEntityOverride : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_RemoveEntityOverride() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< + ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::anduril::entitymanager::v1::RemoveEntityOverrideRequest, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* streamer) { + return this->StreamedRemoveEntityOverride(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_RemoveEntityOverride() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RemoveEntityOverride(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest* /*request*/, ::anduril::entitymanager::v1::RemoveEntityOverrideResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRemoveEntityOverride(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::anduril::entitymanager::v1::RemoveEntityOverrideRequest,::anduril::entitymanager::v1::RemoveEntityOverrideResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_PublishEntity > > > StreamedUnaryService; + template + class WithSplitStreamingMethod_StreamEntityComponents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithSplitStreamingMethod_StreamEntityComponents() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::SplitServerStreamingHandler< + ::anduril::entitymanager::v1::StreamEntityComponentsRequest, ::anduril::entitymanager::v1::StreamEntityComponentsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::anduril::entitymanager::v1::StreamEntityComponentsRequest, ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* streamer) { + return this->StreamedStreamEntityComponents(context, + streamer); + })); + } + ~WithSplitStreamingMethod_StreamEntityComponents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status StreamEntityComponents(::grpc::ServerContext* /*context*/, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest* /*request*/, ::grpc::ServerWriter< ::anduril::entitymanager::v1::StreamEntityComponentsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedStreamEntityComponents(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::anduril::entitymanager::v1::StreamEntityComponentsRequest,::anduril::entitymanager::v1::StreamEntityComponentsResponse>* server_split_streamer) = 0; + }; + typedef WithSplitStreamingMethod_StreamEntityComponents SplitStreamedService; + typedef WithStreamedUnaryMethod_PublishEntity > > > > StreamedService; +}; + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.cc b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.cc new file mode 100644 index 0000000..d009183 --- /dev/null +++ b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.cc @@ -0,0 +1,4168 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + template +PROTOBUF_CONSTEXPR RemoveEntityOverrideResponse::RemoveEntityOverrideResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct RemoveEntityOverrideResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR RemoveEntityOverrideResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RemoveEntityOverrideResponseDefaultTypeInternal() {} + union { + RemoveEntityOverrideResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveEntityOverrideResponseDefaultTypeInternal _RemoveEntityOverrideResponse_default_instance_; + +inline constexpr RemoveEntityOverrideRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : field_path_{}, + entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR RemoveEntityOverrideRequest::RemoveEntityOverrideRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RemoveEntityOverrideRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR RemoveEntityOverrideRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RemoveEntityOverrideRequestDefaultTypeInternal() {} + union { + RemoveEntityOverrideRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveEntityOverrideRequestDefaultTypeInternal _RemoveEntityOverrideRequest_default_instance_; + template +PROTOBUF_CONSTEXPR PublishEntityResponse::PublishEntityResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct PublishEntityResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishEntityResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishEntityResponseDefaultTypeInternal() {} + union { + PublishEntityResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishEntityResponseDefaultTypeInternal _PublishEntityResponse_default_instance_; + template +PROTOBUF_CONSTEXPR PublishEntitiesResponse::PublishEntitiesResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct PublishEntitiesResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishEntitiesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishEntitiesResponseDefaultTypeInternal() {} + union { + PublishEntitiesResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishEntitiesResponseDefaultTypeInternal _PublishEntitiesResponse_default_instance_; + +inline constexpr OverrideEntityResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : status_{static_cast< ::anduril::entitymanager::v1::OverrideStatus >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR OverrideEntityResponse::OverrideEntityResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OverrideEntityResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR OverrideEntityResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OverrideEntityResponseDefaultTypeInternal() {} + union { + OverrideEntityResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OverrideEntityResponseDefaultTypeInternal _OverrideEntityResponse_default_instance_; + +inline constexpr GetEntityRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR GetEntityRequest::GetEntityRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetEntityRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetEntityRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetEntityRequestDefaultTypeInternal() {} + union { + GetEntityRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetEntityRequestDefaultTypeInternal _GetEntityRequest_default_instance_; + +inline constexpr Heartbeat::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + timestamp_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Heartbeat::Heartbeat(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct HeartbeatDefaultTypeInternal { + PROTOBUF_CONSTEXPR HeartbeatDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HeartbeatDefaultTypeInternal() {} + union { + Heartbeat _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeartbeatDefaultTypeInternal _Heartbeat_default_instance_; + +inline constexpr StreamEntityComponentsRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + components_to_include_{}, + filter_{nullptr}, + rate_limit_{nullptr}, + include_all_components_{false}, + preexisting_only_{false}, + heartbeat_period_millis_{0u} {} + +template +PROTOBUF_CONSTEXPR StreamEntityComponentsRequest::StreamEntityComponentsRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StreamEntityComponentsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR StreamEntityComponentsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StreamEntityComponentsRequestDefaultTypeInternal() {} + union { + StreamEntityComponentsRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StreamEntityComponentsRequestDefaultTypeInternal _StreamEntityComponentsRequest_default_instance_; + +inline constexpr PublishEntityRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + entity_{nullptr} {} + +template +PROTOBUF_CONSTEXPR PublishEntityRequest::PublishEntityRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PublishEntityRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishEntityRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishEntityRequestDefaultTypeInternal() {} + union { + PublishEntityRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishEntityRequestDefaultTypeInternal _PublishEntityRequest_default_instance_; + +inline constexpr PublishEntitiesRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + entity_{nullptr} {} + +template +PROTOBUF_CONSTEXPR PublishEntitiesRequest::PublishEntitiesRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PublishEntitiesRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishEntitiesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishEntitiesRequestDefaultTypeInternal() {} + union { + PublishEntitiesRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishEntitiesRequestDefaultTypeInternal _PublishEntitiesRequest_default_instance_; + +inline constexpr OverrideEntityRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + field_path_{}, + entity_{nullptr}, + provenance_{nullptr} {} + +template +PROTOBUF_CONSTEXPR OverrideEntityRequest::OverrideEntityRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OverrideEntityRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR OverrideEntityRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OverrideEntityRequestDefaultTypeInternal() {} + union { + OverrideEntityRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OverrideEntityRequestDefaultTypeInternal _OverrideEntityRequest_default_instance_; + +inline constexpr GetEntityResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + entity_{nullptr} {} + +template +PROTOBUF_CONSTEXPR GetEntityResponse::GetEntityResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetEntityResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetEntityResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetEntityResponseDefaultTypeInternal() {} + union { + GetEntityResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetEntityResponseDefaultTypeInternal _GetEntityResponse_default_instance_; + +inline constexpr EntityEvent::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + time_{nullptr}, + entity_{nullptr}, + event_type_{static_cast< ::anduril::entitymanager::v1::EventType >(0)} {} + +template +PROTOBUF_CONSTEXPR EntityEvent::EntityEvent(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct EntityEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR EntityEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~EntityEventDefaultTypeInternal() {} + union { + EntityEvent _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityEventDefaultTypeInternal _EntityEvent_default_instance_; + +inline constexpr StreamEntityComponentsResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + entity_event_{nullptr}, + heartbeat_{nullptr} {} + +template +PROTOBUF_CONSTEXPR StreamEntityComponentsResponse::StreamEntityComponentsResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StreamEntityComponentsResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR StreamEntityComponentsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StreamEntityComponentsResponseDefaultTypeInternal() {} + union { + StreamEntityComponentsResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StreamEntityComponentsResponseDefaultTypeInternal _StreamEntityComponentsResponse_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntityRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntityRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntityRequest, _impl_.entity_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntityResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntitiesRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntitiesRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntitiesRequest, _impl_.entity_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PublishEntitiesResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GetEntityRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GetEntityRequest, _impl_.entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GetEntityResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GetEntityResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GetEntityResponse, _impl_.entity_), + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityRequest, _impl_.entity_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityRequest, _impl_.field_path_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityRequest, _impl_.provenance_), + 0, + ~0u, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideEntityResponse, _impl_.status_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RemoveEntityOverrideRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RemoveEntityOverrideRequest, _impl_.entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RemoveEntityOverrideRequest, _impl_.field_path_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RemoveEntityOverrideResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_.components_to_include_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_.include_all_components_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_.filter_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_.rate_limit_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_.heartbeat_period_millis_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsRequest, _impl_.preexisting_only_), + ~0u, + ~0u, + 0, + 1, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsResponse, _impl_.entity_event_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StreamEntityComponentsResponse, _impl_.heartbeat_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EntityEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EntityEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EntityEvent, _impl_.event_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EntityEvent, _impl_.time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EntityEvent, _impl_.entity_), + ~0u, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Heartbeat, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Heartbeat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Heartbeat, _impl_.timestamp_), + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 9, -1, sizeof(::anduril::entitymanager::v1::PublishEntityRequest)}, + {10, -1, -1, sizeof(::anduril::entitymanager::v1::PublishEntityResponse)}, + {18, 27, -1, sizeof(::anduril::entitymanager::v1::PublishEntitiesRequest)}, + {28, -1, -1, sizeof(::anduril::entitymanager::v1::PublishEntitiesResponse)}, + {36, -1, -1, sizeof(::anduril::entitymanager::v1::GetEntityRequest)}, + {45, 54, -1, sizeof(::anduril::entitymanager::v1::GetEntityResponse)}, + {55, 66, -1, sizeof(::anduril::entitymanager::v1::OverrideEntityRequest)}, + {69, -1, -1, sizeof(::anduril::entitymanager::v1::OverrideEntityResponse)}, + {78, -1, -1, sizeof(::anduril::entitymanager::v1::RemoveEntityOverrideRequest)}, + {88, -1, -1, sizeof(::anduril::entitymanager::v1::RemoveEntityOverrideResponse)}, + {96, 110, -1, sizeof(::anduril::entitymanager::v1::StreamEntityComponentsRequest)}, + {116, 126, -1, sizeof(::anduril::entitymanager::v1::StreamEntityComponentsResponse)}, + {128, 139, -1, sizeof(::anduril::entitymanager::v1::EntityEvent)}, + {142, 151, -1, sizeof(::anduril::entitymanager::v1::Heartbeat)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_PublishEntityRequest_default_instance_._instance, + &::anduril::entitymanager::v1::_PublishEntityResponse_default_instance_._instance, + &::anduril::entitymanager::v1::_PublishEntitiesRequest_default_instance_._instance, + &::anduril::entitymanager::v1::_PublishEntitiesResponse_default_instance_._instance, + &::anduril::entitymanager::v1::_GetEntityRequest_default_instance_._instance, + &::anduril::entitymanager::v1::_GetEntityResponse_default_instance_._instance, + &::anduril::entitymanager::v1::_OverrideEntityRequest_default_instance_._instance, + &::anduril::entitymanager::v1::_OverrideEntityResponse_default_instance_._instance, + &::anduril::entitymanager::v1::_RemoveEntityOverrideRequest_default_instance_._instance, + &::anduril::entitymanager::v1::_RemoveEntityOverrideResponse_default_instance_._instance, + &::anduril::entitymanager::v1::_StreamEntityComponentsRequest_default_instance_._instance, + &::anduril::entitymanager::v1::_StreamEntityComponentsResponse_default_instance_._instance, + &::anduril::entitymanager::v1::_EntityEvent_default_instance_._instance, + &::anduril::entitymanager::v1::_Heartbeat_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n9anduril/entitymanager/v1/entity_manage" + "r_grpcapi.pub.proto\022\030anduril.entitymanag" + "er.v1\032)anduril/entitymanager/v1/entity.p" + "ub.proto\032)anduril/entitymanager/v1/filte" + "r.pub.proto\032-anduril/entitymanager/v1/ra" + "te_limit.pub.proto\032(anduril/entitymanage" + "r/v1/types.pub.proto\032\037google/protobuf/ti" + "mestamp.proto\"P\n\024PublishEntityRequest\0228\n" + "\006entity\030\001 \001(\0132 .anduril.entitymanager.v1" + ".EntityR\006entity\"\027\n\025PublishEntityResponse" + "\"R\n\026PublishEntitiesRequest\0228\n\006entity\030\001 \001" + "(\0132 .anduril.entitymanager.v1.EntityR\006en" + "tity\"\031\n\027PublishEntitiesResponse\"/\n\020GetEn" + "tityRequest\022\033\n\tentity_id\030\001 \001(\tR\010entityId" + "\"M\n\021GetEntityResponse\0228\n\006entity\030\001 \001(\0132 ." + "anduril.entitymanager.v1.EntityR\006entity\"" + "\266\001\n\025OverrideEntityRequest\0228\n\006entity\030\001 \001(" + "\0132 .anduril.entitymanager.v1.EntityR\006ent" + "ity\022\035\n\nfield_path\030\002 \003(\tR\tfieldPath\022D\n\npr" + "ovenance\030\003 \001(\0132$.anduril.entitymanager.v" + "1.ProvenanceR\nprovenance\"Z\n\026OverrideEnti" + "tyResponse\022@\n\006status\030\001 \001(\0162(.anduril.ent" + "itymanager.v1.OverrideStatusR\006status\"Y\n\033" + "RemoveEntityOverrideRequest\022\033\n\tentity_id" + "\030\001 \001(\tR\010entityId\022\035\n\nfield_path\030\002 \003(\tR\tfi" + "eldPath\"\036\n\034RemoveEntityOverrideResponse\"" + "\355\002\n\035StreamEntityComponentsRequest\0222\n\025com" + "ponents_to_include\030\001 \003(\tR\023componentsToIn" + "clude\0224\n\026include_all_components\030\002 \001(\010R\024i" + "ncludeAllComponents\022;\n\006filter\030\003 \001(\0132#.an" + "duril.entitymanager.v1.StatementR\006filter" + "\022B\n\nrate_limit\030\004 \001(\0132#.anduril.entityman" + "ager.v1.RateLimitR\trateLimit\0226\n\027heartbea" + "t_period_millis\030\005 \001(\rR\025heartbeatPeriodMi" + "llis\022)\n\020preexisting_only\030\006 \001(\010R\017preexist" + "ingOnly\"\255\001\n\036StreamEntityComponentsRespon" + "se\022H\n\014entity_event\030\001 \001(\0132%.anduril.entit" + "ymanager.v1.EntityEventR\013entityEvent\022A\n\t" + "heartbeat\030\002 \001(\0132#.anduril.entitymanager." + "v1.HeartbeatR\theartbeat\"\273\001\n\013EntityEvent\022" + "B\n\nevent_type\030\001 \001(\0162#.anduril.entitymana" + "ger.v1.EventTypeR\teventType\022.\n\004time\030\002 \001(" + "\0132\032.google.protobuf.TimestampR\004time\0228\n\006e" + "ntity\030\003 \001(\0132 .anduril.entitymanager.v1.E" + "ntityR\006entity\"E\n\tHeartbeat\0228\n\ttimestamp\030" + "\001 \001(\0132\032.google.protobuf.TimestampR\ttimes" + "tamp*\253\001\n\tEventType\022\026\n\022EVENT_TYPE_INVALID" + "\020\000\022\026\n\022EVENT_TYPE_CREATED\020\001\022\025\n\021EVENT_TYPE" + "_UPDATE\020\002\022\026\n\022EVENT_TYPE_DELETED\020\003\022\032\n\026EVE" + "NT_TYPE_PREEXISTING\020\004\022#\n\037EVENT_TYPE_POST" + "_EXPIRY_OVERRIDE\020\0052\361\005\n\020EntityManagerAPI\022" + "p\n\rPublishEntity\022..anduril.entitymanager" + ".v1.PublishEntityRequest\032/.anduril.entit" + "ymanager.v1.PublishEntityResponse\022x\n\017Pub" + "lishEntities\0220.anduril.entitymanager.v1." + "PublishEntitiesRequest\0321.anduril.entitym" + "anager.v1.PublishEntitiesResponse(\001\022d\n\tG" + "etEntity\022*.anduril.entitymanager.v1.GetE" + "ntityRequest\032+.anduril.entitymanager.v1." + "GetEntityResponse\022s\n\016OverrideEntity\022/.an" + "duril.entitymanager.v1.OverrideEntityReq" + "uest\0320.anduril.entitymanager.v1.Override" + "EntityResponse\022\205\001\n\024RemoveEntityOverride\022" + "5.anduril.entitymanager.v1.RemoveEntityO" + "verrideRequest\0326.anduril.entitymanager.v" + "1.RemoveEntityOverrideResponse\022\215\001\n\026Strea" + "mEntityComponents\0227.anduril.entitymanage" + "r.v1.StreamEntityComponentsRequest\0328.and" + "uril.entitymanager.v1.StreamEntityCompon" + "entsResponse0\001B\215\002\n\034com.anduril.entityman" + "ager.v1B\034EntityManagerGrpcapiPubProtoP\001Z" + "Mghe.anduril.dev/anduril/andurilapis-go/" + "anduril/entitymanager/v1;entitymanager\242\002" + "\003AEX\252\002\030Anduril.Entitymanager.V1\312\002\030Anduri" + "l\\Entitymanager\\V1\342\002$Anduril\\Entitymanag" + "er\\V1\\GPBMetadata\352\002\032Anduril::Entitymanag" + "er::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_deps[5] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto = { + false, + false, + 3054, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + "anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_deps, + 5, + 14, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* EventType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t EventType_internal_data_[] = { + 393216u, 0u, }; +bool EventType_IsValid(int value) { + return 0 <= value && value <= 5; +} +// =================================================================== + +class PublishEntityRequest::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PublishEntityRequest, _impl_._has_bits_); +}; + +void PublishEntityRequest::clear_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ != nullptr) _impl_.entity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +PublishEntityRequest::PublishEntityRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PublishEntityRequest) +} +inline PROTOBUF_NDEBUG_INLINE PublishEntityRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PublishEntityRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +PublishEntityRequest::PublishEntityRequest( + ::google::protobuf::Arena* arena, + const PublishEntityRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PublishEntityRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.entity_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.entity_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PublishEntityRequest) +} +inline PROTOBUF_NDEBUG_INLINE PublishEntityRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void PublishEntityRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.entity_ = {}; +} +PublishEntityRequest::~PublishEntityRequest() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PublishEntityRequest) + SharedDtor(*this); +} +inline void PublishEntityRequest::SharedDtor(MessageLite& self) { + PublishEntityRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.entity_; + this_._impl_.~Impl_(); +} + +inline void* PublishEntityRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PublishEntityRequest(arena); +} +constexpr auto PublishEntityRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PublishEntityRequest), + alignof(PublishEntityRequest)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PublishEntityRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PublishEntityRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PublishEntityRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PublishEntityRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PublishEntityRequest::ByteSizeLong, + &PublishEntityRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PublishEntityRequest, _impl_._cached_size_), + false, + }, + &PublishEntityRequest::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PublishEntityRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PublishEntityRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PublishEntityRequest, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PublishEntityRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(PublishEntityRequest, _impl_.entity_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {PROTOBUF_FIELD_OFFSET(PublishEntityRequest, _impl_.entity_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void PublishEntityRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PublishEntityRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.entity_ != nullptr); + _impl_.entity_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PublishEntityRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PublishEntityRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PublishEntityRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PublishEntityRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PublishEntityRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_, this_._impl_.entity_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PublishEntityRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PublishEntityRequest::ByteSizeLong(const MessageLite& base) { + const PublishEntityRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PublishEntityRequest::ByteSizeLong() const { + const PublishEntityRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PublishEntityRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PublishEntityRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PublishEntityRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.entity_ != nullptr); + if (_this->_impl_.entity_ == nullptr) { + _this->_impl_.entity_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.entity_); + } else { + _this->_impl_.entity_->MergeFrom(*from._impl_.entity_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishEntityRequest::CopyFrom(const PublishEntityRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PublishEntityRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PublishEntityRequest::InternalSwap(PublishEntityRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.entity_, other->_impl_.entity_); +} + +::google::protobuf::Metadata PublishEntityRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PublishEntityResponse::_Internal { + public: +}; + +PublishEntityResponse::PublishEntityResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PublishEntityResponse) +} +PublishEntityResponse::PublishEntityResponse( + ::google::protobuf::Arena* arena, + const PublishEntityResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PublishEntityResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PublishEntityResponse) +} + +inline void* PublishEntityResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PublishEntityResponse(arena); +} +constexpr auto PublishEntityResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PublishEntityResponse), + alignof(PublishEntityResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PublishEntityResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PublishEntityResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PublishEntityResponse::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PublishEntityResponse::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &PublishEntityResponse::ByteSizeLong, + &PublishEntityResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PublishEntityResponse, _impl_._cached_size_), + false, + }, + &PublishEntityResponse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PublishEntityResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> PublishEntityResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PublishEntityResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata PublishEntityResponse::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PublishEntitiesRequest::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PublishEntitiesRequest, _impl_._has_bits_); +}; + +void PublishEntitiesRequest::clear_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ != nullptr) _impl_.entity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +PublishEntitiesRequest::PublishEntitiesRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PublishEntitiesRequest) +} +inline PROTOBUF_NDEBUG_INLINE PublishEntitiesRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PublishEntitiesRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +PublishEntitiesRequest::PublishEntitiesRequest( + ::google::protobuf::Arena* arena, + const PublishEntitiesRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PublishEntitiesRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.entity_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.entity_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PublishEntitiesRequest) +} +inline PROTOBUF_NDEBUG_INLINE PublishEntitiesRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void PublishEntitiesRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.entity_ = {}; +} +PublishEntitiesRequest::~PublishEntitiesRequest() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PublishEntitiesRequest) + SharedDtor(*this); +} +inline void PublishEntitiesRequest::SharedDtor(MessageLite& self) { + PublishEntitiesRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.entity_; + this_._impl_.~Impl_(); +} + +inline void* PublishEntitiesRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PublishEntitiesRequest(arena); +} +constexpr auto PublishEntitiesRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PublishEntitiesRequest), + alignof(PublishEntitiesRequest)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PublishEntitiesRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PublishEntitiesRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PublishEntitiesRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PublishEntitiesRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PublishEntitiesRequest::ByteSizeLong, + &PublishEntitiesRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PublishEntitiesRequest, _impl_._cached_size_), + false, + }, + &PublishEntitiesRequest::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PublishEntitiesRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PublishEntitiesRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PublishEntitiesRequest, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PublishEntitiesRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(PublishEntitiesRequest, _impl_.entity_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {PROTOBUF_FIELD_OFFSET(PublishEntitiesRequest, _impl_.entity_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void PublishEntitiesRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PublishEntitiesRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.entity_ != nullptr); + _impl_.entity_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PublishEntitiesRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PublishEntitiesRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PublishEntitiesRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PublishEntitiesRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PublishEntitiesRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_, this_._impl_.entity_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PublishEntitiesRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PublishEntitiesRequest::ByteSizeLong(const MessageLite& base) { + const PublishEntitiesRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PublishEntitiesRequest::ByteSizeLong() const { + const PublishEntitiesRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PublishEntitiesRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PublishEntitiesRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PublishEntitiesRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.entity_ != nullptr); + if (_this->_impl_.entity_ == nullptr) { + _this->_impl_.entity_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.entity_); + } else { + _this->_impl_.entity_->MergeFrom(*from._impl_.entity_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishEntitiesRequest::CopyFrom(const PublishEntitiesRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PublishEntitiesRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PublishEntitiesRequest::InternalSwap(PublishEntitiesRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.entity_, other->_impl_.entity_); +} + +::google::protobuf::Metadata PublishEntitiesRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PublishEntitiesResponse::_Internal { + public: +}; + +PublishEntitiesResponse::PublishEntitiesResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PublishEntitiesResponse) +} +PublishEntitiesResponse::PublishEntitiesResponse( + ::google::protobuf::Arena* arena, + const PublishEntitiesResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PublishEntitiesResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PublishEntitiesResponse) +} + +inline void* PublishEntitiesResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PublishEntitiesResponse(arena); +} +constexpr auto PublishEntitiesResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PublishEntitiesResponse), + alignof(PublishEntitiesResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PublishEntitiesResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PublishEntitiesResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PublishEntitiesResponse::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PublishEntitiesResponse::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &PublishEntitiesResponse::ByteSizeLong, + &PublishEntitiesResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PublishEntitiesResponse, _impl_._cached_size_), + false, + }, + &PublishEntitiesResponse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PublishEntitiesResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> PublishEntitiesResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PublishEntitiesResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata PublishEntitiesResponse::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GetEntityRequest::_Internal { + public: +}; + +GetEntityRequest::GetEntityRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GetEntityRequest) +} +inline PROTOBUF_NDEBUG_INLINE GetEntityRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GetEntityRequest& from_msg) + : entity_id_(arena, from.entity_id_), + _cached_size_{0} {} + +GetEntityRequest::GetEntityRequest( + ::google::protobuf::Arena* arena, + const GetEntityRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetEntityRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GetEntityRequest) +} +inline PROTOBUF_NDEBUG_INLINE GetEntityRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : entity_id_(arena), + _cached_size_{0} {} + +inline void GetEntityRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GetEntityRequest::~GetEntityRequest() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GetEntityRequest) + SharedDtor(*this); +} +inline void GetEntityRequest::SharedDtor(MessageLite& self) { + GetEntityRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.entity_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* GetEntityRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetEntityRequest(arena); +} +constexpr auto GetEntityRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetEntityRequest), + alignof(GetEntityRequest)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GetEntityRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GetEntityRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetEntityRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetEntityRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GetEntityRequest::ByteSizeLong, + &GetEntityRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetEntityRequest, _impl_._cached_size_), + false, + }, + &GetEntityRequest::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetEntityRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 59, 2> GetEntityRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GetEntityRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string entity_id = 1 [json_name = "entityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetEntityRequest, _impl_.entity_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string entity_id = 1 [json_name = "entityId"]; + {PROTOBUF_FIELD_OFFSET(GetEntityRequest, _impl_.entity_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\51\11\0\0\0\0\0\0" + "anduril.entitymanager.v1.GetEntityRequest" + "entity_id" + }}, +}; + +PROTOBUF_NOINLINE void GetEntityRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GetEntityRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entity_id_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetEntityRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetEntityRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetEntityRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetEntityRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GetEntityRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + const std::string& _s = this_._internal_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.GetEntityRequest.entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GetEntityRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GetEntityRequest::ByteSizeLong(const MessageLite& base) { + const GetEntityRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetEntityRequest::ByteSizeLong() const { + const GetEntityRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GetEntityRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entity_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GetEntityRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GetEntityRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_entity_id().empty()) { + _this->_internal_set_entity_id(from._internal_entity_id()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetEntityRequest::CopyFrom(const GetEntityRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GetEntityRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetEntityRequest::InternalSwap(GetEntityRequest* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entity_id_, &other->_impl_.entity_id_, arena); +} + +::google::protobuf::Metadata GetEntityRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GetEntityResponse::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetEntityResponse, _impl_._has_bits_); +}; + +void GetEntityResponse::clear_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ != nullptr) _impl_.entity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +GetEntityResponse::GetEntityResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GetEntityResponse) +} +inline PROTOBUF_NDEBUG_INLINE GetEntityResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GetEntityResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GetEntityResponse::GetEntityResponse( + ::google::protobuf::Arena* arena, + const GetEntityResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetEntityResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.entity_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.entity_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GetEntityResponse) +} +inline PROTOBUF_NDEBUG_INLINE GetEntityResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetEntityResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.entity_ = {}; +} +GetEntityResponse::~GetEntityResponse() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GetEntityResponse) + SharedDtor(*this); +} +inline void GetEntityResponse::SharedDtor(MessageLite& self) { + GetEntityResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.entity_; + this_._impl_.~Impl_(); +} + +inline void* GetEntityResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetEntityResponse(arena); +} +constexpr auto GetEntityResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetEntityResponse), + alignof(GetEntityResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GetEntityResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GetEntityResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetEntityResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetEntityResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GetEntityResponse::ByteSizeLong, + &GetEntityResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetEntityResponse, _impl_._cached_size_), + false, + }, + &GetEntityResponse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetEntityResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetEntityResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetEntityResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GetEntityResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetEntityResponse, _impl_.entity_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {PROTOBUF_FIELD_OFFSET(GetEntityResponse, _impl_.entity_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GetEntityResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GetEntityResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.entity_ != nullptr); + _impl_.entity_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetEntityResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetEntityResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetEntityResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetEntityResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GetEntityResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_, this_._impl_.entity_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GetEntityResponse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GetEntityResponse::ByteSizeLong(const MessageLite& base) { + const GetEntityResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetEntityResponse::ByteSizeLong() const { + const GetEntityResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GetEntityResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GetEntityResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GetEntityResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.entity_ != nullptr); + if (_this->_impl_.entity_ == nullptr) { + _this->_impl_.entity_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.entity_); + } else { + _this->_impl_.entity_->MergeFrom(*from._impl_.entity_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetEntityResponse::CopyFrom(const GetEntityResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GetEntityResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetEntityResponse::InternalSwap(GetEntityResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.entity_, other->_impl_.entity_); +} + +::google::protobuf::Metadata GetEntityResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class OverrideEntityRequest::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_._has_bits_); +}; + +void OverrideEntityRequest::clear_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ != nullptr) _impl_.entity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void OverrideEntityRequest::clear_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ != nullptr) _impl_.provenance_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +OverrideEntityRequest::OverrideEntityRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.OverrideEntityRequest) +} +inline PROTOBUF_NDEBUG_INLINE OverrideEntityRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::OverrideEntityRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + field_path_{visibility, arena, from.field_path_} {} + +OverrideEntityRequest::OverrideEntityRequest( + ::google::protobuf::Arena* arena, + const OverrideEntityRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + OverrideEntityRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.entity_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.entity_) + : nullptr; + _impl_.provenance_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>( + arena, *from._impl_.provenance_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.OverrideEntityRequest) +} +inline PROTOBUF_NDEBUG_INLINE OverrideEntityRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + field_path_{visibility, arena} {} + +inline void OverrideEntityRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, entity_), + 0, + offsetof(Impl_, provenance_) - + offsetof(Impl_, entity_) + + sizeof(Impl_::provenance_)); +} +OverrideEntityRequest::~OverrideEntityRequest() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.OverrideEntityRequest) + SharedDtor(*this); +} +inline void OverrideEntityRequest::SharedDtor(MessageLite& self) { + OverrideEntityRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.entity_; + delete this_._impl_.provenance_; + this_._impl_.~Impl_(); +} + +inline void* OverrideEntityRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) OverrideEntityRequest(arena); +} +constexpr auto OverrideEntityRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.field_path_) + + decltype(OverrideEntityRequest::_impl_.field_path_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(OverrideEntityRequest), alignof(OverrideEntityRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&OverrideEntityRequest::PlacementNew_, + sizeof(OverrideEntityRequest), + alignof(OverrideEntityRequest)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull OverrideEntityRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_OverrideEntityRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OverrideEntityRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OverrideEntityRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OverrideEntityRequest::ByteSizeLong, + &OverrideEntityRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_._cached_size_), + false, + }, + &OverrideEntityRequest::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* OverrideEntityRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 65, 2> OverrideEntityRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::OverrideEntityRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.entity_)}}, + // repeated string field_path = 2 [json_name = "fieldPath"]; + {::_pbi::TcParser::FastUR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.field_path_)}}, + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.provenance_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.entity_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated string field_path = 2 [json_name = "fieldPath"]; + {PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.field_path_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + {PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.provenance_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Provenance>()}, + }}, {{ + "\56\0\12\0\0\0\0\0" + "anduril.entitymanager.v1.OverrideEntityRequest" + "field_path" + }}, +}; + +PROTOBUF_NOINLINE void OverrideEntityRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.OverrideEntityRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.field_path_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.entity_ != nullptr); + _impl_.entity_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.provenance_ != nullptr); + _impl_.provenance_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* OverrideEntityRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const OverrideEntityRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* OverrideEntityRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const OverrideEntityRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.OverrideEntityRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_, this_._impl_.entity_->GetCachedSize(), target, + stream); + } + + // repeated string field_path = 2 [json_name = "fieldPath"]; + for (int i = 0, n = this_._internal_field_path_size(); i < n; ++i) { + const auto& s = this_._internal_field_path().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.OverrideEntityRequest.field_path"); + target = stream->WriteString(2, s, target); + } + + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.provenance_, this_._impl_.provenance_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.OverrideEntityRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t OverrideEntityRequest::ByteSizeLong(const MessageLite& base) { + const OverrideEntityRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t OverrideEntityRequest::ByteSizeLong() const { + const OverrideEntityRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.OverrideEntityRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string field_path = 2 [json_name = "fieldPath"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_field_path().size()); + for (int i = 0, n = this_._internal_field_path().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_field_path().Get(i)); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_); + } + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.provenance_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void OverrideEntityRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.OverrideEntityRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_field_path()->MergeFrom(from._internal_field_path()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.entity_ != nullptr); + if (_this->_impl_.entity_ == nullptr) { + _this->_impl_.entity_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.entity_); + } else { + _this->_impl_.entity_->MergeFrom(*from._impl_.entity_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.provenance_ != nullptr); + if (_this->_impl_.provenance_ == nullptr) { + _this->_impl_.provenance_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>(arena, *from._impl_.provenance_); + } else { + _this->_impl_.provenance_->MergeFrom(*from._impl_.provenance_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void OverrideEntityRequest::CopyFrom(const OverrideEntityRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.OverrideEntityRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OverrideEntityRequest::InternalSwap(OverrideEntityRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.field_path_.InternalSwap(&other->_impl_.field_path_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.provenance_) + + sizeof(OverrideEntityRequest::_impl_.provenance_) + - PROTOBUF_FIELD_OFFSET(OverrideEntityRequest, _impl_.entity_)>( + reinterpret_cast(&_impl_.entity_), + reinterpret_cast(&other->_impl_.entity_)); +} + +::google::protobuf::Metadata OverrideEntityRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class OverrideEntityResponse::_Internal { + public: +}; + +OverrideEntityResponse::OverrideEntityResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.OverrideEntityResponse) +} +OverrideEntityResponse::OverrideEntityResponse( + ::google::protobuf::Arena* arena, const OverrideEntityResponse& from) + : OverrideEntityResponse(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE OverrideEntityResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void OverrideEntityResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.status_ = {}; +} +OverrideEntityResponse::~OverrideEntityResponse() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.OverrideEntityResponse) + SharedDtor(*this); +} +inline void OverrideEntityResponse::SharedDtor(MessageLite& self) { + OverrideEntityResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* OverrideEntityResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) OverrideEntityResponse(arena); +} +constexpr auto OverrideEntityResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OverrideEntityResponse), + alignof(OverrideEntityResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull OverrideEntityResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_OverrideEntityResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OverrideEntityResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OverrideEntityResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OverrideEntityResponse::ByteSizeLong, + &OverrideEntityResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OverrideEntityResponse, _impl_._cached_size_), + false, + }, + &OverrideEntityResponse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* OverrideEntityResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> OverrideEntityResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::OverrideEntityResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.OverrideStatus status = 1 [json_name = "status"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(OverrideEntityResponse, _impl_.status_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(OverrideEntityResponse, _impl_.status_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.OverrideStatus status = 1 [json_name = "status"]; + {PROTOBUF_FIELD_OFFSET(OverrideEntityResponse, _impl_.status_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void OverrideEntityResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.OverrideEntityResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.status_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* OverrideEntityResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const OverrideEntityResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* OverrideEntityResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const OverrideEntityResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.OverrideEntityResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.OverrideStatus status = 1 [json_name = "status"]; + if (this_._internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_status(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.OverrideEntityResponse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t OverrideEntityResponse::ByteSizeLong(const MessageLite& base) { + const OverrideEntityResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t OverrideEntityResponse::ByteSizeLong() const { + const OverrideEntityResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.OverrideEntityResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.OverrideStatus status = 1 [json_name = "status"]; + if (this_._internal_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void OverrideEntityResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.OverrideEntityResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_status() != 0) { + _this->_impl_.status_ = from._impl_.status_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void OverrideEntityResponse::CopyFrom(const OverrideEntityResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.OverrideEntityResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OverrideEntityResponse::InternalSwap(OverrideEntityResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.status_, other->_impl_.status_); +} + +::google::protobuf::Metadata OverrideEntityResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class RemoveEntityOverrideRequest::_Internal { + public: +}; + +RemoveEntityOverrideRequest::RemoveEntityOverrideRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RemoveEntityOverrideRequest) +} +inline PROTOBUF_NDEBUG_INLINE RemoveEntityOverrideRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::RemoveEntityOverrideRequest& from_msg) + : field_path_{visibility, arena, from.field_path_}, + entity_id_(arena, from.entity_id_), + _cached_size_{0} {} + +RemoveEntityOverrideRequest::RemoveEntityOverrideRequest( + ::google::protobuf::Arena* arena, + const RemoveEntityOverrideRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RemoveEntityOverrideRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RemoveEntityOverrideRequest) +} +inline PROTOBUF_NDEBUG_INLINE RemoveEntityOverrideRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : field_path_{visibility, arena}, + entity_id_(arena), + _cached_size_{0} {} + +inline void RemoveEntityOverrideRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +RemoveEntityOverrideRequest::~RemoveEntityOverrideRequest() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + SharedDtor(*this); +} +inline void RemoveEntityOverrideRequest::SharedDtor(MessageLite& self) { + RemoveEntityOverrideRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.entity_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* RemoveEntityOverrideRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RemoveEntityOverrideRequest(arena); +} +constexpr auto RemoveEntityOverrideRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideRequest, _impl_.field_path_) + + decltype(RemoveEntityOverrideRequest::_impl_.field_path_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(RemoveEntityOverrideRequest), alignof(RemoveEntityOverrideRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RemoveEntityOverrideRequest::PlacementNew_, + sizeof(RemoveEntityOverrideRequest), + alignof(RemoveEntityOverrideRequest)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RemoveEntityOverrideRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RemoveEntityOverrideRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RemoveEntityOverrideRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RemoveEntityOverrideRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RemoveEntityOverrideRequest::ByteSizeLong, + &RemoveEntityOverrideRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideRequest, _impl_._cached_size_), + false, + }, + &RemoveEntityOverrideRequest::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RemoveEntityOverrideRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 80, 2> RemoveEntityOverrideRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RemoveEntityOverrideRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated string field_path = 2 [json_name = "fieldPath"]; + {::_pbi::TcParser::FastUR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideRequest, _impl_.field_path_)}}, + // string entity_id = 1 [json_name = "entityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideRequest, _impl_.entity_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string entity_id = 1 [json_name = "entityId"]; + {PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideRequest, _impl_.entity_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // repeated string field_path = 2 [json_name = "fieldPath"]; + {PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideRequest, _impl_.field_path_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + }}, + // no aux_entries + {{ + "\64\11\12\0\0\0\0\0" + "anduril.entitymanager.v1.RemoveEntityOverrideRequest" + "entity_id" + "field_path" + }}, +}; + +PROTOBUF_NOINLINE void RemoveEntityOverrideRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.field_path_.Clear(); + _impl_.entity_id_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RemoveEntityOverrideRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RemoveEntityOverrideRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RemoveEntityOverrideRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RemoveEntityOverrideRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + const std::string& _s = this_._internal_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.RemoveEntityOverrideRequest.entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // repeated string field_path = 2 [json_name = "fieldPath"]; + for (int i = 0, n = this_._internal_field_path_size(); i < n; ++i) { + const auto& s = this_._internal_field_path().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path"); + target = stream->WriteString(2, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RemoveEntityOverrideRequest::ByteSizeLong(const MessageLite& base) { + const RemoveEntityOverrideRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RemoveEntityOverrideRequest::ByteSizeLong() const { + const RemoveEntityOverrideRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string field_path = 2 [json_name = "fieldPath"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_field_path().size()); + for (int i = 0, n = this_._internal_field_path().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_field_path().Get(i)); + } + } + } + { + // string entity_id = 1 [json_name = "entityId"]; + if (!this_._internal_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entity_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RemoveEntityOverrideRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_field_path()->MergeFrom(from._internal_field_path()); + if (!from._internal_entity_id().empty()) { + _this->_internal_set_entity_id(from._internal_entity_id()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RemoveEntityOverrideRequest::CopyFrom(const RemoveEntityOverrideRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RemoveEntityOverrideRequest::InternalSwap(RemoveEntityOverrideRequest* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.field_path_.InternalSwap(&other->_impl_.field_path_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entity_id_, &other->_impl_.entity_id_, arena); +} + +::google::protobuf::Metadata RemoveEntityOverrideRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class RemoveEntityOverrideResponse::_Internal { + public: +}; + +RemoveEntityOverrideResponse::RemoveEntityOverrideResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RemoveEntityOverrideResponse) +} +RemoveEntityOverrideResponse::RemoveEntityOverrideResponse( + ::google::protobuf::Arena* arena, + const RemoveEntityOverrideResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RemoveEntityOverrideResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RemoveEntityOverrideResponse) +} + +inline void* RemoveEntityOverrideResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RemoveEntityOverrideResponse(arena); +} +constexpr auto RemoveEntityOverrideResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RemoveEntityOverrideResponse), + alignof(RemoveEntityOverrideResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RemoveEntityOverrideResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RemoveEntityOverrideResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RemoveEntityOverrideResponse::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RemoveEntityOverrideResponse::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &RemoveEntityOverrideResponse::ByteSizeLong, + &RemoveEntityOverrideResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RemoveEntityOverrideResponse, _impl_._cached_size_), + false, + }, + &RemoveEntityOverrideResponse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RemoveEntityOverrideResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> RemoveEntityOverrideResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RemoveEntityOverrideResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata RemoveEntityOverrideResponse::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class StreamEntityComponentsRequest::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_._has_bits_); +}; + +void StreamEntityComponentsRequest::clear_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.filter_ != nullptr) _impl_.filter_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void StreamEntityComponentsRequest::clear_rate_limit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rate_limit_ != nullptr) _impl_.rate_limit_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +StreamEntityComponentsRequest::StreamEntityComponentsRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.StreamEntityComponentsRequest) +} +inline PROTOBUF_NDEBUG_INLINE StreamEntityComponentsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::StreamEntityComponentsRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + components_to_include_{visibility, arena, from.components_to_include_} {} + +StreamEntityComponentsRequest::StreamEntityComponentsRequest( + ::google::protobuf::Arena* arena, + const StreamEntityComponentsRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StreamEntityComponentsRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.filter_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>( + arena, *from._impl_.filter_) + : nullptr; + _impl_.rate_limit_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RateLimit>( + arena, *from._impl_.rate_limit_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, include_all_components_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, include_all_components_), + offsetof(Impl_, heartbeat_period_millis_) - + offsetof(Impl_, include_all_components_) + + sizeof(Impl_::heartbeat_period_millis_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.StreamEntityComponentsRequest) +} +inline PROTOBUF_NDEBUG_INLINE StreamEntityComponentsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + components_to_include_{visibility, arena} {} + +inline void StreamEntityComponentsRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, filter_), + 0, + offsetof(Impl_, heartbeat_period_millis_) - + offsetof(Impl_, filter_) + + sizeof(Impl_::heartbeat_period_millis_)); +} +StreamEntityComponentsRequest::~StreamEntityComponentsRequest() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.StreamEntityComponentsRequest) + SharedDtor(*this); +} +inline void StreamEntityComponentsRequest::SharedDtor(MessageLite& self) { + StreamEntityComponentsRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.filter_; + delete this_._impl_.rate_limit_; + this_._impl_.~Impl_(); +} + +inline void* StreamEntityComponentsRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StreamEntityComponentsRequest(arena); +} +constexpr auto StreamEntityComponentsRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.components_to_include_) + + decltype(StreamEntityComponentsRequest::_impl_.components_to_include_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(StreamEntityComponentsRequest), alignof(StreamEntityComponentsRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&StreamEntityComponentsRequest::PlacementNew_, + sizeof(StreamEntityComponentsRequest), + alignof(StreamEntityComponentsRequest)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull StreamEntityComponentsRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_StreamEntityComponentsRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &StreamEntityComponentsRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &StreamEntityComponentsRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &StreamEntityComponentsRequest::ByteSizeLong, + &StreamEntityComponentsRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_._cached_size_), + false, + }, + &StreamEntityComponentsRequest::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StreamEntityComponentsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 2, 84, 2> StreamEntityComponentsRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StreamEntityComponentsRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated string components_to_include = 1 [json_name = "componentsToInclude"]; + {::_pbi::TcParser::FastUR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.components_to_include_)}}, + // bool include_all_components = 2 [json_name = "includeAllComponents"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.include_all_components_)}}, + // .anduril.entitymanager.v1.Statement filter = 3 [json_name = "filter"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.filter_)}}, + // .anduril.entitymanager.v1.RateLimit rate_limit = 4 [json_name = "rateLimit"]; + {::_pbi::TcParser::FastMtS1, + {34, 1, 1, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.rate_limit_)}}, + // uint32 heartbeat_period_millis = 5 [json_name = "heartbeatPeriodMillis"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StreamEntityComponentsRequest, _impl_.heartbeat_period_millis_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.heartbeat_period_millis_)}}, + // bool preexisting_only = 6 [json_name = "preexistingOnly"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {48, 63, 0, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.preexisting_only_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated string components_to_include = 1 [json_name = "componentsToInclude"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.components_to_include_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // bool include_all_components = 2 [json_name = "includeAllComponents"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.include_all_components_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // .anduril.entitymanager.v1.Statement filter = 3 [json_name = "filter"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.filter_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.RateLimit rate_limit = 4 [json_name = "rateLimit"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.rate_limit_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 heartbeat_period_millis = 5 [json_name = "heartbeatPeriodMillis"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.heartbeat_period_millis_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // bool preexisting_only = 6 [json_name = "preexistingOnly"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.preexisting_only_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RateLimit>()}, + }}, {{ + "\66\25\0\0\0\0\0\0" + "anduril.entitymanager.v1.StreamEntityComponentsRequest" + "components_to_include" + }}, +}; + +PROTOBUF_NOINLINE void StreamEntityComponentsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.StreamEntityComponentsRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.components_to_include_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.filter_ != nullptr); + _impl_.filter_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.rate_limit_ != nullptr); + _impl_.rate_limit_->Clear(); + } + } + ::memset(&_impl_.include_all_components_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.heartbeat_period_millis_) - + reinterpret_cast(&_impl_.include_all_components_)) + sizeof(_impl_.heartbeat_period_millis_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StreamEntityComponentsRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StreamEntityComponentsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StreamEntityComponentsRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StreamEntityComponentsRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.StreamEntityComponentsRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated string components_to_include = 1 [json_name = "componentsToInclude"]; + for (int i = 0, n = this_._internal_components_to_include_size(); i < n; ++i) { + const auto& s = this_._internal_components_to_include().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include"); + target = stream->WriteString(1, s, target); + } + + // bool include_all_components = 2 [json_name = "includeAllComponents"]; + if (this_._internal_include_all_components() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_include_all_components(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Statement filter = 3 [json_name = "filter"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.filter_, this_._impl_.filter_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.RateLimit rate_limit = 4 [json_name = "rateLimit"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.rate_limit_, this_._impl_.rate_limit_->GetCachedSize(), target, + stream); + } + + // uint32 heartbeat_period_millis = 5 [json_name = "heartbeatPeriodMillis"]; + if (this_._internal_heartbeat_period_millis() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_heartbeat_period_millis(), target); + } + + // bool preexisting_only = 6 [json_name = "preexistingOnly"]; + if (this_._internal_preexisting_only() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this_._internal_preexisting_only(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.StreamEntityComponentsRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t StreamEntityComponentsRequest::ByteSizeLong(const MessageLite& base) { + const StreamEntityComponentsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StreamEntityComponentsRequest::ByteSizeLong() const { + const StreamEntityComponentsRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.StreamEntityComponentsRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string components_to_include = 1 [json_name = "componentsToInclude"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_components_to_include().size()); + for (int i = 0, n = this_._internal_components_to_include().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_components_to_include().Get(i)); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Statement filter = 3 [json_name = "filter"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.filter_); + } + // .anduril.entitymanager.v1.RateLimit rate_limit = 4 [json_name = "rateLimit"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rate_limit_); + } + } + { + // bool include_all_components = 2 [json_name = "includeAllComponents"]; + if (this_._internal_include_all_components() != 0) { + total_size += 2; + } + // bool preexisting_only = 6 [json_name = "preexistingOnly"]; + if (this_._internal_preexisting_only() != 0) { + total_size += 2; + } + // uint32 heartbeat_period_millis = 5 [json_name = "heartbeatPeriodMillis"]; + if (this_._internal_heartbeat_period_millis() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_heartbeat_period_millis()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void StreamEntityComponentsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.StreamEntityComponentsRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_components_to_include()->MergeFrom(from._internal_components_to_include()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.filter_ != nullptr); + if (_this->_impl_.filter_ == nullptr) { + _this->_impl_.filter_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>(arena, *from._impl_.filter_); + } else { + _this->_impl_.filter_->MergeFrom(*from._impl_.filter_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.rate_limit_ != nullptr); + if (_this->_impl_.rate_limit_ == nullptr) { + _this->_impl_.rate_limit_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RateLimit>(arena, *from._impl_.rate_limit_); + } else { + _this->_impl_.rate_limit_->MergeFrom(*from._impl_.rate_limit_); + } + } + } + if (from._internal_include_all_components() != 0) { + _this->_impl_.include_all_components_ = from._impl_.include_all_components_; + } + if (from._internal_preexisting_only() != 0) { + _this->_impl_.preexisting_only_ = from._impl_.preexisting_only_; + } + if (from._internal_heartbeat_period_millis() != 0) { + _this->_impl_.heartbeat_period_millis_ = from._impl_.heartbeat_period_millis_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void StreamEntityComponentsRequest::CopyFrom(const StreamEntityComponentsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.StreamEntityComponentsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void StreamEntityComponentsRequest::InternalSwap(StreamEntityComponentsRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.components_to_include_.InternalSwap(&other->_impl_.components_to_include_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.heartbeat_period_millis_) + + sizeof(StreamEntityComponentsRequest::_impl_.heartbeat_period_millis_) + - PROTOBUF_FIELD_OFFSET(StreamEntityComponentsRequest, _impl_.filter_)>( + reinterpret_cast(&_impl_.filter_), + reinterpret_cast(&other->_impl_.filter_)); +} + +::google::protobuf::Metadata StreamEntityComponentsRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class StreamEntityComponentsResponse::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_._has_bits_); +}; + +StreamEntityComponentsResponse::StreamEntityComponentsResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.StreamEntityComponentsResponse) +} +inline PROTOBUF_NDEBUG_INLINE StreamEntityComponentsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::StreamEntityComponentsResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +StreamEntityComponentsResponse::StreamEntityComponentsResponse( + ::google::protobuf::Arena* arena, + const StreamEntityComponentsResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StreamEntityComponentsResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.entity_event_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::EntityEvent>( + arena, *from._impl_.entity_event_) + : nullptr; + _impl_.heartbeat_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Heartbeat>( + arena, *from._impl_.heartbeat_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.StreamEntityComponentsResponse) +} +inline PROTOBUF_NDEBUG_INLINE StreamEntityComponentsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StreamEntityComponentsResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, entity_event_), + 0, + offsetof(Impl_, heartbeat_) - + offsetof(Impl_, entity_event_) + + sizeof(Impl_::heartbeat_)); +} +StreamEntityComponentsResponse::~StreamEntityComponentsResponse() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.StreamEntityComponentsResponse) + SharedDtor(*this); +} +inline void StreamEntityComponentsResponse::SharedDtor(MessageLite& self) { + StreamEntityComponentsResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.entity_event_; + delete this_._impl_.heartbeat_; + this_._impl_.~Impl_(); +} + +inline void* StreamEntityComponentsResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StreamEntityComponentsResponse(arena); +} +constexpr auto StreamEntityComponentsResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StreamEntityComponentsResponse), + alignof(StreamEntityComponentsResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull StreamEntityComponentsResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_StreamEntityComponentsResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &StreamEntityComponentsResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &StreamEntityComponentsResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &StreamEntityComponentsResponse::ByteSizeLong, + &StreamEntityComponentsResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_._cached_size_), + false, + }, + &StreamEntityComponentsResponse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StreamEntityComponentsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> StreamEntityComponentsResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StreamEntityComponentsResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Heartbeat heartbeat = 2 [json_name = "heartbeat"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_.heartbeat_)}}, + // .anduril.entitymanager.v1.EntityEvent entity_event = 1 [json_name = "entityEvent"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_.entity_event_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.EntityEvent entity_event = 1 [json_name = "entityEvent"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_.entity_event_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Heartbeat heartbeat = 2 [json_name = "heartbeat"]; + {PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_.heartbeat_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::EntityEvent>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Heartbeat>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void StreamEntityComponentsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.StreamEntityComponentsResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.entity_event_ != nullptr); + _impl_.entity_event_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.heartbeat_ != nullptr); + _impl_.heartbeat_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StreamEntityComponentsResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StreamEntityComponentsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StreamEntityComponentsResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StreamEntityComponentsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.StreamEntityComponentsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.EntityEvent entity_event = 1 [json_name = "entityEvent"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_event_, this_._impl_.entity_event_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Heartbeat heartbeat = 2 [json_name = "heartbeat"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.heartbeat_, this_._impl_.heartbeat_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.StreamEntityComponentsResponse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t StreamEntityComponentsResponse::ByteSizeLong(const MessageLite& base) { + const StreamEntityComponentsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StreamEntityComponentsResponse::ByteSizeLong() const { + const StreamEntityComponentsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.StreamEntityComponentsResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.EntityEvent entity_event = 1 [json_name = "entityEvent"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_event_); + } + // .anduril.entitymanager.v1.Heartbeat heartbeat = 2 [json_name = "heartbeat"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.heartbeat_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void StreamEntityComponentsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.StreamEntityComponentsResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.entity_event_ != nullptr); + if (_this->_impl_.entity_event_ == nullptr) { + _this->_impl_.entity_event_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::EntityEvent>(arena, *from._impl_.entity_event_); + } else { + _this->_impl_.entity_event_->MergeFrom(*from._impl_.entity_event_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.heartbeat_ != nullptr); + if (_this->_impl_.heartbeat_ == nullptr) { + _this->_impl_.heartbeat_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Heartbeat>(arena, *from._impl_.heartbeat_); + } else { + _this->_impl_.heartbeat_->MergeFrom(*from._impl_.heartbeat_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void StreamEntityComponentsResponse::CopyFrom(const StreamEntityComponentsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.StreamEntityComponentsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void StreamEntityComponentsResponse::InternalSwap(StreamEntityComponentsResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_.heartbeat_) + + sizeof(StreamEntityComponentsResponse::_impl_.heartbeat_) + - PROTOBUF_FIELD_OFFSET(StreamEntityComponentsResponse, _impl_.entity_event_)>( + reinterpret_cast(&_impl_.entity_event_), + reinterpret_cast(&other->_impl_.entity_event_)); +} + +::google::protobuf::Metadata StreamEntityComponentsResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class EntityEvent::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_._has_bits_); +}; + +void EntityEvent::clear_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.time_ != nullptr) _impl_.time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void EntityEvent::clear_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ != nullptr) _impl_.entity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +EntityEvent::EntityEvent(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.EntityEvent) +} +inline PROTOBUF_NDEBUG_INLINE EntityEvent::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::EntityEvent& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +EntityEvent::EntityEvent( + ::google::protobuf::Arena* arena, + const EntityEvent& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + EntityEvent* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.time_) + : nullptr; + _impl_.entity_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.entity_) + : nullptr; + _impl_.event_type_ = from._impl_.event_type_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.EntityEvent) +} +inline PROTOBUF_NDEBUG_INLINE EntityEvent::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void EntityEvent::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, time_), + 0, + offsetof(Impl_, event_type_) - + offsetof(Impl_, time_) + + sizeof(Impl_::event_type_)); +} +EntityEvent::~EntityEvent() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.EntityEvent) + SharedDtor(*this); +} +inline void EntityEvent::SharedDtor(MessageLite& self) { + EntityEvent& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.time_; + delete this_._impl_.entity_; + this_._impl_.~Impl_(); +} + +inline void* EntityEvent::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) EntityEvent(arena); +} +constexpr auto EntityEvent::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(EntityEvent), + alignof(EntityEvent)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull EntityEvent::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_EntityEvent_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &EntityEvent::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EntityEvent::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EntityEvent::ByteSizeLong, + &EntityEvent::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_._cached_size_), + false, + }, + &EntityEvent::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* EntityEvent::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> EntityEvent::_table_ = { + { + PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::EntityEvent>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.EventType event_type = 1 [json_name = "eventType"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EntityEvent, _impl_.event_type_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.event_type_)}}, + // .google.protobuf.Timestamp time = 2 [json_name = "time"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.time_)}}, + // .anduril.entitymanager.v1.Entity entity = 3 [json_name = "entity"]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.entity_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.EventType event_type = 1 [json_name = "eventType"]; + {PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.event_type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .google.protobuf.Timestamp time = 2 [json_name = "time"]; + {PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.time_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Entity entity = 3 [json_name = "entity"]; + {PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.entity_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void EntityEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.EntityEvent) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.time_ != nullptr); + _impl_.time_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.entity_ != nullptr); + _impl_.entity_->Clear(); + } + } + _impl_.event_type_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* EntityEvent::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const EntityEvent& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* EntityEvent::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const EntityEvent& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.EntityEvent) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.EventType event_type = 1 [json_name = "eventType"]; + if (this_._internal_event_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_event_type(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp time = 2 [json_name = "time"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.time_, this_._impl_.time_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Entity entity = 3 [json_name = "entity"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.entity_, this_._impl_.entity_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.EntityEvent) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t EntityEvent::ByteSizeLong(const MessageLite& base) { + const EntityEvent& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t EntityEvent::ByteSizeLong() const { + const EntityEvent& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.EntityEvent) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .google.protobuf.Timestamp time = 2 [json_name = "time"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.time_); + } + // .anduril.entitymanager.v1.Entity entity = 3 [json_name = "entity"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_); + } + } + { + // .anduril.entitymanager.v1.EventType event_type = 1 [json_name = "eventType"]; + if (this_._internal_event_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_event_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void EntityEvent::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.EntityEvent) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.time_ != nullptr); + if (_this->_impl_.time_ == nullptr) { + _this->_impl_.time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.time_); + } else { + _this->_impl_.time_->MergeFrom(*from._impl_.time_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.entity_ != nullptr); + if (_this->_impl_.entity_ == nullptr) { + _this->_impl_.entity_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.entity_); + } else { + _this->_impl_.entity_->MergeFrom(*from._impl_.entity_); + } + } + } + if (from._internal_event_type() != 0) { + _this->_impl_.event_type_ = from._impl_.event_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void EntityEvent::CopyFrom(const EntityEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.EntityEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void EntityEvent::InternalSwap(EntityEvent* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.event_type_) + + sizeof(EntityEvent::_impl_.event_type_) + - PROTOBUF_FIELD_OFFSET(EntityEvent, _impl_.time_)>( + reinterpret_cast(&_impl_.time_), + reinterpret_cast(&other->_impl_.time_)); +} + +::google::protobuf::Metadata EntityEvent::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Heartbeat::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Heartbeat, _impl_._has_bits_); +}; + +void Heartbeat::clear_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.timestamp_ != nullptr) _impl_.timestamp_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Heartbeat::Heartbeat(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Heartbeat) +} +inline PROTOBUF_NDEBUG_INLINE Heartbeat::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Heartbeat& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Heartbeat::Heartbeat( + ::google::protobuf::Arena* arena, + const Heartbeat& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Heartbeat* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.timestamp_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.timestamp_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Heartbeat) +} +inline PROTOBUF_NDEBUG_INLINE Heartbeat::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Heartbeat::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.timestamp_ = {}; +} +Heartbeat::~Heartbeat() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Heartbeat) + SharedDtor(*this); +} +inline void Heartbeat::SharedDtor(MessageLite& self) { + Heartbeat& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.timestamp_; + this_._impl_.~Impl_(); +} + +inline void* Heartbeat::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Heartbeat(arena); +} +constexpr auto Heartbeat::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Heartbeat), + alignof(Heartbeat)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Heartbeat::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Heartbeat_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Heartbeat::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Heartbeat::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Heartbeat::ByteSizeLong, + &Heartbeat::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Heartbeat, _impl_._cached_size_), + false, + }, + &Heartbeat::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Heartbeat::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Heartbeat::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Heartbeat, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Heartbeat>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Heartbeat, _impl_.timestamp_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"]; + {PROTOBUF_FIELD_OFFSET(Heartbeat, _impl_.timestamp_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Heartbeat::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Heartbeat) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.timestamp_ != nullptr); + _impl_.timestamp_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Heartbeat::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Heartbeat& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Heartbeat::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Heartbeat& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Heartbeat) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.timestamp_, this_._impl_.timestamp_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Heartbeat) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Heartbeat::ByteSizeLong(const MessageLite& base) { + const Heartbeat& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Heartbeat::ByteSizeLong() const { + const Heartbeat& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Heartbeat) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.timestamp_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Heartbeat::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Heartbeat) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.timestamp_ != nullptr); + if (_this->_impl_.timestamp_ == nullptr) { + _this->_impl_.timestamp_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.timestamp_); + } else { + _this->_impl_.timestamp_->MergeFrom(*from._impl_.timestamp_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Heartbeat::CopyFrom(const Heartbeat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Heartbeat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Heartbeat::InternalSwap(Heartbeat* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.timestamp_, other->_impl_.timestamp_); +} + +::google::protobuf::Metadata Heartbeat::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h new file mode 100644 index 0000000..d35c8cb --- /dev/null +++ b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub.pb.h @@ -0,0 +1,4541 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/entity.pub.pb.h" +#include "anduril/entitymanager/v1/filter.pub.pb.h" +#include "anduril/entitymanager/v1/rate_limit.pub.pb.h" +#include "anduril/entitymanager/v1/types.pub.pb.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class EntityEvent; +struct EntityEventDefaultTypeInternal; +extern EntityEventDefaultTypeInternal _EntityEvent_default_instance_; +class GetEntityRequest; +struct GetEntityRequestDefaultTypeInternal; +extern GetEntityRequestDefaultTypeInternal _GetEntityRequest_default_instance_; +class GetEntityResponse; +struct GetEntityResponseDefaultTypeInternal; +extern GetEntityResponseDefaultTypeInternal _GetEntityResponse_default_instance_; +class Heartbeat; +struct HeartbeatDefaultTypeInternal; +extern HeartbeatDefaultTypeInternal _Heartbeat_default_instance_; +class OverrideEntityRequest; +struct OverrideEntityRequestDefaultTypeInternal; +extern OverrideEntityRequestDefaultTypeInternal _OverrideEntityRequest_default_instance_; +class OverrideEntityResponse; +struct OverrideEntityResponseDefaultTypeInternal; +extern OverrideEntityResponseDefaultTypeInternal _OverrideEntityResponse_default_instance_; +class PublishEntitiesRequest; +struct PublishEntitiesRequestDefaultTypeInternal; +extern PublishEntitiesRequestDefaultTypeInternal _PublishEntitiesRequest_default_instance_; +class PublishEntitiesResponse; +struct PublishEntitiesResponseDefaultTypeInternal; +extern PublishEntitiesResponseDefaultTypeInternal _PublishEntitiesResponse_default_instance_; +class PublishEntityRequest; +struct PublishEntityRequestDefaultTypeInternal; +extern PublishEntityRequestDefaultTypeInternal _PublishEntityRequest_default_instance_; +class PublishEntityResponse; +struct PublishEntityResponseDefaultTypeInternal; +extern PublishEntityResponseDefaultTypeInternal _PublishEntityResponse_default_instance_; +class RemoveEntityOverrideRequest; +struct RemoveEntityOverrideRequestDefaultTypeInternal; +extern RemoveEntityOverrideRequestDefaultTypeInternal _RemoveEntityOverrideRequest_default_instance_; +class RemoveEntityOverrideResponse; +struct RemoveEntityOverrideResponseDefaultTypeInternal; +extern RemoveEntityOverrideResponseDefaultTypeInternal _RemoveEntityOverrideResponse_default_instance_; +class StreamEntityComponentsRequest; +struct StreamEntityComponentsRequestDefaultTypeInternal; +extern StreamEntityComponentsRequestDefaultTypeInternal _StreamEntityComponentsRequest_default_instance_; +class StreamEntityComponentsResponse; +struct StreamEntityComponentsResponseDefaultTypeInternal; +extern StreamEntityComponentsResponseDefaultTypeInternal _StreamEntityComponentsResponse_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum EventType : int { + EVENT_TYPE_INVALID = 0, + EVENT_TYPE_CREATED = 1, + EVENT_TYPE_UPDATE = 2, + EVENT_TYPE_DELETED = 3, + EVENT_TYPE_PREEXISTING = 4, + EVENT_TYPE_POST_EXPIRY_OVERRIDE = 5, + EventType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + EventType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool EventType_IsValid(int value); +extern const uint32_t EventType_internal_data_[]; +constexpr EventType EventType_MIN = static_cast(0); +constexpr EventType EventType_MAX = static_cast(5); +constexpr int EventType_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +EventType_descriptor(); +template +const std::string& EventType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to EventType_Name()."); + return EventType_Name(static_cast(value)); +} +template <> +inline const std::string& EventType_Name(EventType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool EventType_Parse(absl::string_view name, EventType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EventType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class RemoveEntityOverrideResponse final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RemoveEntityOverrideResponse) */ { + public: + inline RemoveEntityOverrideResponse() : RemoveEntityOverrideResponse(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RemoveEntityOverrideResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoveEntityOverrideResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RemoveEntityOverrideResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline RemoveEntityOverrideResponse(const RemoveEntityOverrideResponse& from) : RemoveEntityOverrideResponse(nullptr, from) {} + inline RemoveEntityOverrideResponse(RemoveEntityOverrideResponse&& from) noexcept + : RemoveEntityOverrideResponse(nullptr, std::move(from)) {} + inline RemoveEntityOverrideResponse& operator=(const RemoveEntityOverrideResponse& from) { + CopyFrom(from); + return *this; + } + inline RemoveEntityOverrideResponse& operator=(RemoveEntityOverrideResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RemoveEntityOverrideResponse& default_instance() { + return *internal_default_instance(); + } + static inline const RemoveEntityOverrideResponse* internal_default_instance() { + return reinterpret_cast( + &_RemoveEntityOverrideResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(RemoveEntityOverrideResponse& a, RemoveEntityOverrideResponse& b) { a.Swap(&b); } + inline void Swap(RemoveEntityOverrideResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RemoveEntityOverrideResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RemoveEntityOverrideResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const RemoveEntityOverrideResponse& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const RemoveEntityOverrideResponse& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RemoveEntityOverrideResponse"; } + + protected: + explicit RemoveEntityOverrideResponse(::google::protobuf::Arena* arena); + RemoveEntityOverrideResponse(::google::protobuf::Arena* arena, const RemoveEntityOverrideResponse& from); + RemoveEntityOverrideResponse(::google::protobuf::Arena* arena, RemoveEntityOverrideResponse&& from) noexcept + : RemoveEntityOverrideResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RemoveEntityOverrideResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RemoveEntityOverrideResponse& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class RemoveEntityOverrideRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RemoveEntityOverrideRequest) */ { + public: + inline RemoveEntityOverrideRequest() : RemoveEntityOverrideRequest(nullptr) {} + ~RemoveEntityOverrideRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RemoveEntityOverrideRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoveEntityOverrideRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RemoveEntityOverrideRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline RemoveEntityOverrideRequest(const RemoveEntityOverrideRequest& from) : RemoveEntityOverrideRequest(nullptr, from) {} + inline RemoveEntityOverrideRequest(RemoveEntityOverrideRequest&& from) noexcept + : RemoveEntityOverrideRequest(nullptr, std::move(from)) {} + inline RemoveEntityOverrideRequest& operator=(const RemoveEntityOverrideRequest& from) { + CopyFrom(from); + return *this; + } + inline RemoveEntityOverrideRequest& operator=(RemoveEntityOverrideRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RemoveEntityOverrideRequest& default_instance() { + return *internal_default_instance(); + } + static inline const RemoveEntityOverrideRequest* internal_default_instance() { + return reinterpret_cast( + &_RemoveEntityOverrideRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(RemoveEntityOverrideRequest& a, RemoveEntityOverrideRequest& b) { a.Swap(&b); } + inline void Swap(RemoveEntityOverrideRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RemoveEntityOverrideRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RemoveEntityOverrideRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RemoveEntityOverrideRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RemoveEntityOverrideRequest& from) { RemoveEntityOverrideRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RemoveEntityOverrideRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RemoveEntityOverrideRequest"; } + + protected: + explicit RemoveEntityOverrideRequest(::google::protobuf::Arena* arena); + RemoveEntityOverrideRequest(::google::protobuf::Arena* arena, const RemoveEntityOverrideRequest& from); + RemoveEntityOverrideRequest(::google::protobuf::Arena* arena, RemoveEntityOverrideRequest&& from) noexcept + : RemoveEntityOverrideRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldPathFieldNumber = 2, + kEntityIdFieldNumber = 1, + }; + // repeated string field_path = 2 [json_name = "fieldPath"]; + int field_path_size() const; + private: + int _internal_field_path_size() const; + + public: + void clear_field_path() ; + const std::string& field_path(int index) const; + std::string* mutable_field_path(int index); + template + void set_field_path(int index, Arg_&& value, Args_... args); + std::string* add_field_path(); + template + void add_field_path(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& field_path() const; + ::google::protobuf::RepeatedPtrField* mutable_field_path(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_field_path() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_field_path(); + + public: + // string entity_id = 1 [json_name = "entityId"]; + void clear_entity_id() ; + const std::string& entity_id() const; + template + void set_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_entity_id(); + PROTOBUF_NODISCARD std::string* release_entity_id(); + void set_allocated_entity_id(std::string* value); + + private: + const std::string& _internal_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_id( + const std::string& value); + std::string* _internal_mutable_entity_id(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RemoveEntityOverrideRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 80, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RemoveEntityOverrideRequest& from_msg); + ::google::protobuf::RepeatedPtrField field_path_; + ::google::protobuf::internal::ArenaStringPtr entity_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishEntityResponse final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PublishEntityResponse) */ { + public: + inline PublishEntityResponse() : PublishEntityResponse(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PublishEntityResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PublishEntityResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PublishEntityResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline PublishEntityResponse(const PublishEntityResponse& from) : PublishEntityResponse(nullptr, from) {} + inline PublishEntityResponse(PublishEntityResponse&& from) noexcept + : PublishEntityResponse(nullptr, std::move(from)) {} + inline PublishEntityResponse& operator=(const PublishEntityResponse& from) { + CopyFrom(from); + return *this; + } + inline PublishEntityResponse& operator=(PublishEntityResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PublishEntityResponse& default_instance() { + return *internal_default_instance(); + } + static inline const PublishEntityResponse* internal_default_instance() { + return reinterpret_cast( + &_PublishEntityResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(PublishEntityResponse& a, PublishEntityResponse& b) { a.Swap(&b); } + inline void Swap(PublishEntityResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PublishEntityResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishEntityResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const PublishEntityResponse& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const PublishEntityResponse& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PublishEntityResponse"; } + + protected: + explicit PublishEntityResponse(::google::protobuf::Arena* arena); + PublishEntityResponse(::google::protobuf::Arena* arena, const PublishEntityResponse& from); + PublishEntityResponse(::google::protobuf::Arena* arena, PublishEntityResponse&& from) noexcept + : PublishEntityResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PublishEntityResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PublishEntityResponse& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishEntitiesResponse final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PublishEntitiesResponse) */ { + public: + inline PublishEntitiesResponse() : PublishEntitiesResponse(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PublishEntitiesResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PublishEntitiesResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PublishEntitiesResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline PublishEntitiesResponse(const PublishEntitiesResponse& from) : PublishEntitiesResponse(nullptr, from) {} + inline PublishEntitiesResponse(PublishEntitiesResponse&& from) noexcept + : PublishEntitiesResponse(nullptr, std::move(from)) {} + inline PublishEntitiesResponse& operator=(const PublishEntitiesResponse& from) { + CopyFrom(from); + return *this; + } + inline PublishEntitiesResponse& operator=(PublishEntitiesResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PublishEntitiesResponse& default_instance() { + return *internal_default_instance(); + } + static inline const PublishEntitiesResponse* internal_default_instance() { + return reinterpret_cast( + &_PublishEntitiesResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(PublishEntitiesResponse& a, PublishEntitiesResponse& b) { a.Swap(&b); } + inline void Swap(PublishEntitiesResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PublishEntitiesResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishEntitiesResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const PublishEntitiesResponse& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const PublishEntitiesResponse& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PublishEntitiesResponse"; } + + protected: + explicit PublishEntitiesResponse(::google::protobuf::Arena* arena); + PublishEntitiesResponse(::google::protobuf::Arena* arena, const PublishEntitiesResponse& from); + PublishEntitiesResponse(::google::protobuf::Arena* arena, PublishEntitiesResponse&& from) noexcept + : PublishEntitiesResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PublishEntitiesResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PublishEntitiesResponse& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class OverrideEntityResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.OverrideEntityResponse) */ { + public: + inline OverrideEntityResponse() : OverrideEntityResponse(nullptr) {} + ~OverrideEntityResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OverrideEntityResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OverrideEntityResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OverrideEntityResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline OverrideEntityResponse(const OverrideEntityResponse& from) : OverrideEntityResponse(nullptr, from) {} + inline OverrideEntityResponse(OverrideEntityResponse&& from) noexcept + : OverrideEntityResponse(nullptr, std::move(from)) {} + inline OverrideEntityResponse& operator=(const OverrideEntityResponse& from) { + CopyFrom(from); + return *this; + } + inline OverrideEntityResponse& operator=(OverrideEntityResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const OverrideEntityResponse& default_instance() { + return *internal_default_instance(); + } + static inline const OverrideEntityResponse* internal_default_instance() { + return reinterpret_cast( + &_OverrideEntityResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(OverrideEntityResponse& a, OverrideEntityResponse& b) { a.Swap(&b); } + inline void Swap(OverrideEntityResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OverrideEntityResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OverrideEntityResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const OverrideEntityResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const OverrideEntityResponse& from) { OverrideEntityResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OverrideEntityResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.OverrideEntityResponse"; } + + protected: + explicit OverrideEntityResponse(::google::protobuf::Arena* arena); + OverrideEntityResponse(::google::protobuf::Arena* arena, const OverrideEntityResponse& from); + OverrideEntityResponse(::google::protobuf::Arena* arena, OverrideEntityResponse&& from) noexcept + : OverrideEntityResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kStatusFieldNumber = 1, + }; + // .anduril.entitymanager.v1.OverrideStatus status = 1 [json_name = "status"]; + void clear_status() ; + ::anduril::entitymanager::v1::OverrideStatus status() const; + void set_status(::anduril::entitymanager::v1::OverrideStatus value); + + private: + ::anduril::entitymanager::v1::OverrideStatus _internal_status() const; + void _internal_set_status(::anduril::entitymanager::v1::OverrideStatus value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.OverrideEntityResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const OverrideEntityResponse& from_msg); + int status_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GetEntityRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GetEntityRequest) */ { + public: + inline GetEntityRequest() : GetEntityRequest(nullptr) {} + ~GetEntityRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetEntityRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetEntityRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetEntityRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline GetEntityRequest(const GetEntityRequest& from) : GetEntityRequest(nullptr, from) {} + inline GetEntityRequest(GetEntityRequest&& from) noexcept + : GetEntityRequest(nullptr, std::move(from)) {} + inline GetEntityRequest& operator=(const GetEntityRequest& from) { + CopyFrom(from); + return *this; + } + inline GetEntityRequest& operator=(GetEntityRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetEntityRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetEntityRequest* internal_default_instance() { + return reinterpret_cast( + &_GetEntityRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(GetEntityRequest& a, GetEntityRequest& b) { a.Swap(&b); } + inline void Swap(GetEntityRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetEntityRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetEntityRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetEntityRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GetEntityRequest& from) { GetEntityRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetEntityRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GetEntityRequest"; } + + protected: + explicit GetEntityRequest(::google::protobuf::Arena* arena); + GetEntityRequest(::google::protobuf::Arena* arena, const GetEntityRequest& from); + GetEntityRequest(::google::protobuf::Arena* arena, GetEntityRequest&& from) noexcept + : GetEntityRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityIdFieldNumber = 1, + }; + // string entity_id = 1 [json_name = "entityId"]; + void clear_entity_id() ; + const std::string& entity_id() const; + template + void set_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_entity_id(); + PROTOBUF_NODISCARD std::string* release_entity_id(); + void set_allocated_entity_id(std::string* value); + + private: + const std::string& _internal_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_id( + const std::string& value); + std::string* _internal_mutable_entity_id(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GetEntityRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 59, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetEntityRequest& from_msg); + ::google::protobuf::internal::ArenaStringPtr entity_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Heartbeat final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Heartbeat) */ { + public: + inline Heartbeat() : Heartbeat(nullptr) {} + ~Heartbeat() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Heartbeat* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Heartbeat)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Heartbeat( + ::google::protobuf::internal::ConstantInitialized); + + inline Heartbeat(const Heartbeat& from) : Heartbeat(nullptr, from) {} + inline Heartbeat(Heartbeat&& from) noexcept + : Heartbeat(nullptr, std::move(from)) {} + inline Heartbeat& operator=(const Heartbeat& from) { + CopyFrom(from); + return *this; + } + inline Heartbeat& operator=(Heartbeat&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Heartbeat& default_instance() { + return *internal_default_instance(); + } + static inline const Heartbeat* internal_default_instance() { + return reinterpret_cast( + &_Heartbeat_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(Heartbeat& a, Heartbeat& b) { a.Swap(&b); } + inline void Swap(Heartbeat* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Heartbeat* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Heartbeat* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Heartbeat& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Heartbeat& from) { Heartbeat::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Heartbeat* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Heartbeat"; } + + protected: + explicit Heartbeat(::google::protobuf::Arena* arena); + Heartbeat(::google::protobuf::Arena* arena, const Heartbeat& from); + Heartbeat(::google::protobuf::Arena* arena, Heartbeat&& from) noexcept + : Heartbeat(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTimestampFieldNumber = 1, + }; + // .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"]; + bool has_timestamp() const; + void clear_timestamp() ; + const ::google::protobuf::Timestamp& timestamp() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_timestamp(); + ::google::protobuf::Timestamp* mutable_timestamp(); + void set_allocated_timestamp(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_timestamp(); + + private: + const ::google::protobuf::Timestamp& _internal_timestamp() const; + ::google::protobuf::Timestamp* _internal_mutable_timestamp(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Heartbeat) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Heartbeat& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::Timestamp* timestamp_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class StreamEntityComponentsRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.StreamEntityComponentsRequest) */ { + public: + inline StreamEntityComponentsRequest() : StreamEntityComponentsRequest(nullptr) {} + ~StreamEntityComponentsRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(StreamEntityComponentsRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(StreamEntityComponentsRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR StreamEntityComponentsRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline StreamEntityComponentsRequest(const StreamEntityComponentsRequest& from) : StreamEntityComponentsRequest(nullptr, from) {} + inline StreamEntityComponentsRequest(StreamEntityComponentsRequest&& from) noexcept + : StreamEntityComponentsRequest(nullptr, std::move(from)) {} + inline StreamEntityComponentsRequest& operator=(const StreamEntityComponentsRequest& from) { + CopyFrom(from); + return *this; + } + inline StreamEntityComponentsRequest& operator=(StreamEntityComponentsRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const StreamEntityComponentsRequest& default_instance() { + return *internal_default_instance(); + } + static inline const StreamEntityComponentsRequest* internal_default_instance() { + return reinterpret_cast( + &_StreamEntityComponentsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(StreamEntityComponentsRequest& a, StreamEntityComponentsRequest& b) { a.Swap(&b); } + inline void Swap(StreamEntityComponentsRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StreamEntityComponentsRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + StreamEntityComponentsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const StreamEntityComponentsRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const StreamEntityComponentsRequest& from) { StreamEntityComponentsRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(StreamEntityComponentsRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.StreamEntityComponentsRequest"; } + + protected: + explicit StreamEntityComponentsRequest(::google::protobuf::Arena* arena); + StreamEntityComponentsRequest(::google::protobuf::Arena* arena, const StreamEntityComponentsRequest& from); + StreamEntityComponentsRequest(::google::protobuf::Arena* arena, StreamEntityComponentsRequest&& from) noexcept + : StreamEntityComponentsRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kComponentsToIncludeFieldNumber = 1, + kFilterFieldNumber = 3, + kRateLimitFieldNumber = 4, + kIncludeAllComponentsFieldNumber = 2, + kPreexistingOnlyFieldNumber = 6, + kHeartbeatPeriodMillisFieldNumber = 5, + }; + // repeated string components_to_include = 1 [json_name = "componentsToInclude"]; + int components_to_include_size() const; + private: + int _internal_components_to_include_size() const; + + public: + void clear_components_to_include() ; + const std::string& components_to_include(int index) const; + std::string* mutable_components_to_include(int index); + template + void set_components_to_include(int index, Arg_&& value, Args_... args); + std::string* add_components_to_include(); + template + void add_components_to_include(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& components_to_include() const; + ::google::protobuf::RepeatedPtrField* mutable_components_to_include(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_components_to_include() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_components_to_include(); + + public: + // .anduril.entitymanager.v1.Statement filter = 3 [json_name = "filter"]; + bool has_filter() const; + void clear_filter() ; + const ::anduril::entitymanager::v1::Statement& filter() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Statement* release_filter(); + ::anduril::entitymanager::v1::Statement* mutable_filter(); + void set_allocated_filter(::anduril::entitymanager::v1::Statement* value); + void unsafe_arena_set_allocated_filter(::anduril::entitymanager::v1::Statement* value); + ::anduril::entitymanager::v1::Statement* unsafe_arena_release_filter(); + + private: + const ::anduril::entitymanager::v1::Statement& _internal_filter() const; + ::anduril::entitymanager::v1::Statement* _internal_mutable_filter(); + + public: + // .anduril.entitymanager.v1.RateLimit rate_limit = 4 [json_name = "rateLimit"]; + bool has_rate_limit() const; + void clear_rate_limit() ; + const ::anduril::entitymanager::v1::RateLimit& rate_limit() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::RateLimit* release_rate_limit(); + ::anduril::entitymanager::v1::RateLimit* mutable_rate_limit(); + void set_allocated_rate_limit(::anduril::entitymanager::v1::RateLimit* value); + void unsafe_arena_set_allocated_rate_limit(::anduril::entitymanager::v1::RateLimit* value); + ::anduril::entitymanager::v1::RateLimit* unsafe_arena_release_rate_limit(); + + private: + const ::anduril::entitymanager::v1::RateLimit& _internal_rate_limit() const; + ::anduril::entitymanager::v1::RateLimit* _internal_mutable_rate_limit(); + + public: + // bool include_all_components = 2 [json_name = "includeAllComponents"]; + void clear_include_all_components() ; + bool include_all_components() const; + void set_include_all_components(bool value); + + private: + bool _internal_include_all_components() const; + void _internal_set_include_all_components(bool value); + + public: + // bool preexisting_only = 6 [json_name = "preexistingOnly"]; + void clear_preexisting_only() ; + bool preexisting_only() const; + void set_preexisting_only(bool value); + + private: + bool _internal_preexisting_only() const; + void _internal_set_preexisting_only(bool value); + + public: + // uint32 heartbeat_period_millis = 5 [json_name = "heartbeatPeriodMillis"]; + void clear_heartbeat_period_millis() ; + ::uint32_t heartbeat_period_millis() const; + void set_heartbeat_period_millis(::uint32_t value); + + private: + ::uint32_t _internal_heartbeat_period_millis() const; + void _internal_set_heartbeat_period_millis(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.StreamEntityComponentsRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 2, + 84, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const StreamEntityComponentsRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField components_to_include_; + ::anduril::entitymanager::v1::Statement* filter_; + ::anduril::entitymanager::v1::RateLimit* rate_limit_; + bool include_all_components_; + bool preexisting_only_; + ::uint32_t heartbeat_period_millis_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishEntityRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PublishEntityRequest) */ { + public: + inline PublishEntityRequest() : PublishEntityRequest(nullptr) {} + ~PublishEntityRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PublishEntityRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PublishEntityRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PublishEntityRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline PublishEntityRequest(const PublishEntityRequest& from) : PublishEntityRequest(nullptr, from) {} + inline PublishEntityRequest(PublishEntityRequest&& from) noexcept + : PublishEntityRequest(nullptr, std::move(from)) {} + inline PublishEntityRequest& operator=(const PublishEntityRequest& from) { + CopyFrom(from); + return *this; + } + inline PublishEntityRequest& operator=(PublishEntityRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PublishEntityRequest& default_instance() { + return *internal_default_instance(); + } + static inline const PublishEntityRequest* internal_default_instance() { + return reinterpret_cast( + &_PublishEntityRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(PublishEntityRequest& a, PublishEntityRequest& b) { a.Swap(&b); } + inline void Swap(PublishEntityRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PublishEntityRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishEntityRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PublishEntityRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PublishEntityRequest& from) { PublishEntityRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PublishEntityRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PublishEntityRequest"; } + + protected: + explicit PublishEntityRequest(::google::protobuf::Arena* arena); + PublishEntityRequest(::google::protobuf::Arena* arena, const PublishEntityRequest& from); + PublishEntityRequest(::google::protobuf::Arena* arena, PublishEntityRequest&& from) noexcept + : PublishEntityRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + bool has_entity() const; + void clear_entity() ; + const ::anduril::entitymanager::v1::Entity& entity() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_entity(); + ::anduril::entitymanager::v1::Entity* mutable_entity(); + void set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_entity(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_entity() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_entity(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PublishEntityRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PublishEntityRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Entity* entity_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishEntitiesRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PublishEntitiesRequest) */ { + public: + inline PublishEntitiesRequest() : PublishEntitiesRequest(nullptr) {} + ~PublishEntitiesRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PublishEntitiesRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PublishEntitiesRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PublishEntitiesRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline PublishEntitiesRequest(const PublishEntitiesRequest& from) : PublishEntitiesRequest(nullptr, from) {} + inline PublishEntitiesRequest(PublishEntitiesRequest&& from) noexcept + : PublishEntitiesRequest(nullptr, std::move(from)) {} + inline PublishEntitiesRequest& operator=(const PublishEntitiesRequest& from) { + CopyFrom(from); + return *this; + } + inline PublishEntitiesRequest& operator=(PublishEntitiesRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PublishEntitiesRequest& default_instance() { + return *internal_default_instance(); + } + static inline const PublishEntitiesRequest* internal_default_instance() { + return reinterpret_cast( + &_PublishEntitiesRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(PublishEntitiesRequest& a, PublishEntitiesRequest& b) { a.Swap(&b); } + inline void Swap(PublishEntitiesRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PublishEntitiesRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishEntitiesRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PublishEntitiesRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PublishEntitiesRequest& from) { PublishEntitiesRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PublishEntitiesRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PublishEntitiesRequest"; } + + protected: + explicit PublishEntitiesRequest(::google::protobuf::Arena* arena); + PublishEntitiesRequest(::google::protobuf::Arena* arena, const PublishEntitiesRequest& from); + PublishEntitiesRequest(::google::protobuf::Arena* arena, PublishEntitiesRequest&& from) noexcept + : PublishEntitiesRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + bool has_entity() const; + void clear_entity() ; + const ::anduril::entitymanager::v1::Entity& entity() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_entity(); + ::anduril::entitymanager::v1::Entity* mutable_entity(); + void set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_entity(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_entity() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_entity(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PublishEntitiesRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PublishEntitiesRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Entity* entity_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class OverrideEntityRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.OverrideEntityRequest) */ { + public: + inline OverrideEntityRequest() : OverrideEntityRequest(nullptr) {} + ~OverrideEntityRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OverrideEntityRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OverrideEntityRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OverrideEntityRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline OverrideEntityRequest(const OverrideEntityRequest& from) : OverrideEntityRequest(nullptr, from) {} + inline OverrideEntityRequest(OverrideEntityRequest&& from) noexcept + : OverrideEntityRequest(nullptr, std::move(from)) {} + inline OverrideEntityRequest& operator=(const OverrideEntityRequest& from) { + CopyFrom(from); + return *this; + } + inline OverrideEntityRequest& operator=(OverrideEntityRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const OverrideEntityRequest& default_instance() { + return *internal_default_instance(); + } + static inline const OverrideEntityRequest* internal_default_instance() { + return reinterpret_cast( + &_OverrideEntityRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(OverrideEntityRequest& a, OverrideEntityRequest& b) { a.Swap(&b); } + inline void Swap(OverrideEntityRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OverrideEntityRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OverrideEntityRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const OverrideEntityRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const OverrideEntityRequest& from) { OverrideEntityRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OverrideEntityRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.OverrideEntityRequest"; } + + protected: + explicit OverrideEntityRequest(::google::protobuf::Arena* arena); + OverrideEntityRequest(::google::protobuf::Arena* arena, const OverrideEntityRequest& from); + OverrideEntityRequest(::google::protobuf::Arena* arena, OverrideEntityRequest&& from) noexcept + : OverrideEntityRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldPathFieldNumber = 2, + kEntityFieldNumber = 1, + kProvenanceFieldNumber = 3, + }; + // repeated string field_path = 2 [json_name = "fieldPath"]; + int field_path_size() const; + private: + int _internal_field_path_size() const; + + public: + void clear_field_path() ; + const std::string& field_path(int index) const; + std::string* mutable_field_path(int index); + template + void set_field_path(int index, Arg_&& value, Args_... args); + std::string* add_field_path(); + template + void add_field_path(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& field_path() const; + ::google::protobuf::RepeatedPtrField* mutable_field_path(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_field_path() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_field_path(); + + public: + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + bool has_entity() const; + void clear_entity() ; + const ::anduril::entitymanager::v1::Entity& entity() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_entity(); + ::anduril::entitymanager::v1::Entity* mutable_entity(); + void set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_entity(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_entity() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_entity(); + + public: + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + bool has_provenance() const; + void clear_provenance() ; + const ::anduril::entitymanager::v1::Provenance& provenance() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Provenance* release_provenance(); + ::anduril::entitymanager::v1::Provenance* mutable_provenance(); + void set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + void unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + ::anduril::entitymanager::v1::Provenance* unsafe_arena_release_provenance(); + + private: + const ::anduril::entitymanager::v1::Provenance& _internal_provenance() const; + ::anduril::entitymanager::v1::Provenance* _internal_mutable_provenance(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.OverrideEntityRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 65, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const OverrideEntityRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField field_path_; + ::anduril::entitymanager::v1::Entity* entity_; + ::anduril::entitymanager::v1::Provenance* provenance_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GetEntityResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GetEntityResponse) */ { + public: + inline GetEntityResponse() : GetEntityResponse(nullptr) {} + ~GetEntityResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetEntityResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetEntityResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetEntityResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline GetEntityResponse(const GetEntityResponse& from) : GetEntityResponse(nullptr, from) {} + inline GetEntityResponse(GetEntityResponse&& from) noexcept + : GetEntityResponse(nullptr, std::move(from)) {} + inline GetEntityResponse& operator=(const GetEntityResponse& from) { + CopyFrom(from); + return *this; + } + inline GetEntityResponse& operator=(GetEntityResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetEntityResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetEntityResponse* internal_default_instance() { + return reinterpret_cast( + &_GetEntityResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(GetEntityResponse& a, GetEntityResponse& b) { a.Swap(&b); } + inline void Swap(GetEntityResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetEntityResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetEntityResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetEntityResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GetEntityResponse& from) { GetEntityResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetEntityResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GetEntityResponse"; } + + protected: + explicit GetEntityResponse(::google::protobuf::Arena* arena); + GetEntityResponse(::google::protobuf::Arena* arena, const GetEntityResponse& from); + GetEntityResponse(::google::protobuf::Arena* arena, GetEntityResponse&& from) noexcept + : GetEntityResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + bool has_entity() const; + void clear_entity() ; + const ::anduril::entitymanager::v1::Entity& entity() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_entity(); + ::anduril::entitymanager::v1::Entity* mutable_entity(); + void set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_entity(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_entity() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_entity(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GetEntityResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetEntityResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Entity* entity_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class EntityEvent final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.EntityEvent) */ { + public: + inline EntityEvent() : EntityEvent(nullptr) {} + ~EntityEvent() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(EntityEvent* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(EntityEvent)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR EntityEvent( + ::google::protobuf::internal::ConstantInitialized); + + inline EntityEvent(const EntityEvent& from) : EntityEvent(nullptr, from) {} + inline EntityEvent(EntityEvent&& from) noexcept + : EntityEvent(nullptr, std::move(from)) {} + inline EntityEvent& operator=(const EntityEvent& from) { + CopyFrom(from); + return *this; + } + inline EntityEvent& operator=(EntityEvent&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const EntityEvent& default_instance() { + return *internal_default_instance(); + } + static inline const EntityEvent* internal_default_instance() { + return reinterpret_cast( + &_EntityEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(EntityEvent& a, EntityEvent& b) { a.Swap(&b); } + inline void Swap(EntityEvent* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(EntityEvent* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + EntityEvent* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const EntityEvent& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const EntityEvent& from) { EntityEvent::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(EntityEvent* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.EntityEvent"; } + + protected: + explicit EntityEvent(::google::protobuf::Arena* arena); + EntityEvent(::google::protobuf::Arena* arena, const EntityEvent& from); + EntityEvent(::google::protobuf::Arena* arena, EntityEvent&& from) noexcept + : EntityEvent(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTimeFieldNumber = 2, + kEntityFieldNumber = 3, + kEventTypeFieldNumber = 1, + }; + // .google.protobuf.Timestamp time = 2 [json_name = "time"]; + bool has_time() const; + void clear_time() ; + const ::google::protobuf::Timestamp& time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_time(); + ::google::protobuf::Timestamp* mutable_time(); + void set_allocated_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_time(); + + private: + const ::google::protobuf::Timestamp& _internal_time() const; + ::google::protobuf::Timestamp* _internal_mutable_time(); + + public: + // .anduril.entitymanager.v1.Entity entity = 3 [json_name = "entity"]; + bool has_entity() const; + void clear_entity() ; + const ::anduril::entitymanager::v1::Entity& entity() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_entity(); + ::anduril::entitymanager::v1::Entity* mutable_entity(); + void set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_entity(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_entity() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_entity(); + + public: + // .anduril.entitymanager.v1.EventType event_type = 1 [json_name = "eventType"]; + void clear_event_type() ; + ::anduril::entitymanager::v1::EventType event_type() const; + void set_event_type(::anduril::entitymanager::v1::EventType value); + + private: + ::anduril::entitymanager::v1::EventType _internal_event_type() const; + void _internal_set_event_type(::anduril::entitymanager::v1::EventType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.EntityEvent) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const EntityEvent& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::Timestamp* time_; + ::anduril::entitymanager::v1::Entity* entity_; + int event_type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class StreamEntityComponentsResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.StreamEntityComponentsResponse) */ { + public: + inline StreamEntityComponentsResponse() : StreamEntityComponentsResponse(nullptr) {} + ~StreamEntityComponentsResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(StreamEntityComponentsResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(StreamEntityComponentsResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR StreamEntityComponentsResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline StreamEntityComponentsResponse(const StreamEntityComponentsResponse& from) : StreamEntityComponentsResponse(nullptr, from) {} + inline StreamEntityComponentsResponse(StreamEntityComponentsResponse&& from) noexcept + : StreamEntityComponentsResponse(nullptr, std::move(from)) {} + inline StreamEntityComponentsResponse& operator=(const StreamEntityComponentsResponse& from) { + CopyFrom(from); + return *this; + } + inline StreamEntityComponentsResponse& operator=(StreamEntityComponentsResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const StreamEntityComponentsResponse& default_instance() { + return *internal_default_instance(); + } + static inline const StreamEntityComponentsResponse* internal_default_instance() { + return reinterpret_cast( + &_StreamEntityComponentsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(StreamEntityComponentsResponse& a, StreamEntityComponentsResponse& b) { a.Swap(&b); } + inline void Swap(StreamEntityComponentsResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StreamEntityComponentsResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + StreamEntityComponentsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const StreamEntityComponentsResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const StreamEntityComponentsResponse& from) { StreamEntityComponentsResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(StreamEntityComponentsResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.StreamEntityComponentsResponse"; } + + protected: + explicit StreamEntityComponentsResponse(::google::protobuf::Arena* arena); + StreamEntityComponentsResponse(::google::protobuf::Arena* arena, const StreamEntityComponentsResponse& from); + StreamEntityComponentsResponse(::google::protobuf::Arena* arena, StreamEntityComponentsResponse&& from) noexcept + : StreamEntityComponentsResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEntityEventFieldNumber = 1, + kHeartbeatFieldNumber = 2, + }; + // .anduril.entitymanager.v1.EntityEvent entity_event = 1 [json_name = "entityEvent"]; + bool has_entity_event() const; + void clear_entity_event() ; + const ::anduril::entitymanager::v1::EntityEvent& entity_event() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::EntityEvent* release_entity_event(); + ::anduril::entitymanager::v1::EntityEvent* mutable_entity_event(); + void set_allocated_entity_event(::anduril::entitymanager::v1::EntityEvent* value); + void unsafe_arena_set_allocated_entity_event(::anduril::entitymanager::v1::EntityEvent* value); + ::anduril::entitymanager::v1::EntityEvent* unsafe_arena_release_entity_event(); + + private: + const ::anduril::entitymanager::v1::EntityEvent& _internal_entity_event() const; + ::anduril::entitymanager::v1::EntityEvent* _internal_mutable_entity_event(); + + public: + // .anduril.entitymanager.v1.Heartbeat heartbeat = 2 [json_name = "heartbeat"]; + bool has_heartbeat() const; + void clear_heartbeat() ; + const ::anduril::entitymanager::v1::Heartbeat& heartbeat() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Heartbeat* release_heartbeat(); + ::anduril::entitymanager::v1::Heartbeat* mutable_heartbeat(); + void set_allocated_heartbeat(::anduril::entitymanager::v1::Heartbeat* value); + void unsafe_arena_set_allocated_heartbeat(::anduril::entitymanager::v1::Heartbeat* value); + ::anduril::entitymanager::v1::Heartbeat* unsafe_arena_release_heartbeat(); + + private: + const ::anduril::entitymanager::v1::Heartbeat& _internal_heartbeat() const; + ::anduril::entitymanager::v1::Heartbeat* _internal_mutable_heartbeat(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.StreamEntityComponentsResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const StreamEntityComponentsResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::EntityEvent* entity_event_; + ::anduril::entitymanager::v1::Heartbeat* heartbeat_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// PublishEntityRequest + +// .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; +inline bool PublishEntityRequest::has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Entity& PublishEntityRequest::_internal_entity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.entity_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& PublishEntityRequest::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PublishEntityRequest.entity) + return _internal_entity(); +} +inline void PublishEntityRequest::unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PublishEntityRequest.entity) +} +inline ::anduril::entitymanager::v1::Entity* PublishEntityRequest::release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* released = _impl_.entity_; + _impl_.entity_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* PublishEntityRequest::unsafe_arena_release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PublishEntityRequest.entity) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.entity_; + _impl_.entity_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* PublishEntityRequest::_internal_mutable_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.entity_; +} +inline ::anduril::entitymanager::v1::Entity* PublishEntityRequest::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_entity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PublishEntityRequest.entity) + return _msg; +} +inline void PublishEntityRequest::set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PublishEntityRequest.entity) +} + +// ------------------------------------------------------------------- + +// PublishEntityResponse + +// ------------------------------------------------------------------- + +// PublishEntitiesRequest + +// .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; +inline bool PublishEntitiesRequest::has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Entity& PublishEntitiesRequest::_internal_entity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.entity_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& PublishEntitiesRequest::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PublishEntitiesRequest.entity) + return _internal_entity(); +} +inline void PublishEntitiesRequest::unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PublishEntitiesRequest.entity) +} +inline ::anduril::entitymanager::v1::Entity* PublishEntitiesRequest::release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* released = _impl_.entity_; + _impl_.entity_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* PublishEntitiesRequest::unsafe_arena_release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PublishEntitiesRequest.entity) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.entity_; + _impl_.entity_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* PublishEntitiesRequest::_internal_mutable_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.entity_; +} +inline ::anduril::entitymanager::v1::Entity* PublishEntitiesRequest::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_entity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PublishEntitiesRequest.entity) + return _msg; +} +inline void PublishEntitiesRequest::set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PublishEntitiesRequest.entity) +} + +// ------------------------------------------------------------------- + +// PublishEntitiesResponse + +// ------------------------------------------------------------------- + +// GetEntityRequest + +// string entity_id = 1 [json_name = "entityId"]; +inline void GetEntityRequest::clear_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.ClearToEmpty(); +} +inline const std::string& GetEntityRequest::entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GetEntityRequest.entity_id) + return _internal_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void GetEntityRequest::set_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.GetEntityRequest.entity_id) +} +inline std::string* GetEntityRequest::mutable_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GetEntityRequest.entity_id) + return _s; +} +inline const std::string& GetEntityRequest::_internal_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.entity_id_.Get(); +} +inline void GetEntityRequest::_internal_set_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(value, GetArena()); +} +inline std::string* GetEntityRequest::_internal_mutable_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.entity_id_.Mutable( GetArena()); +} +inline std::string* GetEntityRequest::release_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GetEntityRequest.entity_id) + return _impl_.entity_id_.Release(); +} +inline void GetEntityRequest::set_allocated_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entity_id_.IsDefault()) { + _impl_.entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GetEntityRequest.entity_id) +} + +// ------------------------------------------------------------------- + +// GetEntityResponse + +// .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; +inline bool GetEntityResponse::has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Entity& GetEntityResponse::_internal_entity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.entity_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& GetEntityResponse::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GetEntityResponse.entity) + return _internal_entity(); +} +inline void GetEntityResponse::unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GetEntityResponse.entity) +} +inline ::anduril::entitymanager::v1::Entity* GetEntityResponse::release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* released = _impl_.entity_; + _impl_.entity_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* GetEntityResponse::unsafe_arena_release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GetEntityResponse.entity) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.entity_; + _impl_.entity_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* GetEntityResponse::_internal_mutable_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.entity_; +} +inline ::anduril::entitymanager::v1::Entity* GetEntityResponse::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_entity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GetEntityResponse.entity) + return _msg; +} +inline void GetEntityResponse::set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GetEntityResponse.entity) +} + +// ------------------------------------------------------------------- + +// OverrideEntityRequest + +// .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; +inline bool OverrideEntityRequest::has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Entity& OverrideEntityRequest::_internal_entity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.entity_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& OverrideEntityRequest::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideEntityRequest.entity) + return _internal_entity(); +} +inline void OverrideEntityRequest::unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.OverrideEntityRequest.entity) +} +inline ::anduril::entitymanager::v1::Entity* OverrideEntityRequest::release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* released = _impl_.entity_; + _impl_.entity_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* OverrideEntityRequest::unsafe_arena_release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OverrideEntityRequest.entity) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.entity_; + _impl_.entity_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* OverrideEntityRequest::_internal_mutable_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.entity_; +} +inline ::anduril::entitymanager::v1::Entity* OverrideEntityRequest::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_entity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OverrideEntityRequest.entity) + return _msg; +} +inline void OverrideEntityRequest::set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OverrideEntityRequest.entity) +} + +// repeated string field_path = 2 [json_name = "fieldPath"]; +inline int OverrideEntityRequest::_internal_field_path_size() const { + return _internal_field_path().size(); +} +inline int OverrideEntityRequest::field_path_size() const { + return _internal_field_path_size(); +} +inline void OverrideEntityRequest::clear_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Clear(); +} +inline std::string* OverrideEntityRequest::add_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_field_path()->Add(); + // @@protoc_insertion_point(field_add_mutable:anduril.entitymanager.v1.OverrideEntityRequest.field_path) + return _s; +} +inline const std::string& OverrideEntityRequest::field_path(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideEntityRequest.field_path) + return _internal_field_path().Get(index); +} +inline std::string* OverrideEntityRequest::mutable_field_path(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OverrideEntityRequest.field_path) + return _internal_mutable_field_path()->Mutable(index); +} +template +inline void OverrideEntityRequest::set_field_path(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_field_path()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.OverrideEntityRequest.field_path) +} +template +inline void OverrideEntityRequest::add_field_path(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_field_path(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.OverrideEntityRequest.field_path) +} +inline const ::google::protobuf::RepeatedPtrField& +OverrideEntityRequest::field_path() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.OverrideEntityRequest.field_path) + return _internal_field_path(); +} +inline ::google::protobuf::RepeatedPtrField* +OverrideEntityRequest::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.OverrideEntityRequest.field_path) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_field_path(); +} +inline const ::google::protobuf::RepeatedPtrField& +OverrideEntityRequest::_internal_field_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.field_path_; +} +inline ::google::protobuf::RepeatedPtrField* +OverrideEntityRequest::_internal_mutable_field_path() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.field_path_; +} + +// .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; +inline bool OverrideEntityRequest::has_provenance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.provenance_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Provenance& OverrideEntityRequest::_internal_provenance() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Provenance* p = _impl_.provenance_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Provenance_default_instance_); +} +inline const ::anduril::entitymanager::v1::Provenance& OverrideEntityRequest::provenance() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideEntityRequest.provenance) + return _internal_provenance(); +} +inline void OverrideEntityRequest::unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.OverrideEntityRequest.provenance) +} +inline ::anduril::entitymanager::v1::Provenance* OverrideEntityRequest::release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Provenance* released = _impl_.provenance_; + _impl_.provenance_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Provenance* OverrideEntityRequest::unsafe_arena_release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OverrideEntityRequest.provenance) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Provenance* temp = _impl_.provenance_; + _impl_.provenance_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Provenance* OverrideEntityRequest::_internal_mutable_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Provenance>(GetArena()); + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(p); + } + return _impl_.provenance_; +} +inline ::anduril::entitymanager::v1::Provenance* OverrideEntityRequest::mutable_provenance() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Provenance* _msg = _internal_mutable_provenance(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OverrideEntityRequest.provenance) + return _msg; +} +inline void OverrideEntityRequest::set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OverrideEntityRequest.provenance) +} + +// ------------------------------------------------------------------- + +// OverrideEntityResponse + +// .anduril.entitymanager.v1.OverrideStatus status = 1 [json_name = "status"]; +inline void OverrideEntityResponse::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = 0; +} +inline ::anduril::entitymanager::v1::OverrideStatus OverrideEntityResponse::status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideEntityResponse.status) + return _internal_status(); +} +inline void OverrideEntityResponse::set_status(::anduril::entitymanager::v1::OverrideStatus value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.OverrideEntityResponse.status) +} +inline ::anduril::entitymanager::v1::OverrideStatus OverrideEntityResponse::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::OverrideStatus>(_impl_.status_); +} +inline void OverrideEntityResponse::_internal_set_status(::anduril::entitymanager::v1::OverrideStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = value; +} + +// ------------------------------------------------------------------- + +// RemoveEntityOverrideRequest + +// string entity_id = 1 [json_name = "entityId"]; +inline void RemoveEntityOverrideRequest::clear_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.ClearToEmpty(); +} +inline const std::string& RemoveEntityOverrideRequest::entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RemoveEntityOverrideRequest.entity_id) + return _internal_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void RemoveEntityOverrideRequest::set_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.RemoveEntityOverrideRequest.entity_id) +} +inline std::string* RemoveEntityOverrideRequest::mutable_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RemoveEntityOverrideRequest.entity_id) + return _s; +} +inline const std::string& RemoveEntityOverrideRequest::_internal_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.entity_id_.Get(); +} +inline void RemoveEntityOverrideRequest::_internal_set_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.Set(value, GetArena()); +} +inline std::string* RemoveEntityOverrideRequest::_internal_mutable_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.entity_id_.Mutable( GetArena()); +} +inline std::string* RemoveEntityOverrideRequest::release_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RemoveEntityOverrideRequest.entity_id) + return _impl_.entity_id_.Release(); +} +inline void RemoveEntityOverrideRequest::set_allocated_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entity_id_.IsDefault()) { + _impl_.entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RemoveEntityOverrideRequest.entity_id) +} + +// repeated string field_path = 2 [json_name = "fieldPath"]; +inline int RemoveEntityOverrideRequest::_internal_field_path_size() const { + return _internal_field_path().size(); +} +inline int RemoveEntityOverrideRequest::field_path_size() const { + return _internal_field_path_size(); +} +inline void RemoveEntityOverrideRequest::clear_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Clear(); +} +inline std::string* RemoveEntityOverrideRequest::add_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_field_path()->Add(); + // @@protoc_insertion_point(field_add_mutable:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) + return _s; +} +inline const std::string& RemoveEntityOverrideRequest::field_path(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) + return _internal_field_path().Get(index); +} +inline std::string* RemoveEntityOverrideRequest::mutable_field_path(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) + return _internal_mutable_field_path()->Mutable(index); +} +template +inline void RemoveEntityOverrideRequest::set_field_path(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_field_path()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) +} +template +inline void RemoveEntityOverrideRequest::add_field_path(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_field_path(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) +} +inline const ::google::protobuf::RepeatedPtrField& +RemoveEntityOverrideRequest::field_path() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) + return _internal_field_path(); +} +inline ::google::protobuf::RepeatedPtrField* +RemoveEntityOverrideRequest::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.RemoveEntityOverrideRequest.field_path) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_field_path(); +} +inline const ::google::protobuf::RepeatedPtrField& +RemoveEntityOverrideRequest::_internal_field_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.field_path_; +} +inline ::google::protobuf::RepeatedPtrField* +RemoveEntityOverrideRequest::_internal_mutable_field_path() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.field_path_; +} + +// ------------------------------------------------------------------- + +// RemoveEntityOverrideResponse + +// ------------------------------------------------------------------- + +// StreamEntityComponentsRequest + +// repeated string components_to_include = 1 [json_name = "componentsToInclude"]; +inline int StreamEntityComponentsRequest::_internal_components_to_include_size() const { + return _internal_components_to_include().size(); +} +inline int StreamEntityComponentsRequest::components_to_include_size() const { + return _internal_components_to_include_size(); +} +inline void StreamEntityComponentsRequest::clear_components_to_include() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.components_to_include_.Clear(); +} +inline std::string* StreamEntityComponentsRequest::add_components_to_include() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_components_to_include()->Add(); + // @@protoc_insertion_point(field_add_mutable:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) + return _s; +} +inline const std::string& StreamEntityComponentsRequest::components_to_include(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) + return _internal_components_to_include().Get(index); +} +inline std::string* StreamEntityComponentsRequest::mutable_components_to_include(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) + return _internal_mutable_components_to_include()->Mutable(index); +} +template +inline void StreamEntityComponentsRequest::set_components_to_include(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_components_to_include()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) +} +template +inline void StreamEntityComponentsRequest::add_components_to_include(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_components_to_include(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) +} +inline const ::google::protobuf::RepeatedPtrField& +StreamEntityComponentsRequest::components_to_include() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) + return _internal_components_to_include(); +} +inline ::google::protobuf::RepeatedPtrField* +StreamEntityComponentsRequest::mutable_components_to_include() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.StreamEntityComponentsRequest.components_to_include) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_components_to_include(); +} +inline const ::google::protobuf::RepeatedPtrField& +StreamEntityComponentsRequest::_internal_components_to_include() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.components_to_include_; +} +inline ::google::protobuf::RepeatedPtrField* +StreamEntityComponentsRequest::_internal_mutable_components_to_include() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.components_to_include_; +} + +// bool include_all_components = 2 [json_name = "includeAllComponents"]; +inline void StreamEntityComponentsRequest::clear_include_all_components() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.include_all_components_ = false; +} +inline bool StreamEntityComponentsRequest::include_all_components() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsRequest.include_all_components) + return _internal_include_all_components(); +} +inline void StreamEntityComponentsRequest::set_include_all_components(bool value) { + _internal_set_include_all_components(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.StreamEntityComponentsRequest.include_all_components) +} +inline bool StreamEntityComponentsRequest::_internal_include_all_components() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.include_all_components_; +} +inline void StreamEntityComponentsRequest::_internal_set_include_all_components(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.include_all_components_ = value; +} + +// .anduril.entitymanager.v1.Statement filter = 3 [json_name = "filter"]; +inline bool StreamEntityComponentsRequest::has_filter() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.filter_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Statement& StreamEntityComponentsRequest::_internal_filter() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Statement* p = _impl_.filter_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Statement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Statement& StreamEntityComponentsRequest::filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsRequest.filter) + return _internal_filter(); +} +inline void StreamEntityComponentsRequest::unsafe_arena_set_allocated_filter(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.filter_); + } + _impl_.filter_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsRequest.filter) +} +inline ::anduril::entitymanager::v1::Statement* StreamEntityComponentsRequest::release_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Statement* released = _impl_.filter_; + _impl_.filter_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Statement* StreamEntityComponentsRequest::unsafe_arena_release_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.StreamEntityComponentsRequest.filter) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Statement* temp = _impl_.filter_; + _impl_.filter_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Statement* StreamEntityComponentsRequest::_internal_mutable_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.filter_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Statement>(GetArena()); + _impl_.filter_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(p); + } + return _impl_.filter_; +} +inline ::anduril::entitymanager::v1::Statement* StreamEntityComponentsRequest::mutable_filter() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Statement* _msg = _internal_mutable_filter(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StreamEntityComponentsRequest.filter) + return _msg; +} +inline void StreamEntityComponentsRequest::set_allocated_filter(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.filter_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.filter_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsRequest.filter) +} + +// .anduril.entitymanager.v1.RateLimit rate_limit = 4 [json_name = "rateLimit"]; +inline bool StreamEntityComponentsRequest::has_rate_limit() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.rate_limit_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::RateLimit& StreamEntityComponentsRequest::_internal_rate_limit() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::RateLimit* p = _impl_.rate_limit_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_RateLimit_default_instance_); +} +inline const ::anduril::entitymanager::v1::RateLimit& StreamEntityComponentsRequest::rate_limit() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsRequest.rate_limit) + return _internal_rate_limit(); +} +inline void StreamEntityComponentsRequest::unsafe_arena_set_allocated_rate_limit(::anduril::entitymanager::v1::RateLimit* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rate_limit_); + } + _impl_.rate_limit_ = reinterpret_cast<::anduril::entitymanager::v1::RateLimit*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsRequest.rate_limit) +} +inline ::anduril::entitymanager::v1::RateLimit* StreamEntityComponentsRequest::release_rate_limit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::RateLimit* released = _impl_.rate_limit_; + _impl_.rate_limit_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::RateLimit* StreamEntityComponentsRequest::unsafe_arena_release_rate_limit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.StreamEntityComponentsRequest.rate_limit) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::RateLimit* temp = _impl_.rate_limit_; + _impl_.rate_limit_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::RateLimit* StreamEntityComponentsRequest::_internal_mutable_rate_limit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rate_limit_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::RateLimit>(GetArena()); + _impl_.rate_limit_ = reinterpret_cast<::anduril::entitymanager::v1::RateLimit*>(p); + } + return _impl_.rate_limit_; +} +inline ::anduril::entitymanager::v1::RateLimit* StreamEntityComponentsRequest::mutable_rate_limit() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::RateLimit* _msg = _internal_mutable_rate_limit(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StreamEntityComponentsRequest.rate_limit) + return _msg; +} +inline void StreamEntityComponentsRequest::set_allocated_rate_limit(::anduril::entitymanager::v1::RateLimit* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rate_limit_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.rate_limit_ = reinterpret_cast<::anduril::entitymanager::v1::RateLimit*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsRequest.rate_limit) +} + +// uint32 heartbeat_period_millis = 5 [json_name = "heartbeatPeriodMillis"]; +inline void StreamEntityComponentsRequest::clear_heartbeat_period_millis() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.heartbeat_period_millis_ = 0u; +} +inline ::uint32_t StreamEntityComponentsRequest::heartbeat_period_millis() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsRequest.heartbeat_period_millis) + return _internal_heartbeat_period_millis(); +} +inline void StreamEntityComponentsRequest::set_heartbeat_period_millis(::uint32_t value) { + _internal_set_heartbeat_period_millis(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.StreamEntityComponentsRequest.heartbeat_period_millis) +} +inline ::uint32_t StreamEntityComponentsRequest::_internal_heartbeat_period_millis() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.heartbeat_period_millis_; +} +inline void StreamEntityComponentsRequest::_internal_set_heartbeat_period_millis(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.heartbeat_period_millis_ = value; +} + +// bool preexisting_only = 6 [json_name = "preexistingOnly"]; +inline void StreamEntityComponentsRequest::clear_preexisting_only() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.preexisting_only_ = false; +} +inline bool StreamEntityComponentsRequest::preexisting_only() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsRequest.preexisting_only) + return _internal_preexisting_only(); +} +inline void StreamEntityComponentsRequest::set_preexisting_only(bool value) { + _internal_set_preexisting_only(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.StreamEntityComponentsRequest.preexisting_only) +} +inline bool StreamEntityComponentsRequest::_internal_preexisting_only() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.preexisting_only_; +} +inline void StreamEntityComponentsRequest::_internal_set_preexisting_only(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.preexisting_only_ = value; +} + +// ------------------------------------------------------------------- + +// StreamEntityComponentsResponse + +// .anduril.entitymanager.v1.EntityEvent entity_event = 1 [json_name = "entityEvent"]; +inline bool StreamEntityComponentsResponse::has_entity_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_event_ != nullptr); + return value; +} +inline void StreamEntityComponentsResponse::clear_entity_event() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_event_ != nullptr) _impl_.entity_event_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::EntityEvent& StreamEntityComponentsResponse::_internal_entity_event() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::EntityEvent* p = _impl_.entity_event_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_EntityEvent_default_instance_); +} +inline const ::anduril::entitymanager::v1::EntityEvent& StreamEntityComponentsResponse::entity_event() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsResponse.entity_event) + return _internal_entity_event(); +} +inline void StreamEntityComponentsResponse::unsafe_arena_set_allocated_entity_event(::anduril::entitymanager::v1::EntityEvent* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_event_); + } + _impl_.entity_event_ = reinterpret_cast<::anduril::entitymanager::v1::EntityEvent*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsResponse.entity_event) +} +inline ::anduril::entitymanager::v1::EntityEvent* StreamEntityComponentsResponse::release_entity_event() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::EntityEvent* released = _impl_.entity_event_; + _impl_.entity_event_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::EntityEvent* StreamEntityComponentsResponse::unsafe_arena_release_entity_event() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.StreamEntityComponentsResponse.entity_event) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::EntityEvent* temp = _impl_.entity_event_; + _impl_.entity_event_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::EntityEvent* StreamEntityComponentsResponse::_internal_mutable_entity_event() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_event_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::EntityEvent>(GetArena()); + _impl_.entity_event_ = reinterpret_cast<::anduril::entitymanager::v1::EntityEvent*>(p); + } + return _impl_.entity_event_; +} +inline ::anduril::entitymanager::v1::EntityEvent* StreamEntityComponentsResponse::mutable_entity_event() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::EntityEvent* _msg = _internal_mutable_entity_event(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StreamEntityComponentsResponse.entity_event) + return _msg; +} +inline void StreamEntityComponentsResponse::set_allocated_entity_event(::anduril::entitymanager::v1::EntityEvent* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.entity_event_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.entity_event_ = reinterpret_cast<::anduril::entitymanager::v1::EntityEvent*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsResponse.entity_event) +} + +// .anduril.entitymanager.v1.Heartbeat heartbeat = 2 [json_name = "heartbeat"]; +inline bool StreamEntityComponentsResponse::has_heartbeat() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.heartbeat_ != nullptr); + return value; +} +inline void StreamEntityComponentsResponse::clear_heartbeat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.heartbeat_ != nullptr) _impl_.heartbeat_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::Heartbeat& StreamEntityComponentsResponse::_internal_heartbeat() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Heartbeat* p = _impl_.heartbeat_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Heartbeat_default_instance_); +} +inline const ::anduril::entitymanager::v1::Heartbeat& StreamEntityComponentsResponse::heartbeat() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StreamEntityComponentsResponse.heartbeat) + return _internal_heartbeat(); +} +inline void StreamEntityComponentsResponse::unsafe_arena_set_allocated_heartbeat(::anduril::entitymanager::v1::Heartbeat* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.heartbeat_); + } + _impl_.heartbeat_ = reinterpret_cast<::anduril::entitymanager::v1::Heartbeat*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsResponse.heartbeat) +} +inline ::anduril::entitymanager::v1::Heartbeat* StreamEntityComponentsResponse::release_heartbeat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Heartbeat* released = _impl_.heartbeat_; + _impl_.heartbeat_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Heartbeat* StreamEntityComponentsResponse::unsafe_arena_release_heartbeat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.StreamEntityComponentsResponse.heartbeat) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Heartbeat* temp = _impl_.heartbeat_; + _impl_.heartbeat_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Heartbeat* StreamEntityComponentsResponse::_internal_mutable_heartbeat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.heartbeat_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Heartbeat>(GetArena()); + _impl_.heartbeat_ = reinterpret_cast<::anduril::entitymanager::v1::Heartbeat*>(p); + } + return _impl_.heartbeat_; +} +inline ::anduril::entitymanager::v1::Heartbeat* StreamEntityComponentsResponse::mutable_heartbeat() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Heartbeat* _msg = _internal_mutable_heartbeat(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StreamEntityComponentsResponse.heartbeat) + return _msg; +} +inline void StreamEntityComponentsResponse::set_allocated_heartbeat(::anduril::entitymanager::v1::Heartbeat* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.heartbeat_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.heartbeat_ = reinterpret_cast<::anduril::entitymanager::v1::Heartbeat*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.StreamEntityComponentsResponse.heartbeat) +} + +// ------------------------------------------------------------------- + +// EntityEvent + +// .anduril.entitymanager.v1.EventType event_type = 1 [json_name = "eventType"]; +inline void EntityEvent::clear_event_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.event_type_ = 0; +} +inline ::anduril::entitymanager::v1::EventType EntityEvent::event_type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.EntityEvent.event_type) + return _internal_event_type(); +} +inline void EntityEvent::set_event_type(::anduril::entitymanager::v1::EventType value) { + _internal_set_event_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.EntityEvent.event_type) +} +inline ::anduril::entitymanager::v1::EventType EntityEvent::_internal_event_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::EventType>(_impl_.event_type_); +} +inline void EntityEvent::_internal_set_event_type(::anduril::entitymanager::v1::EventType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.event_type_ = value; +} + +// .google.protobuf.Timestamp time = 2 [json_name = "time"]; +inline bool EntityEvent::has_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& EntityEvent::_internal_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& EntityEvent::time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.EntityEvent.time) + return _internal_time(); +} +inline void EntityEvent::unsafe_arena_set_allocated_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.time_); + } + _impl_.time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.EntityEvent.time) +} +inline ::google::protobuf::Timestamp* EntityEvent::release_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.time_; + _impl_.time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* EntityEvent::unsafe_arena_release_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.EntityEvent.time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.time_; + _impl_.time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* EntityEvent::_internal_mutable_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.time_; +} +inline ::google::protobuf::Timestamp* EntityEvent::mutable_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.EntityEvent.time) + return _msg; +} +inline void EntityEvent::set_allocated_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.EntityEvent.time) +} + +// .anduril.entitymanager.v1.Entity entity = 3 [json_name = "entity"]; +inline bool EntityEvent::has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Entity& EntityEvent::_internal_entity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.entity_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& EntityEvent::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.EntityEvent.entity) + return _internal_entity(); +} +inline void EntityEvent::unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.EntityEvent.entity) +} +inline ::anduril::entitymanager::v1::Entity* EntityEvent::release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Entity* released = _impl_.entity_; + _impl_.entity_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* EntityEvent::unsafe_arena_release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.EntityEvent.entity) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.entity_; + _impl_.entity_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* EntityEvent::_internal_mutable_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.entity_; +} +inline ::anduril::entitymanager::v1::Entity* EntityEvent::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_entity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.EntityEvent.entity) + return _msg; +} +inline void EntityEvent::set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.EntityEvent.entity) +} + +// ------------------------------------------------------------------- + +// Heartbeat + +// .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"]; +inline bool Heartbeat::has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.timestamp_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Heartbeat::_internal_timestamp() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.timestamp_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Heartbeat::timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Heartbeat.timestamp) + return _internal_timestamp(); +} +inline void Heartbeat::unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); + } + _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Heartbeat.timestamp) +} +inline ::google::protobuf::Timestamp* Heartbeat::release_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.timestamp_; + _impl_.timestamp_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Heartbeat::unsafe_arena_release_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Heartbeat.timestamp) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.timestamp_; + _impl_.timestamp_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Heartbeat::_internal_mutable_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.timestamp_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.timestamp_; +} +inline ::google::protobuf::Timestamp* Heartbeat::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Heartbeat.timestamp) + return _msg; +} +inline void Heartbeat::set_allocated_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Heartbeat.timestamp) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::EventType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::EventType>() { + return ::anduril::entitymanager::v1::EventType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fentity_5fmanager_5fgrpcapi_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/filter.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/filter.pub.grpc.pb.cc new file mode 100644 index 0000000..a9c7620 --- /dev/null +++ b/src/anduril/entitymanager/v1/filter.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/filter.pub.proto + +#include "anduril/entitymanager/v1/filter.pub.pb.h" +#include "anduril/entitymanager/v1/filter.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/filter.pub.grpc.pb.h b/src/anduril/entitymanager/v1/filter.pub.grpc.pb.h new file mode 100644 index 0000000..28c4bf5 --- /dev/null +++ b/src/anduril/entitymanager/v1/filter.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/filter.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/filter.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/filter.pub.pb.cc b/src/anduril/entitymanager/v1/filter.pub.pb.cc new file mode 100644 index 0000000..a5965ac --- /dev/null +++ b/src/anduril/entitymanager/v1/filter.pub.pb.cc @@ -0,0 +1,6970 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/filter.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/filter.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr StringType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR StringType::StringType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StringTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR StringTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StringTypeDefaultTypeInternal() {} + union { + StringType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringTypeDefaultTypeInternal _StringType_default_instance_; + +inline constexpr NumericType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR NumericType::NumericType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct NumericTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR NumericTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~NumericTypeDefaultTypeInternal() {} + union { + NumericType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NumericTypeDefaultTypeInternal _NumericType_default_instance_; + +inline constexpr HeadingType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR HeadingType::HeadingType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct HeadingTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR HeadingTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HeadingTypeDefaultTypeInternal() {} + union { + HeadingType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeadingTypeDefaultTypeInternal _HeadingType_default_instance_; + +inline constexpr EnumType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR EnumType::EnumType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct EnumTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR EnumTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~EnumTypeDefaultTypeInternal() {} + union { + EnumType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumTypeDefaultTypeInternal _EnumType_default_instance_; + +inline constexpr BooleanType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{false}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BooleanType::BooleanType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BooleanTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR BooleanTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BooleanTypeDefaultTypeInternal() {} + union { + BooleanType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BooleanTypeDefaultTypeInternal _BooleanType_default_instance_; + +inline constexpr TimestampType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + value_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TimestampType::TimestampType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TimestampTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR TimestampTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TimestampTypeDefaultTypeInternal() {} + union { + TimestampType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TimestampTypeDefaultTypeInternal _TimestampType_default_instance_; + +inline constexpr RangeType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + start_{nullptr}, + end_{nullptr} {} + +template +PROTOBUF_CONSTEXPR RangeType::RangeType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RangeTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR RangeTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RangeTypeDefaultTypeInternal() {} + union { + RangeType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RangeTypeDefaultTypeInternal _RangeType_default_instance_; + +inline constexpr PositionType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + value_{nullptr} {} + +template +PROTOBUF_CONSTEXPR PositionType::PositionType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PositionTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR PositionTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PositionTypeDefaultTypeInternal() {} + union { + PositionType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PositionTypeDefaultTypeInternal _PositionType_default_instance_; + +inline constexpr BoundedShapeType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR BoundedShapeType::BoundedShapeType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BoundedShapeTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR BoundedShapeTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BoundedShapeTypeDefaultTypeInternal() {} + union { + BoundedShapeType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoundedShapeTypeDefaultTypeInternal _BoundedShapeType_default_instance_; + +inline constexpr ListType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : values_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ListType::ListType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ListTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR ListTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ListTypeDefaultTypeInternal() {} + union { + ListType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListTypeDefaultTypeInternal _ListType_default_instance_; + +inline constexpr Value::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : type_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR Value::Value(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ValueDefaultTypeInternal() {} + union { + Value _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValueDefaultTypeInternal _Value_default_instance_; + +inline constexpr Predicate::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + field_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + value_{nullptr}, + comparator_{static_cast< ::anduril::entitymanager::v1::Comparator >(0)} {} + +template +PROTOBUF_CONSTEXPR Predicate::Predicate(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PredicateDefaultTypeInternal { + PROTOBUF_CONSTEXPR PredicateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PredicateDefaultTypeInternal() {} + union { + Predicate _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PredicateDefaultTypeInternal _Predicate_default_instance_; + +inline constexpr PredicateSet::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : predicates_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR PredicateSet::PredicateSet(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PredicateSetDefaultTypeInternal { + PROTOBUF_CONSTEXPR PredicateSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PredicateSetDefaultTypeInternal() {} + union { + PredicateSet _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PredicateSetDefaultTypeInternal _PredicateSet_default_instance_; + +inline constexpr AndOperation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : children_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR AndOperation::AndOperation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AndOperationDefaultTypeInternal { + PROTOBUF_CONSTEXPR AndOperationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AndOperationDefaultTypeInternal() {} + union { + AndOperation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AndOperationDefaultTypeInternal _AndOperation_default_instance_; + +inline constexpr ListOperation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + list_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + statement_{nullptr}, + list_comparator_{static_cast< ::anduril::entitymanager::v1::ListComparator >(0)} {} + +template +PROTOBUF_CONSTEXPR ListOperation::ListOperation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ListOperationDefaultTypeInternal { + PROTOBUF_CONSTEXPR ListOperationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ListOperationDefaultTypeInternal() {} + union { + ListOperation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListOperationDefaultTypeInternal _ListOperation_default_instance_; + +inline constexpr NotOperation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : child_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR NotOperation::NotOperation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct NotOperationDefaultTypeInternal { + PROTOBUF_CONSTEXPR NotOperationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~NotOperationDefaultTypeInternal() {} + union { + NotOperation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotOperationDefaultTypeInternal _NotOperation_default_instance_; + +inline constexpr OrOperation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : children_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR OrOperation::OrOperation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OrOperationDefaultTypeInternal { + PROTOBUF_CONSTEXPR OrOperationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OrOperationDefaultTypeInternal() {} + union { + OrOperation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OrOperationDefaultTypeInternal _OrOperation_default_instance_; + +inline constexpr Statement::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : operation_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR Statement::Statement(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StatementDefaultTypeInternal { + PROTOBUF_CONSTEXPR StatementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StatementDefaultTypeInternal() {} + union { + Statement _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementDefaultTypeInternal _Statement_default_instance_; + +inline constexpr StatementSet::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : statements_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR StatementSet::StatementSet(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StatementSetDefaultTypeInternal { + PROTOBUF_CONSTEXPR StatementSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StatementSetDefaultTypeInternal() {} + union { + StatementSet _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementSetDefaultTypeInternal _StatementSet_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Statement, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Statement, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Statement, _impl_.operation_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AndOperation, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AndOperation, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AndOperation, _impl_.children_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OrOperation, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OrOperation, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OrOperation, _impl_.children_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NotOperation, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NotOperation, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NotOperation, _impl_.child_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListOperation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListOperation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListOperation, _impl_.list_path_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListOperation, _impl_.list_comparator_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListOperation, _impl_.statement_), + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PredicateSet, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PredicateSet, _impl_.predicates_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StatementSet, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StatementSet, _impl_.statements_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Predicate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Predicate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Predicate, _impl_.field_path_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Predicate, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Predicate, _impl_.comparator_), + ~0u, + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Value, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Value, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Value, _impl_.type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BooleanType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BooleanType, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NumericType, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NumericType, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NumericType, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StringType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::StringType, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EnumType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EnumType, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ListType, _impl_.values_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TimestampType, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TimestampType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TimestampType, _impl_.value_), + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PositionType, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PositionType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PositionType, _impl_.value_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BoundedShapeType, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BoundedShapeType, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BoundedShapeType, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HeadingType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HeadingType, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeType, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeType, _impl_.start_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RangeType, _impl_.end_), + 0, + 1, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Statement)}, + {14, -1, -1, sizeof(::anduril::entitymanager::v1::AndOperation)}, + {25, -1, -1, sizeof(::anduril::entitymanager::v1::OrOperation)}, + {36, -1, -1, sizeof(::anduril::entitymanager::v1::NotOperation)}, + {47, 58, -1, sizeof(::anduril::entitymanager::v1::ListOperation)}, + {61, -1, -1, sizeof(::anduril::entitymanager::v1::PredicateSet)}, + {70, -1, -1, sizeof(::anduril::entitymanager::v1::StatementSet)}, + {79, 90, -1, sizeof(::anduril::entitymanager::v1::Predicate)}, + {93, -1, -1, sizeof(::anduril::entitymanager::v1::Value)}, + {112, -1, -1, sizeof(::anduril::entitymanager::v1::BooleanType)}, + {121, -1, -1, sizeof(::anduril::entitymanager::v1::NumericType)}, + {136, -1, -1, sizeof(::anduril::entitymanager::v1::StringType)}, + {145, -1, -1, sizeof(::anduril::entitymanager::v1::EnumType)}, + {154, -1, -1, sizeof(::anduril::entitymanager::v1::ListType)}, + {163, 172, -1, sizeof(::anduril::entitymanager::v1::TimestampType)}, + {173, 182, -1, sizeof(::anduril::entitymanager::v1::PositionType)}, + {183, -1, -1, sizeof(::anduril::entitymanager::v1::BoundedShapeType)}, + {193, -1, -1, sizeof(::anduril::entitymanager::v1::HeadingType)}, + {202, 212, -1, sizeof(::anduril::entitymanager::v1::RangeType)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Statement_default_instance_._instance, + &::anduril::entitymanager::v1::_AndOperation_default_instance_._instance, + &::anduril::entitymanager::v1::_OrOperation_default_instance_._instance, + &::anduril::entitymanager::v1::_NotOperation_default_instance_._instance, + &::anduril::entitymanager::v1::_ListOperation_default_instance_._instance, + &::anduril::entitymanager::v1::_PredicateSet_default_instance_._instance, + &::anduril::entitymanager::v1::_StatementSet_default_instance_._instance, + &::anduril::entitymanager::v1::_Predicate_default_instance_._instance, + &::anduril::entitymanager::v1::_Value_default_instance_._instance, + &::anduril::entitymanager::v1::_BooleanType_default_instance_._instance, + &::anduril::entitymanager::v1::_NumericType_default_instance_._instance, + &::anduril::entitymanager::v1::_StringType_default_instance_._instance, + &::anduril::entitymanager::v1::_EnumType_default_instance_._instance, + &::anduril::entitymanager::v1::_ListType_default_instance_._instance, + &::anduril::entitymanager::v1::_TimestampType_default_instance_._instance, + &::anduril::entitymanager::v1::_PositionType_default_instance_._instance, + &::anduril::entitymanager::v1::_BoundedShapeType_default_instance_._instance, + &::anduril::entitymanager::v1::_HeadingType_default_instance_._instance, + &::anduril::entitymanager::v1::_RangeType_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n)anduril/entitymanager/v1/filter.pub.pr" + "oto\022\030anduril.entitymanager.v1\032,anduril/e" + "ntitymanager/v1/geoentity.pub.proto\032+and" + "uril/entitymanager/v1/location.pub.proto" + "\032\037google/protobuf/timestamp.proto\"\315\002\n\tSt" + "atement\022:\n\003and\030\001 \001(\0132&.anduril.entityman" + "ager.v1.AndOperationH\000R\003and\0227\n\002or\030\002 \001(\0132" + "%.anduril.entitymanager.v1.OrOperationH\000" + "R\002or\022:\n\003not\030\003 \001(\0132&.anduril.entitymanage" + "r.v1.NotOperationH\000R\003not\022=\n\004list\030\004 \001(\0132\'" + ".anduril.entitymanager.v1.ListOperationH" + "\000R\004list\022C\n\tpredicate\030\005 \001(\0132#.anduril.ent" + "itymanager.v1.PredicateH\000R\tpredicateB\013\n\t" + "operation\"\270\001\n\014AndOperation\022M\n\rpredicate_" + "set\030\001 \001(\0132&.anduril.entitymanager.v1.Pre" + "dicateSetH\000R\014predicateSet\022M\n\rstatement_s" + "et\030\002 \001(\0132&.anduril.entitymanager.v1.Stat" + "ementSetH\000R\014statementSetB\n\n\010children\"\267\001\n" + "\013OrOperation\022M\n\rpredicate_set\030\001 \001(\0132&.an" + "duril.entitymanager.v1.PredicateSetH\000R\014p" + "redicateSet\022M\n\rstatement_set\030\002 \001(\0132&.and" + "uril.entitymanager.v1.StatementSetH\000R\014st" + "atementSetB\n\n\010children\"\241\001\n\014NotOperation\022" + "C\n\tpredicate\030\001 \001(\0132#.anduril.entitymanag" + "er.v1.PredicateH\000R\tpredicate\022C\n\tstatemen" + "t\030\002 \001(\0132#.anduril.entitymanager.v1.State" + "mentH\000R\tstatementB\007\n\005child\"\302\001\n\rListOpera" + "tion\022\033\n\tlist_path\030\001 \001(\tR\010listPath\022Q\n\017lis" + "t_comparator\030\002 \001(\0162(.anduril.entitymanag" + "er.v1.ListComparatorR\016listComparator\022A\n\t" + "statement\030\003 \001(\0132#.anduril.entitymanager." + "v1.StatementR\tstatement\"S\n\014PredicateSet\022" + "C\n\npredicates\030\001 \003(\0132#.anduril.entitymana" + "ger.v1.PredicateR\npredicates\"S\n\014Statemen" + "tSet\022C\n\nstatements\030\001 \003(\0132#.anduril.entit" + "ymanager.v1.StatementR\nstatements\"\247\001\n\tPr" + "edicate\022\035\n\nfield_path\030\001 \001(\tR\tfieldPath\0225" + "\n\005value\030\002 \001(\0132\037.anduril.entitymanager.v1" + ".ValueR\005value\022D\n\ncomparator\030\003 \001(\0162$.andu" + "ril.entitymanager.v1.ComparatorR\ncompara" + "tor\"\205\006\n\005Value\022J\n\014boolean_type\030\001 \001(\0132%.an" + "duril.entitymanager.v1.BooleanTypeH\000R\013bo" + "oleanType\022J\n\014numeric_type\030\002 \001(\0132%.anduri" + "l.entitymanager.v1.NumericTypeH\000R\013numeri" + "cType\022G\n\013string_type\030\003 \001(\0132$.anduril.ent" + "itymanager.v1.StringTypeH\000R\nstringType\022A" + "\n\tenum_type\030\004 \001(\0132\".anduril.entitymanage" + "r.v1.EnumTypeH\000R\010enumType\022P\n\016timestamp_t" + "ype\030\005 \001(\0132\'.anduril.entitymanager.v1.Tim" + "estampTypeH\000R\rtimestampType\022Z\n\022bounded_s" + "hape_type\030\006 \001(\0132*.anduril.entitymanager." + "v1.BoundedShapeTypeH\000R\020boundedShapeType\022" + "M\n\rposition_type\030\007 \001(\0132&.anduril.entitym" + "anager.v1.PositionTypeH\000R\014positionType\022J" + "\n\014heading_type\030\010 \001(\0132%.anduril.entityman" + "ager.v1.HeadingTypeH\000R\013headingType\022A\n\tli" + "st_type\030\t \001(\0132\".anduril.entitymanager.v1" + ".ListTypeH\000R\010listType\022D\n\nrange_type\030\n \001(" + "\0132#.anduril.entitymanager.v1.RangeTypeH\000" + "R\trangeTypeB\006\n\004type\"#\n\013BooleanType\022\024\n\005va" + "lue\030\001 \001(\010R\005value\"\356\001\n\013NumericType\022#\n\014doub" + "le_value\030\001 \001(\001H\000R\013doubleValue\022!\n\013float_v" + "alue\030\002 \001(\002H\000R\nfloatValue\022!\n\013int32_value\030" + "\003 \001(\005H\000R\nint32Value\022!\n\013int64_value\030\004 \001(\003" + "H\000R\nint64Value\022#\n\014uint32_value\030\005 \001(\rH\000R\013" + "uint32Value\022#\n\014uint64_value\030\006 \001(\004H\000R\013uin" + "t64ValueB\007\n\005value\"\"\n\nStringType\022\024\n\005value" + "\030\001 \001(\tR\005value\" \n\010EnumType\022\024\n\005value\030\001 \001(\005" + "R\005value\"C\n\010ListType\0227\n\006values\030\001 \003(\0132\037.an" + "duril.entitymanager.v1.ValueR\006values\"A\n\r" + "TimestampType\0220\n\005value\030\001 \001(\0132\032.google.pr" + "otobuf.TimestampR\005value\"H\n\014PositionType\022" + "8\n\005value\030\001 \001(\0132\".anduril.entitymanager.v" + "1.PositionR\005value\"h\n\020BoundedShapeType\022K\n" + "\rpolygon_value\030\001 \001(\0132$.anduril.entityman" + "ager.v1.GeoPolygonH\000R\014polygonValueB\007\n\005va" + "lue\"#\n\013HeadingType\022\024\n\005value\030\001 \001(\005R\005value" + "\"\201\001\n\tRangeType\022;\n\005start\030\001 \001(\0132%.anduril." + "entitymanager.v1.NumericTypeR\005start\0227\n\003e" + "nd\030\002 \001(\0132%.anduril.entitymanager.v1.Nume" + "ricTypeR\003end*\214\003\n\nComparator\022\026\n\022COMPARATO" + "R_INVALID\020\000\022\030\n\024COMPARATOR_MATCH_ALL\020\013\022\027\n" + "\023COMPARATOR_EQUALITY\020\001\022\021\n\rCOMPARATOR_IN\020" + "\t\022\030\n\024COMPARATOR_LESS_THAN\020\002\022\033\n\027COMPARATO" + "R_GREATER_THAN\020\003\022!\n\035COMPARATOR_LESS_THAN" + "_EQUAL_TO\020\004\022$\n COMPARATOR_GREATER_THAN_E" + "QUAL_TO\020\005\022\025\n\021COMPARATOR_WITHIN\020\006\022\025\n\021COMP" + "ARATOR_EXISTS\020\007\022(\n$COMPARATOR_CASE_INSEN" + "SITIVE_EQUALITY\020\010\022+\n\'COMPARATOR_CASE_INS" + "ENSITIVE_EQUALITY_IN\020\n\022\033\n\027COMPARATOR_RAN" + "GE_CLOSED\020\014*I\n\016ListComparator\022\033\n\027LIST_CO" + "MPARATOR_INVALID\020\000\022\032\n\026LIST_COMPARATOR_AN" + "Y_OF\020\001B\377\001\n\034com.anduril.entitymanager.v1B" + "\016FilterPubProtoP\001ZMghe.anduril.dev/andur" + "il/andurilapis-go/anduril/entitymanager/" + "v1;entitymanager\242\002\003AEX\252\002\030Anduril.Entitym" + "anager.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$A" + "nduril\\Entitymanager\\V1\\GPBMetadata\352\002\032An" + "duril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_deps[3] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto = { + false, + false, + 3952, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + "anduril/entitymanager/v1/filter.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_deps, + 3, + 19, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* Comparator_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t Comparator_internal_data_[] = { + 851968u, 0u, }; +bool Comparator_IsValid(int value) { + return 0 <= value && value <= 12; +} +const ::google::protobuf::EnumDescriptor* ListComparator_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t ListComparator_internal_data_[] = { + 131072u, 0u, }; +bool ListComparator_IsValid(int value) { + return 0 <= value && value <= 1; +} +// =================================================================== + +class Statement::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Statement, _impl_._oneof_case_); +}; + +void Statement::set_allocated_and_(::anduril::entitymanager::v1::AndOperation* and_) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_operation(); + if (and_) { + ::google::protobuf::Arena* submessage_arena = and_->GetArena(); + if (message_arena != submessage_arena) { + and_ = ::google::protobuf::internal::GetOwnedMessage(message_arena, and_, submessage_arena); + } + set_has_and_(); + _impl_.operation_.and__ = and_; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Statement.and) +} +void Statement::set_allocated_or_(::anduril::entitymanager::v1::OrOperation* or_) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_operation(); + if (or_) { + ::google::protobuf::Arena* submessage_arena = or_->GetArena(); + if (message_arena != submessage_arena) { + or_ = ::google::protobuf::internal::GetOwnedMessage(message_arena, or_, submessage_arena); + } + set_has_or_(); + _impl_.operation_.or__ = or_; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Statement.or) +} +void Statement::set_allocated_not_(::anduril::entitymanager::v1::NotOperation* not_) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_operation(); + if (not_) { + ::google::protobuf::Arena* submessage_arena = not_->GetArena(); + if (message_arena != submessage_arena) { + not_ = ::google::protobuf::internal::GetOwnedMessage(message_arena, not_, submessage_arena); + } + set_has_not_(); + _impl_.operation_.not__ = not_; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Statement.not) +} +void Statement::set_allocated_list(::anduril::entitymanager::v1::ListOperation* list) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_operation(); + if (list) { + ::google::protobuf::Arena* submessage_arena = list->GetArena(); + if (message_arena != submessage_arena) { + list = ::google::protobuf::internal::GetOwnedMessage(message_arena, list, submessage_arena); + } + set_has_list(); + _impl_.operation_.list_ = list; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Statement.list) +} +void Statement::set_allocated_predicate(::anduril::entitymanager::v1::Predicate* predicate) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_operation(); + if (predicate) { + ::google::protobuf::Arena* submessage_arena = predicate->GetArena(); + if (message_arena != submessage_arena) { + predicate = ::google::protobuf::internal::GetOwnedMessage(message_arena, predicate, submessage_arena); + } + set_has_predicate(); + _impl_.operation_.predicate_ = predicate; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Statement.predicate) +} +Statement::Statement(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Statement) +} +inline PROTOBUF_NDEBUG_INLINE Statement::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Statement& from_msg) + : operation_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +Statement::Statement( + ::google::protobuf::Arena* arena, + const Statement& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Statement* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (operation_case()) { + case OPERATION_NOT_SET: + break; + case kAnd: + _impl_.operation_.and__ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::AndOperation>(arena, *from._impl_.operation_.and__); + break; + case kOr: + _impl_.operation_.or__ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::OrOperation>(arena, *from._impl_.operation_.or__); + break; + case kNot: + _impl_.operation_.not__ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NotOperation>(arena, *from._impl_.operation_.not__); + break; + case kList: + _impl_.operation_.list_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ListOperation>(arena, *from._impl_.operation_.list_); + break; + case kPredicate: + _impl_.operation_.predicate_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Predicate>(arena, *from._impl_.operation_.predicate_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Statement) +} +inline PROTOBUF_NDEBUG_INLINE Statement::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : operation_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void Statement::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Statement::~Statement() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Statement) + SharedDtor(*this); +} +inline void Statement::SharedDtor(MessageLite& self) { + Statement& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_operation()) { + this_.clear_operation(); + } + this_._impl_.~Impl_(); +} + +void Statement::clear_operation() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.Statement) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (operation_case()) { + case kAnd: { + if (GetArena() == nullptr) { + delete _impl_.operation_.and__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.and__); + } + break; + } + case kOr: { + if (GetArena() == nullptr) { + delete _impl_.operation_.or__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.or__); + } + break; + } + case kNot: { + if (GetArena() == nullptr) { + delete _impl_.operation_.not__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.not__); + } + break; + } + case kList: { + if (GetArena() == nullptr) { + delete _impl_.operation_.list_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.list_); + } + break; + } + case kPredicate: { + if (GetArena() == nullptr) { + delete _impl_.operation_.predicate_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.predicate_); + } + break; + } + case OPERATION_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = OPERATION_NOT_SET; +} + + +inline void* Statement::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Statement(arena); +} +constexpr auto Statement::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Statement), + alignof(Statement)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Statement::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Statement_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Statement::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Statement::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Statement::ByteSizeLong, + &Statement::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Statement, _impl_._cached_size_), + false, + }, + &Statement::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Statement::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 5, 5, 0, 2> Statement::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 5, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.AndOperation and = 1 [json_name = "and"]; + {PROTOBUF_FIELD_OFFSET(Statement, _impl_.operation_.and__), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.OrOperation or = 2 [json_name = "or"]; + {PROTOBUF_FIELD_OFFSET(Statement, _impl_.operation_.or__), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.NotOperation not = 3 [json_name = "not"]; + {PROTOBUF_FIELD_OFFSET(Statement, _impl_.operation_.not__), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.ListOperation list = 4 [json_name = "list"]; + {PROTOBUF_FIELD_OFFSET(Statement, _impl_.operation_.list_), _Internal::kOneofCaseOffset + 0, 3, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Predicate predicate = 5 [json_name = "predicate"]; + {PROTOBUF_FIELD_OFFSET(Statement, _impl_.operation_.predicate_), _Internal::kOneofCaseOffset + 0, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AndOperation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::OrOperation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NotOperation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ListOperation>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Predicate>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Statement::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Statement) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_operation(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Statement::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Statement& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Statement::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Statement& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Statement) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.operation_case()) { + case kAnd: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.operation_.and__, this_._impl_.operation_.and__->GetCachedSize(), target, + stream); + break; + } + case kOr: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.operation_.or__, this_._impl_.operation_.or__->GetCachedSize(), target, + stream); + break; + } + case kNot: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.operation_.not__, this_._impl_.operation_.not__->GetCachedSize(), target, + stream); + break; + } + case kList: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.operation_.list_, this_._impl_.operation_.list_->GetCachedSize(), target, + stream); + break; + } + case kPredicate: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.operation_.predicate_, this_._impl_.operation_.predicate_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Statement) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Statement::ByteSizeLong(const MessageLite& base) { + const Statement& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Statement::ByteSizeLong() const { + const Statement& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Statement) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.operation_case()) { + // .anduril.entitymanager.v1.AndOperation and = 1 [json_name = "and"]; + case kAnd: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.operation_.and__); + break; + } + // .anduril.entitymanager.v1.OrOperation or = 2 [json_name = "or"]; + case kOr: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.operation_.or__); + break; + } + // .anduril.entitymanager.v1.NotOperation not = 3 [json_name = "not"]; + case kNot: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.operation_.not__); + break; + } + // .anduril.entitymanager.v1.ListOperation list = 4 [json_name = "list"]; + case kList: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.operation_.list_); + break; + } + // .anduril.entitymanager.v1.Predicate predicate = 5 [json_name = "predicate"]; + case kPredicate: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.operation_.predicate_); + break; + } + case OPERATION_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Statement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Statement) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_operation(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kAnd: { + if (oneof_needs_init) { + _this->_impl_.operation_.and__ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::AndOperation>(arena, *from._impl_.operation_.and__); + } else { + _this->_impl_.operation_.and__->MergeFrom(from._internal_and_()); + } + break; + } + case kOr: { + if (oneof_needs_init) { + _this->_impl_.operation_.or__ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::OrOperation>(arena, *from._impl_.operation_.or__); + } else { + _this->_impl_.operation_.or__->MergeFrom(from._internal_or_()); + } + break; + } + case kNot: { + if (oneof_needs_init) { + _this->_impl_.operation_.not__ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NotOperation>(arena, *from._impl_.operation_.not__); + } else { + _this->_impl_.operation_.not__->MergeFrom(from._internal_not_()); + } + break; + } + case kList: { + if (oneof_needs_init) { + _this->_impl_.operation_.list_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ListOperation>(arena, *from._impl_.operation_.list_); + } else { + _this->_impl_.operation_.list_->MergeFrom(from._internal_list()); + } + break; + } + case kPredicate: { + if (oneof_needs_init) { + _this->_impl_.operation_.predicate_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Predicate>(arena, *from._impl_.operation_.predicate_); + } else { + _this->_impl_.operation_.predicate_->MergeFrom(from._internal_predicate()); + } + break; + } + case OPERATION_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Statement::CopyFrom(const Statement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Statement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Statement::InternalSwap(Statement* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.operation_, other->_impl_.operation_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata Statement::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class AndOperation::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AndOperation, _impl_._oneof_case_); +}; + +void AndOperation::set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* predicate_set) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_children(); + if (predicate_set) { + ::google::protobuf::Arena* submessage_arena = predicate_set->GetArena(); + if (message_arena != submessage_arena) { + predicate_set = ::google::protobuf::internal::GetOwnedMessage(message_arena, predicate_set, submessage_arena); + } + set_has_predicate_set(); + _impl_.children_.predicate_set_ = predicate_set; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AndOperation.predicate_set) +} +void AndOperation::set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* statement_set) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_children(); + if (statement_set) { + ::google::protobuf::Arena* submessage_arena = statement_set->GetArena(); + if (message_arena != submessage_arena) { + statement_set = ::google::protobuf::internal::GetOwnedMessage(message_arena, statement_set, submessage_arena); + } + set_has_statement_set(); + _impl_.children_.statement_set_ = statement_set; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AndOperation.statement_set) +} +AndOperation::AndOperation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.AndOperation) +} +inline PROTOBUF_NDEBUG_INLINE AndOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::AndOperation& from_msg) + : children_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +AndOperation::AndOperation( + ::google::protobuf::Arena* arena, + const AndOperation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AndOperation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (children_case()) { + case CHILDREN_NOT_SET: + break; + case kPredicateSet: + _impl_.children_.predicate_set_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PredicateSet>(arena, *from._impl_.children_.predicate_set_); + break; + case kStatementSet: + _impl_.children_.statement_set_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::StatementSet>(arena, *from._impl_.children_.statement_set_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.AndOperation) +} +inline PROTOBUF_NDEBUG_INLINE AndOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : children_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void AndOperation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +AndOperation::~AndOperation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.AndOperation) + SharedDtor(*this); +} +inline void AndOperation::SharedDtor(MessageLite& self) { + AndOperation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_children()) { + this_.clear_children(); + } + this_._impl_.~Impl_(); +} + +void AndOperation::clear_children() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.AndOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (children_case()) { + case kPredicateSet: { + if (GetArena() == nullptr) { + delete _impl_.children_.predicate_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.predicate_set_); + } + break; + } + case kStatementSet: { + if (GetArena() == nullptr) { + delete _impl_.children_.statement_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.statement_set_); + } + break; + } + case CHILDREN_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = CHILDREN_NOT_SET; +} + + +inline void* AndOperation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AndOperation(arena); +} +constexpr auto AndOperation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AndOperation), + alignof(AndOperation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull AndOperation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_AndOperation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &AndOperation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &AndOperation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &AndOperation::ByteSizeLong, + &AndOperation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(AndOperation, _impl_._cached_size_), + false, + }, + &AndOperation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* AndOperation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 2, 0, 2> AndOperation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AndOperation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; + {PROTOBUF_FIELD_OFFSET(AndOperation, _impl_.children_.predicate_set_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; + {PROTOBUF_FIELD_OFFSET(AndOperation, _impl_.children_.statement_set_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PredicateSet>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StatementSet>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void AndOperation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.AndOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_children(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AndOperation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AndOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AndOperation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AndOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.AndOperation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.children_case()) { + case kPredicateSet: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.children_.predicate_set_, this_._impl_.children_.predicate_set_->GetCachedSize(), target, + stream); + break; + } + case kStatementSet: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.children_.statement_set_, this_._impl_.children_.statement_set_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.AndOperation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AndOperation::ByteSizeLong(const MessageLite& base) { + const AndOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AndOperation::ByteSizeLong() const { + const AndOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.AndOperation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.children_case()) { + // .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; + case kPredicateSet: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.children_.predicate_set_); + break; + } + // .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; + case kStatementSet: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.children_.statement_set_); + break; + } + case CHILDREN_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void AndOperation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.AndOperation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_children(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPredicateSet: { + if (oneof_needs_init) { + _this->_impl_.children_.predicate_set_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PredicateSet>(arena, *from._impl_.children_.predicate_set_); + } else { + _this->_impl_.children_.predicate_set_->MergeFrom(from._internal_predicate_set()); + } + break; + } + case kStatementSet: { + if (oneof_needs_init) { + _this->_impl_.children_.statement_set_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::StatementSet>(arena, *from._impl_.children_.statement_set_); + } else { + _this->_impl_.children_.statement_set_->MergeFrom(from._internal_statement_set()); + } + break; + } + case CHILDREN_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void AndOperation::CopyFrom(const AndOperation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.AndOperation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void AndOperation::InternalSwap(AndOperation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.children_, other->_impl_.children_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata AndOperation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class OrOperation::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OrOperation, _impl_._oneof_case_); +}; + +void OrOperation::set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* predicate_set) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_children(); + if (predicate_set) { + ::google::protobuf::Arena* submessage_arena = predicate_set->GetArena(); + if (message_arena != submessage_arena) { + predicate_set = ::google::protobuf::internal::GetOwnedMessage(message_arena, predicate_set, submessage_arena); + } + set_has_predicate_set(); + _impl_.children_.predicate_set_ = predicate_set; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OrOperation.predicate_set) +} +void OrOperation::set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* statement_set) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_children(); + if (statement_set) { + ::google::protobuf::Arena* submessage_arena = statement_set->GetArena(); + if (message_arena != submessage_arena) { + statement_set = ::google::protobuf::internal::GetOwnedMessage(message_arena, statement_set, submessage_arena); + } + set_has_statement_set(); + _impl_.children_.statement_set_ = statement_set; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OrOperation.statement_set) +} +OrOperation::OrOperation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.OrOperation) +} +inline PROTOBUF_NDEBUG_INLINE OrOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::OrOperation& from_msg) + : children_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +OrOperation::OrOperation( + ::google::protobuf::Arena* arena, + const OrOperation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + OrOperation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (children_case()) { + case CHILDREN_NOT_SET: + break; + case kPredicateSet: + _impl_.children_.predicate_set_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PredicateSet>(arena, *from._impl_.children_.predicate_set_); + break; + case kStatementSet: + _impl_.children_.statement_set_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::StatementSet>(arena, *from._impl_.children_.statement_set_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.OrOperation) +} +inline PROTOBUF_NDEBUG_INLINE OrOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : children_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void OrOperation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +OrOperation::~OrOperation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.OrOperation) + SharedDtor(*this); +} +inline void OrOperation::SharedDtor(MessageLite& self) { + OrOperation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_children()) { + this_.clear_children(); + } + this_._impl_.~Impl_(); +} + +void OrOperation::clear_children() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.OrOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (children_case()) { + case kPredicateSet: { + if (GetArena() == nullptr) { + delete _impl_.children_.predicate_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.predicate_set_); + } + break; + } + case kStatementSet: { + if (GetArena() == nullptr) { + delete _impl_.children_.statement_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.statement_set_); + } + break; + } + case CHILDREN_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = CHILDREN_NOT_SET; +} + + +inline void* OrOperation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) OrOperation(arena); +} +constexpr auto OrOperation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OrOperation), + alignof(OrOperation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull OrOperation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_OrOperation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OrOperation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OrOperation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OrOperation::ByteSizeLong, + &OrOperation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OrOperation, _impl_._cached_size_), + false, + }, + &OrOperation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* OrOperation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 2, 0, 2> OrOperation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::OrOperation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; + {PROTOBUF_FIELD_OFFSET(OrOperation, _impl_.children_.predicate_set_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; + {PROTOBUF_FIELD_OFFSET(OrOperation, _impl_.children_.statement_set_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PredicateSet>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StatementSet>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void OrOperation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.OrOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_children(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* OrOperation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const OrOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* OrOperation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const OrOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.OrOperation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.children_case()) { + case kPredicateSet: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.children_.predicate_set_, this_._impl_.children_.predicate_set_->GetCachedSize(), target, + stream); + break; + } + case kStatementSet: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.children_.statement_set_, this_._impl_.children_.statement_set_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.OrOperation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t OrOperation::ByteSizeLong(const MessageLite& base) { + const OrOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t OrOperation::ByteSizeLong() const { + const OrOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.OrOperation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.children_case()) { + // .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; + case kPredicateSet: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.children_.predicate_set_); + break; + } + // .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; + case kStatementSet: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.children_.statement_set_); + break; + } + case CHILDREN_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void OrOperation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.OrOperation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_children(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPredicateSet: { + if (oneof_needs_init) { + _this->_impl_.children_.predicate_set_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PredicateSet>(arena, *from._impl_.children_.predicate_set_); + } else { + _this->_impl_.children_.predicate_set_->MergeFrom(from._internal_predicate_set()); + } + break; + } + case kStatementSet: { + if (oneof_needs_init) { + _this->_impl_.children_.statement_set_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::StatementSet>(arena, *from._impl_.children_.statement_set_); + } else { + _this->_impl_.children_.statement_set_->MergeFrom(from._internal_statement_set()); + } + break; + } + case CHILDREN_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void OrOperation::CopyFrom(const OrOperation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.OrOperation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OrOperation::InternalSwap(OrOperation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.children_, other->_impl_.children_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata OrOperation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class NotOperation::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NotOperation, _impl_._oneof_case_); +}; + +void NotOperation::set_allocated_predicate(::anduril::entitymanager::v1::Predicate* predicate) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_child(); + if (predicate) { + ::google::protobuf::Arena* submessage_arena = predicate->GetArena(); + if (message_arena != submessage_arena) { + predicate = ::google::protobuf::internal::GetOwnedMessage(message_arena, predicate, submessage_arena); + } + set_has_predicate(); + _impl_.child_.predicate_ = predicate; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.NotOperation.predicate) +} +void NotOperation::set_allocated_statement(::anduril::entitymanager::v1::Statement* statement) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_child(); + if (statement) { + ::google::protobuf::Arena* submessage_arena = statement->GetArena(); + if (message_arena != submessage_arena) { + statement = ::google::protobuf::internal::GetOwnedMessage(message_arena, statement, submessage_arena); + } + set_has_statement(); + _impl_.child_.statement_ = statement; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.NotOperation.statement) +} +NotOperation::NotOperation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.NotOperation) +} +inline PROTOBUF_NDEBUG_INLINE NotOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::NotOperation& from_msg) + : child_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +NotOperation::NotOperation( + ::google::protobuf::Arena* arena, + const NotOperation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + NotOperation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (child_case()) { + case CHILD_NOT_SET: + break; + case kPredicate: + _impl_.child_.predicate_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Predicate>(arena, *from._impl_.child_.predicate_); + break; + case kStatement: + _impl_.child_.statement_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>(arena, *from._impl_.child_.statement_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.NotOperation) +} +inline PROTOBUF_NDEBUG_INLINE NotOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : child_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void NotOperation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +NotOperation::~NotOperation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.NotOperation) + SharedDtor(*this); +} +inline void NotOperation::SharedDtor(MessageLite& self) { + NotOperation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_child()) { + this_.clear_child(); + } + this_._impl_.~Impl_(); +} + +void NotOperation::clear_child() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.NotOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (child_case()) { + case kPredicate: { + if (GetArena() == nullptr) { + delete _impl_.child_.predicate_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.child_.predicate_); + } + break; + } + case kStatement: { + if (GetArena() == nullptr) { + delete _impl_.child_.statement_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.child_.statement_); + } + break; + } + case CHILD_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = CHILD_NOT_SET; +} + + +inline void* NotOperation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) NotOperation(arena); +} +constexpr auto NotOperation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NotOperation), + alignof(NotOperation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull NotOperation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_NotOperation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &NotOperation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &NotOperation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &NotOperation::ByteSizeLong, + &NotOperation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(NotOperation, _impl_._cached_size_), + false, + }, + &NotOperation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* NotOperation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 2, 0, 2> NotOperation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NotOperation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Predicate predicate = 1 [json_name = "predicate"]; + {PROTOBUF_FIELD_OFFSET(NotOperation, _impl_.child_.predicate_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Statement statement = 2 [json_name = "statement"]; + {PROTOBUF_FIELD_OFFSET(NotOperation, _impl_.child_.statement_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Predicate>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void NotOperation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.NotOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_child(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* NotOperation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const NotOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* NotOperation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const NotOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.NotOperation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.child_case()) { + case kPredicate: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.child_.predicate_, this_._impl_.child_.predicate_->GetCachedSize(), target, + stream); + break; + } + case kStatement: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.child_.statement_, this_._impl_.child_.statement_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.NotOperation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t NotOperation::ByteSizeLong(const MessageLite& base) { + const NotOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t NotOperation::ByteSizeLong() const { + const NotOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.NotOperation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.child_case()) { + // .anduril.entitymanager.v1.Predicate predicate = 1 [json_name = "predicate"]; + case kPredicate: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.child_.predicate_); + break; + } + // .anduril.entitymanager.v1.Statement statement = 2 [json_name = "statement"]; + case kStatement: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.child_.statement_); + break; + } + case CHILD_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void NotOperation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.NotOperation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_child(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPredicate: { + if (oneof_needs_init) { + _this->_impl_.child_.predicate_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Predicate>(arena, *from._impl_.child_.predicate_); + } else { + _this->_impl_.child_.predicate_->MergeFrom(from._internal_predicate()); + } + break; + } + case kStatement: { + if (oneof_needs_init) { + _this->_impl_.child_.statement_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>(arena, *from._impl_.child_.statement_); + } else { + _this->_impl_.child_.statement_->MergeFrom(from._internal_statement()); + } + break; + } + case CHILD_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void NotOperation::CopyFrom(const NotOperation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.NotOperation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void NotOperation::InternalSwap(NotOperation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.child_, other->_impl_.child_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata NotOperation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ListOperation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ListOperation, _impl_._has_bits_); +}; + +ListOperation::ListOperation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ListOperation) +} +inline PROTOBUF_NDEBUG_INLINE ListOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ListOperation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + list_path_(arena, from.list_path_) {} + +ListOperation::ListOperation( + ::google::protobuf::Arena* arena, + const ListOperation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ListOperation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.statement_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>( + arena, *from._impl_.statement_) + : nullptr; + _impl_.list_comparator_ = from._impl_.list_comparator_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ListOperation) +} +inline PROTOBUF_NDEBUG_INLINE ListOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + list_path_(arena) {} + +inline void ListOperation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, statement_), + 0, + offsetof(Impl_, list_comparator_) - + offsetof(Impl_, statement_) + + sizeof(Impl_::list_comparator_)); +} +ListOperation::~ListOperation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ListOperation) + SharedDtor(*this); +} +inline void ListOperation::SharedDtor(MessageLite& self) { + ListOperation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.list_path_.Destroy(); + delete this_._impl_.statement_; + this_._impl_.~Impl_(); +} + +inline void* ListOperation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ListOperation(arena); +} +constexpr auto ListOperation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ListOperation), + alignof(ListOperation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ListOperation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ListOperation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ListOperation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ListOperation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ListOperation::ByteSizeLong, + &ListOperation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ListOperation, _impl_._cached_size_), + false, + }, + &ListOperation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ListOperation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 56, 2> ListOperation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ListOperation, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ListOperation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string list_path = 1 [json_name = "listPath"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.list_path_)}}, + // .anduril.entitymanager.v1.ListComparator list_comparator = 2 [json_name = "listComparator"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ListOperation, _impl_.list_comparator_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.list_comparator_)}}, + // .anduril.entitymanager.v1.Statement statement = 3 [json_name = "statement"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.statement_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string list_path = 1 [json_name = "listPath"]; + {PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.list_path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.ListComparator list_comparator = 2 [json_name = "listComparator"]; + {PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.list_comparator_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.Statement statement = 3 [json_name = "statement"]; + {PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.statement_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>()}, + }}, {{ + "\46\11\0\0\0\0\0\0" + "anduril.entitymanager.v1.ListOperation" + "list_path" + }}, +}; + +PROTOBUF_NOINLINE void ListOperation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ListOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.list_path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.statement_ != nullptr); + _impl_.statement_->Clear(); + } + _impl_.list_comparator_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ListOperation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ListOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ListOperation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ListOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ListOperation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string list_path = 1 [json_name = "listPath"]; + if (!this_._internal_list_path().empty()) { + const std::string& _s = this_._internal_list_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ListOperation.list_path"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .anduril.entitymanager.v1.ListComparator list_comparator = 2 [json_name = "listComparator"]; + if (this_._internal_list_comparator() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_list_comparator(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Statement statement = 3 [json_name = "statement"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.statement_, this_._impl_.statement_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ListOperation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ListOperation::ByteSizeLong(const MessageLite& base) { + const ListOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ListOperation::ByteSizeLong() const { + const ListOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ListOperation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string list_path = 1 [json_name = "listPath"]; + if (!this_._internal_list_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_list_path()); + } + } + { + // .anduril.entitymanager.v1.Statement statement = 3 [json_name = "statement"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.statement_); + } + } + { + // .anduril.entitymanager.v1.ListComparator list_comparator = 2 [json_name = "listComparator"]; + if (this_._internal_list_comparator() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_list_comparator()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ListOperation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ListOperation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_list_path().empty()) { + _this->_internal_set_list_path(from._internal_list_path()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.statement_ != nullptr); + if (_this->_impl_.statement_ == nullptr) { + _this->_impl_.statement_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>(arena, *from._impl_.statement_); + } else { + _this->_impl_.statement_->MergeFrom(*from._impl_.statement_); + } + } + if (from._internal_list_comparator() != 0) { + _this->_impl_.list_comparator_ = from._impl_.list_comparator_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ListOperation::CopyFrom(const ListOperation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ListOperation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ListOperation::InternalSwap(ListOperation* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.list_path_, &other->_impl_.list_path_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.list_comparator_) + + sizeof(ListOperation::_impl_.list_comparator_) + - PROTOBUF_FIELD_OFFSET(ListOperation, _impl_.statement_)>( + reinterpret_cast(&_impl_.statement_), + reinterpret_cast(&other->_impl_.statement_)); +} + +::google::protobuf::Metadata ListOperation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PredicateSet::_Internal { + public: +}; + +PredicateSet::PredicateSet(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PredicateSet) +} +inline PROTOBUF_NDEBUG_INLINE PredicateSet::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PredicateSet& from_msg) + : predicates_{visibility, arena, from.predicates_}, + _cached_size_{0} {} + +PredicateSet::PredicateSet( + ::google::protobuf::Arena* arena, + const PredicateSet& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PredicateSet* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PredicateSet) +} +inline PROTOBUF_NDEBUG_INLINE PredicateSet::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : predicates_{visibility, arena}, + _cached_size_{0} {} + +inline void PredicateSet::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +PredicateSet::~PredicateSet() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PredicateSet) + SharedDtor(*this); +} +inline void PredicateSet::SharedDtor(MessageLite& self) { + PredicateSet& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PredicateSet::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PredicateSet(arena); +} +constexpr auto PredicateSet::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(PredicateSet, _impl_.predicates_) + + decltype(PredicateSet::_impl_.predicates_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(PredicateSet), alignof(PredicateSet), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&PredicateSet::PlacementNew_, + sizeof(PredicateSet), + alignof(PredicateSet)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PredicateSet::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PredicateSet_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PredicateSet::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PredicateSet::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PredicateSet::ByteSizeLong, + &PredicateSet::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PredicateSet, _impl_._cached_size_), + false, + }, + &PredicateSet::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PredicateSet::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PredicateSet::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PredicateSet>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Predicate predicates = 1 [json_name = "predicates"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(PredicateSet, _impl_.predicates_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Predicate predicates = 1 [json_name = "predicates"]; + {PROTOBUF_FIELD_OFFSET(PredicateSet, _impl_.predicates_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Predicate>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void PredicateSet::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PredicateSet) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.predicates_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PredicateSet::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PredicateSet& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PredicateSet::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PredicateSet& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PredicateSet) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Predicate predicates = 1 [json_name = "predicates"]; + for (unsigned i = 0, n = static_cast( + this_._internal_predicates_size()); + i < n; i++) { + const auto& repfield = this_._internal_predicates().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PredicateSet) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PredicateSet::ByteSizeLong(const MessageLite& base) { + const PredicateSet& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PredicateSet::ByteSizeLong() const { + const PredicateSet& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PredicateSet) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Predicate predicates = 1 [json_name = "predicates"]; + { + total_size += 1UL * this_._internal_predicates_size(); + for (const auto& msg : this_._internal_predicates()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PredicateSet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PredicateSet) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_predicates()->MergeFrom( + from._internal_predicates()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PredicateSet::CopyFrom(const PredicateSet& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PredicateSet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PredicateSet::InternalSwap(PredicateSet* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.predicates_.InternalSwap(&other->_impl_.predicates_); +} + +::google::protobuf::Metadata PredicateSet::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class StatementSet::_Internal { + public: +}; + +StatementSet::StatementSet(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.StatementSet) +} +inline PROTOBUF_NDEBUG_INLINE StatementSet::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::StatementSet& from_msg) + : statements_{visibility, arena, from.statements_}, + _cached_size_{0} {} + +StatementSet::StatementSet( + ::google::protobuf::Arena* arena, + const StatementSet& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StatementSet* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.StatementSet) +} +inline PROTOBUF_NDEBUG_INLINE StatementSet::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : statements_{visibility, arena}, + _cached_size_{0} {} + +inline void StatementSet::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +StatementSet::~StatementSet() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.StatementSet) + SharedDtor(*this); +} +inline void StatementSet::SharedDtor(MessageLite& self) { + StatementSet& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* StatementSet::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StatementSet(arena); +} +constexpr auto StatementSet::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(StatementSet, _impl_.statements_) + + decltype(StatementSet::_impl_.statements_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(StatementSet), alignof(StatementSet), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&StatementSet::PlacementNew_, + sizeof(StatementSet), + alignof(StatementSet)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull StatementSet::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_StatementSet_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &StatementSet::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &StatementSet::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &StatementSet::ByteSizeLong, + &StatementSet::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(StatementSet, _impl_._cached_size_), + false, + }, + &StatementSet::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StatementSet::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StatementSet::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StatementSet>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Statement statements = 1 [json_name = "statements"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(StatementSet, _impl_.statements_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Statement statements = 1 [json_name = "statements"]; + {PROTOBUF_FIELD_OFFSET(StatementSet, _impl_.statements_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void StatementSet::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.StatementSet) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.statements_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StatementSet::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StatementSet& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StatementSet::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StatementSet& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.StatementSet) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Statement statements = 1 [json_name = "statements"]; + for (unsigned i = 0, n = static_cast( + this_._internal_statements_size()); + i < n; i++) { + const auto& repfield = this_._internal_statements().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.StatementSet) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t StatementSet::ByteSizeLong(const MessageLite& base) { + const StatementSet& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StatementSet::ByteSizeLong() const { + const StatementSet& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.StatementSet) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Statement statements = 1 [json_name = "statements"]; + { + total_size += 1UL * this_._internal_statements_size(); + for (const auto& msg : this_._internal_statements()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void StatementSet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.StatementSet) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_statements()->MergeFrom( + from._internal_statements()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void StatementSet::CopyFrom(const StatementSet& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.StatementSet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void StatementSet::InternalSwap(StatementSet* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.statements_.InternalSwap(&other->_impl_.statements_); +} + +::google::protobuf::Metadata StatementSet::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Predicate::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Predicate, _impl_._has_bits_); +}; + +Predicate::Predicate(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Predicate) +} +inline PROTOBUF_NDEBUG_INLINE Predicate::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Predicate& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + field_path_(arena, from.field_path_) {} + +Predicate::Predicate( + ::google::protobuf::Arena* arena, + const Predicate& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Predicate* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.value_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Value>( + arena, *from._impl_.value_) + : nullptr; + _impl_.comparator_ = from._impl_.comparator_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Predicate) +} +inline PROTOBUF_NDEBUG_INLINE Predicate::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + field_path_(arena) {} + +inline void Predicate::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, value_), + 0, + offsetof(Impl_, comparator_) - + offsetof(Impl_, value_) + + sizeof(Impl_::comparator_)); +} +Predicate::~Predicate() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Predicate) + SharedDtor(*this); +} +inline void Predicate::SharedDtor(MessageLite& self) { + Predicate& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.field_path_.Destroy(); + delete this_._impl_.value_; + this_._impl_.~Impl_(); +} + +inline void* Predicate::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Predicate(arena); +} +constexpr auto Predicate::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Predicate), + alignof(Predicate)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Predicate::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Predicate_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Predicate::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Predicate::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Predicate::ByteSizeLong, + &Predicate::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Predicate, _impl_._cached_size_), + false, + }, + &Predicate::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Predicate::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 53, 2> Predicate::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Predicate, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Predicate>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string field_path = 1 [json_name = "fieldPath"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Predicate, _impl_.field_path_)}}, + // .anduril.entitymanager.v1.Value value = 2 [json_name = "value"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Predicate, _impl_.value_)}}, + // .anduril.entitymanager.v1.Comparator comparator = 3 [json_name = "comparator"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Predicate, _impl_.comparator_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(Predicate, _impl_.comparator_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string field_path = 1 [json_name = "fieldPath"]; + {PROTOBUF_FIELD_OFFSET(Predicate, _impl_.field_path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.Value value = 2 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(Predicate, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Comparator comparator = 3 [json_name = "comparator"]; + {PROTOBUF_FIELD_OFFSET(Predicate, _impl_.comparator_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Value>()}, + }}, {{ + "\42\12\0\0\0\0\0\0" + "anduril.entitymanager.v1.Predicate" + "field_path" + }}, +}; + +PROTOBUF_NOINLINE void Predicate::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Predicate) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.field_path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.value_ != nullptr); + _impl_.value_->Clear(); + } + _impl_.comparator_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Predicate::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Predicate& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Predicate::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Predicate& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Predicate) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string field_path = 1 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + const std::string& _s = this_._internal_field_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Predicate.field_path"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Value value = 2 [json_name = "value"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_, this_._impl_.value_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Comparator comparator = 3 [json_name = "comparator"]; + if (this_._internal_comparator() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_comparator(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Predicate) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Predicate::ByteSizeLong(const MessageLite& base) { + const Predicate& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Predicate::ByteSizeLong() const { + const Predicate& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Predicate) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string field_path = 1 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_field_path()); + } + } + { + // .anduril.entitymanager.v1.Value value = 2 [json_name = "value"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_); + } + } + { + // .anduril.entitymanager.v1.Comparator comparator = 3 [json_name = "comparator"]; + if (this_._internal_comparator() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_comparator()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Predicate::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Predicate) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_field_path().empty()) { + _this->_internal_set_field_path(from._internal_field_path()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.value_ != nullptr); + if (_this->_impl_.value_ == nullptr) { + _this->_impl_.value_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Value>(arena, *from._impl_.value_); + } else { + _this->_impl_.value_->MergeFrom(*from._impl_.value_); + } + } + if (from._internal_comparator() != 0) { + _this->_impl_.comparator_ = from._impl_.comparator_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Predicate::CopyFrom(const Predicate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Predicate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Predicate::InternalSwap(Predicate* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.field_path_, &other->_impl_.field_path_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Predicate, _impl_.comparator_) + + sizeof(Predicate::_impl_.comparator_) + - PROTOBUF_FIELD_OFFSET(Predicate, _impl_.value_)>( + reinterpret_cast(&_impl_.value_), + reinterpret_cast(&other->_impl_.value_)); +} + +::google::protobuf::Metadata Predicate::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Value::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Value, _impl_._oneof_case_); +}; + +void Value::set_allocated_boolean_type(::anduril::entitymanager::v1::BooleanType* boolean_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (boolean_type) { + ::google::protobuf::Arena* submessage_arena = boolean_type->GetArena(); + if (message_arena != submessage_arena) { + boolean_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, boolean_type, submessage_arena); + } + set_has_boolean_type(); + _impl_.type_.boolean_type_ = boolean_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.boolean_type) +} +void Value::set_allocated_numeric_type(::anduril::entitymanager::v1::NumericType* numeric_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (numeric_type) { + ::google::protobuf::Arena* submessage_arena = numeric_type->GetArena(); + if (message_arena != submessage_arena) { + numeric_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, numeric_type, submessage_arena); + } + set_has_numeric_type(); + _impl_.type_.numeric_type_ = numeric_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.numeric_type) +} +void Value::set_allocated_string_type(::anduril::entitymanager::v1::StringType* string_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (string_type) { + ::google::protobuf::Arena* submessage_arena = string_type->GetArena(); + if (message_arena != submessage_arena) { + string_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, string_type, submessage_arena); + } + set_has_string_type(); + _impl_.type_.string_type_ = string_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.string_type) +} +void Value::set_allocated_enum_type(::anduril::entitymanager::v1::EnumType* enum_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (enum_type) { + ::google::protobuf::Arena* submessage_arena = enum_type->GetArena(); + if (message_arena != submessage_arena) { + enum_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, enum_type, submessage_arena); + } + set_has_enum_type(); + _impl_.type_.enum_type_ = enum_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.enum_type) +} +void Value::set_allocated_timestamp_type(::anduril::entitymanager::v1::TimestampType* timestamp_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (timestamp_type) { + ::google::protobuf::Arena* submessage_arena = timestamp_type->GetArena(); + if (message_arena != submessage_arena) { + timestamp_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, timestamp_type, submessage_arena); + } + set_has_timestamp_type(); + _impl_.type_.timestamp_type_ = timestamp_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.timestamp_type) +} +void Value::set_allocated_bounded_shape_type(::anduril::entitymanager::v1::BoundedShapeType* bounded_shape_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (bounded_shape_type) { + ::google::protobuf::Arena* submessage_arena = bounded_shape_type->GetArena(); + if (message_arena != submessage_arena) { + bounded_shape_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, bounded_shape_type, submessage_arena); + } + set_has_bounded_shape_type(); + _impl_.type_.bounded_shape_type_ = bounded_shape_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.bounded_shape_type) +} +void Value::set_allocated_position_type(::anduril::entitymanager::v1::PositionType* position_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (position_type) { + ::google::protobuf::Arena* submessage_arena = position_type->GetArena(); + if (message_arena != submessage_arena) { + position_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, position_type, submessage_arena); + } + set_has_position_type(); + _impl_.type_.position_type_ = position_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.position_type) +} +void Value::set_allocated_heading_type(::anduril::entitymanager::v1::HeadingType* heading_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (heading_type) { + ::google::protobuf::Arena* submessage_arena = heading_type->GetArena(); + if (message_arena != submessage_arena) { + heading_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, heading_type, submessage_arena); + } + set_has_heading_type(); + _impl_.type_.heading_type_ = heading_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.heading_type) +} +void Value::set_allocated_list_type(::anduril::entitymanager::v1::ListType* list_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (list_type) { + ::google::protobuf::Arena* submessage_arena = list_type->GetArena(); + if (message_arena != submessage_arena) { + list_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, list_type, submessage_arena); + } + set_has_list_type(); + _impl_.type_.list_type_ = list_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.list_type) +} +void Value::set_allocated_range_type(::anduril::entitymanager::v1::RangeType* range_type) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (range_type) { + ::google::protobuf::Arena* submessage_arena = range_type->GetArena(); + if (message_arena != submessage_arena) { + range_type = ::google::protobuf::internal::GetOwnedMessage(message_arena, range_type, submessage_arena); + } + set_has_range_type(); + _impl_.type_.range_type_ = range_type; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Value.range_type) +} +Value::Value(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Value) +} +inline PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Value& from_msg) + : type_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +Value::Value( + ::google::protobuf::Arena* arena, + const Value& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Value* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (type_case()) { + case TYPE_NOT_SET: + break; + case kBooleanType: + _impl_.type_.boolean_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::BooleanType>(arena, *from._impl_.type_.boolean_type_); + break; + case kNumericType: + _impl_.type_.numeric_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NumericType>(arena, *from._impl_.type_.numeric_type_); + break; + case kStringType: + _impl_.type_.string_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::StringType>(arena, *from._impl_.type_.string_type_); + break; + case kEnumType: + _impl_.type_.enum_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::EnumType>(arena, *from._impl_.type_.enum_type_); + break; + case kTimestampType: + _impl_.type_.timestamp_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TimestampType>(arena, *from._impl_.type_.timestamp_type_); + break; + case kBoundedShapeType: + _impl_.type_.bounded_shape_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::BoundedShapeType>(arena, *from._impl_.type_.bounded_shape_type_); + break; + case kPositionType: + _impl_.type_.position_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PositionType>(arena, *from._impl_.type_.position_type_); + break; + case kHeadingType: + _impl_.type_.heading_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::HeadingType>(arena, *from._impl_.type_.heading_type_); + break; + case kListType: + _impl_.type_.list_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ListType>(arena, *from._impl_.type_.list_type_); + break; + case kRangeType: + _impl_.type_.range_type_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RangeType>(arena, *from._impl_.type_.range_type_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Value) +} +inline PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : type_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void Value::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Value::~Value() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Value) + SharedDtor(*this); +} +inline void Value::SharedDtor(MessageLite& self) { + Value& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_type()) { + this_.clear_type(); + } + this_._impl_.~Impl_(); +} + +void Value::clear_type() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.Value) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (type_case()) { + case kBooleanType: { + if (GetArena() == nullptr) { + delete _impl_.type_.boolean_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.boolean_type_); + } + break; + } + case kNumericType: { + if (GetArena() == nullptr) { + delete _impl_.type_.numeric_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.numeric_type_); + } + break; + } + case kStringType: { + if (GetArena() == nullptr) { + delete _impl_.type_.string_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.string_type_); + } + break; + } + case kEnumType: { + if (GetArena() == nullptr) { + delete _impl_.type_.enum_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.enum_type_); + } + break; + } + case kTimestampType: { + if (GetArena() == nullptr) { + delete _impl_.type_.timestamp_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.timestamp_type_); + } + break; + } + case kBoundedShapeType: { + if (GetArena() == nullptr) { + delete _impl_.type_.bounded_shape_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.bounded_shape_type_); + } + break; + } + case kPositionType: { + if (GetArena() == nullptr) { + delete _impl_.type_.position_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.position_type_); + } + break; + } + case kHeadingType: { + if (GetArena() == nullptr) { + delete _impl_.type_.heading_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.heading_type_); + } + break; + } + case kListType: { + if (GetArena() == nullptr) { + delete _impl_.type_.list_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.list_type_); + } + break; + } + case kRangeType: { + if (GetArena() == nullptr) { + delete _impl_.type_.range_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.range_type_); + } + break; + } + case TYPE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = TYPE_NOT_SET; +} + + +inline void* Value::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Value(arena); +} +constexpr auto Value::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Value), + alignof(Value)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Value::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Value_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Value::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Value::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Value::ByteSizeLong, + &Value::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Value, _impl_._cached_size_), + false, + }, + &Value::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Value::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 10, 10, 0, 2> Value::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 10, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294966272, // skipmap + offsetof(decltype(_table_), field_entries), + 10, // num_field_entries + 10, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Value>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.BooleanType boolean_type = 1 [json_name = "booleanType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.boolean_type_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.NumericType numeric_type = 2 [json_name = "numericType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.numeric_type_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.StringType string_type = 3 [json_name = "stringType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.string_type_), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.EnumType enum_type = 4 [json_name = "enumType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.enum_type_), _Internal::kOneofCaseOffset + 0, 3, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.TimestampType timestamp_type = 5 [json_name = "timestampType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.timestamp_type_), _Internal::kOneofCaseOffset + 0, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.BoundedShapeType bounded_shape_type = 6 [json_name = "boundedShapeType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.bounded_shape_type_), _Internal::kOneofCaseOffset + 0, 5, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.PositionType position_type = 7 [json_name = "positionType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.position_type_), _Internal::kOneofCaseOffset + 0, 6, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.HeadingType heading_type = 8 [json_name = "headingType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.heading_type_), _Internal::kOneofCaseOffset + 0, 7, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.ListType list_type = 9 [json_name = "listType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.list_type_), _Internal::kOneofCaseOffset + 0, 8, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.RangeType range_type = 10 [json_name = "rangeType"]; + {PROTOBUF_FIELD_OFFSET(Value, _impl_.type_.range_type_), _Internal::kOneofCaseOffset + 0, 9, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::BooleanType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NumericType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StringType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::EnumType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TimestampType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::BoundedShapeType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PositionType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::HeadingType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ListType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RangeType>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Value::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Value) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_type(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Value::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Value& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Value::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Value& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Value) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.type_case()) { + case kBooleanType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.type_.boolean_type_, this_._impl_.type_.boolean_type_->GetCachedSize(), target, + stream); + break; + } + case kNumericType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.type_.numeric_type_, this_._impl_.type_.numeric_type_->GetCachedSize(), target, + stream); + break; + } + case kStringType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.type_.string_type_, this_._impl_.type_.string_type_->GetCachedSize(), target, + stream); + break; + } + case kEnumType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.type_.enum_type_, this_._impl_.type_.enum_type_->GetCachedSize(), target, + stream); + break; + } + case kTimestampType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.type_.timestamp_type_, this_._impl_.type_.timestamp_type_->GetCachedSize(), target, + stream); + break; + } + case kBoundedShapeType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.type_.bounded_shape_type_, this_._impl_.type_.bounded_shape_type_->GetCachedSize(), target, + stream); + break; + } + case kPositionType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.type_.position_type_, this_._impl_.type_.position_type_->GetCachedSize(), target, + stream); + break; + } + case kHeadingType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.type_.heading_type_, this_._impl_.type_.heading_type_->GetCachedSize(), target, + stream); + break; + } + case kListType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, *this_._impl_.type_.list_type_, this_._impl_.type_.list_type_->GetCachedSize(), target, + stream); + break; + } + case kRangeType: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 10, *this_._impl_.type_.range_type_, this_._impl_.type_.range_type_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Value) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Value::ByteSizeLong(const MessageLite& base) { + const Value& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Value::ByteSizeLong() const { + const Value& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Value) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.type_case()) { + // .anduril.entitymanager.v1.BooleanType boolean_type = 1 [json_name = "booleanType"]; + case kBooleanType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.boolean_type_); + break; + } + // .anduril.entitymanager.v1.NumericType numeric_type = 2 [json_name = "numericType"]; + case kNumericType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.numeric_type_); + break; + } + // .anduril.entitymanager.v1.StringType string_type = 3 [json_name = "stringType"]; + case kStringType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.string_type_); + break; + } + // .anduril.entitymanager.v1.EnumType enum_type = 4 [json_name = "enumType"]; + case kEnumType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.enum_type_); + break; + } + // .anduril.entitymanager.v1.TimestampType timestamp_type = 5 [json_name = "timestampType"]; + case kTimestampType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.timestamp_type_); + break; + } + // .anduril.entitymanager.v1.BoundedShapeType bounded_shape_type = 6 [json_name = "boundedShapeType"]; + case kBoundedShapeType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.bounded_shape_type_); + break; + } + // .anduril.entitymanager.v1.PositionType position_type = 7 [json_name = "positionType"]; + case kPositionType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.position_type_); + break; + } + // .anduril.entitymanager.v1.HeadingType heading_type = 8 [json_name = "headingType"]; + case kHeadingType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.heading_type_); + break; + } + // .anduril.entitymanager.v1.ListType list_type = 9 [json_name = "listType"]; + case kListType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.list_type_); + break; + } + // .anduril.entitymanager.v1.RangeType range_type = 10 [json_name = "rangeType"]; + case kRangeType: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.range_type_); + break; + } + case TYPE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Value) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_type(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kBooleanType: { + if (oneof_needs_init) { + _this->_impl_.type_.boolean_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::BooleanType>(arena, *from._impl_.type_.boolean_type_); + } else { + _this->_impl_.type_.boolean_type_->MergeFrom(from._internal_boolean_type()); + } + break; + } + case kNumericType: { + if (oneof_needs_init) { + _this->_impl_.type_.numeric_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NumericType>(arena, *from._impl_.type_.numeric_type_); + } else { + _this->_impl_.type_.numeric_type_->MergeFrom(from._internal_numeric_type()); + } + break; + } + case kStringType: { + if (oneof_needs_init) { + _this->_impl_.type_.string_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::StringType>(arena, *from._impl_.type_.string_type_); + } else { + _this->_impl_.type_.string_type_->MergeFrom(from._internal_string_type()); + } + break; + } + case kEnumType: { + if (oneof_needs_init) { + _this->_impl_.type_.enum_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::EnumType>(arena, *from._impl_.type_.enum_type_); + } else { + _this->_impl_.type_.enum_type_->MergeFrom(from._internal_enum_type()); + } + break; + } + case kTimestampType: { + if (oneof_needs_init) { + _this->_impl_.type_.timestamp_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TimestampType>(arena, *from._impl_.type_.timestamp_type_); + } else { + _this->_impl_.type_.timestamp_type_->MergeFrom(from._internal_timestamp_type()); + } + break; + } + case kBoundedShapeType: { + if (oneof_needs_init) { + _this->_impl_.type_.bounded_shape_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::BoundedShapeType>(arena, *from._impl_.type_.bounded_shape_type_); + } else { + _this->_impl_.type_.bounded_shape_type_->MergeFrom(from._internal_bounded_shape_type()); + } + break; + } + case kPositionType: { + if (oneof_needs_init) { + _this->_impl_.type_.position_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PositionType>(arena, *from._impl_.type_.position_type_); + } else { + _this->_impl_.type_.position_type_->MergeFrom(from._internal_position_type()); + } + break; + } + case kHeadingType: { + if (oneof_needs_init) { + _this->_impl_.type_.heading_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::HeadingType>(arena, *from._impl_.type_.heading_type_); + } else { + _this->_impl_.type_.heading_type_->MergeFrom(from._internal_heading_type()); + } + break; + } + case kListType: { + if (oneof_needs_init) { + _this->_impl_.type_.list_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ListType>(arena, *from._impl_.type_.list_type_); + } else { + _this->_impl_.type_.list_type_->MergeFrom(from._internal_list_type()); + } + break; + } + case kRangeType: { + if (oneof_needs_init) { + _this->_impl_.type_.range_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RangeType>(arena, *from._impl_.type_.range_type_); + } else { + _this->_impl_.type_.range_type_->MergeFrom(from._internal_range_type()); + } + break; + } + case TYPE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Value::CopyFrom(const Value& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Value) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Value::InternalSwap(Value* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.type_, other->_impl_.type_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata Value::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BooleanType::_Internal { + public: +}; + +BooleanType::BooleanType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.BooleanType) +} +BooleanType::BooleanType( + ::google::protobuf::Arena* arena, const BooleanType& from) + : BooleanType(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE BooleanType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BooleanType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +BooleanType::~BooleanType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.BooleanType) + SharedDtor(*this); +} +inline void BooleanType::SharedDtor(MessageLite& self) { + BooleanType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BooleanType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BooleanType(arena); +} +constexpr auto BooleanType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BooleanType), + alignof(BooleanType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BooleanType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BooleanType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BooleanType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BooleanType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BooleanType::ByteSizeLong, + &BooleanType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BooleanType, _impl_._cached_size_), + false, + }, + &BooleanType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BooleanType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BooleanType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::BooleanType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool value = 1 [json_name = "value"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BooleanType, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(BooleanType, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void BooleanType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.BooleanType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = false; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BooleanType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BooleanType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BooleanType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BooleanType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.BooleanType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool value = 1 [json_name = "value"]; + if (this_._internal_value() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_value(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.BooleanType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BooleanType::ByteSizeLong(const MessageLite& base) { + const BooleanType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BooleanType::ByteSizeLong() const { + const BooleanType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.BooleanType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // bool value = 1 [json_name = "value"]; + if (this_._internal_value() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BooleanType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.BooleanType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_value() != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BooleanType::CopyFrom(const BooleanType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.BooleanType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BooleanType::InternalSwap(BooleanType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); +} + +::google::protobuf::Metadata BooleanType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class NumericType::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::NumericType, _impl_._oneof_case_); +}; + +NumericType::NumericType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.NumericType) +} +inline PROTOBUF_NDEBUG_INLINE NumericType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::NumericType& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +NumericType::NumericType( + ::google::protobuf::Arena* arena, + const NumericType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + NumericType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kDoubleValue: + _impl_.value_.double_value_ = from._impl_.value_.double_value_; + break; + case kFloatValue: + _impl_.value_.float_value_ = from._impl_.value_.float_value_; + break; + case kInt32Value: + _impl_.value_.int32_value_ = from._impl_.value_.int32_value_; + break; + case kInt64Value: + _impl_.value_.int64_value_ = from._impl_.value_.int64_value_; + break; + case kUint32Value: + _impl_.value_.uint32_value_ = from._impl_.value_.uint32_value_; + break; + case kUint64Value: + _impl_.value_.uint64_value_ = from._impl_.value_.uint64_value_; + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.NumericType) +} +inline PROTOBUF_NDEBUG_INLINE NumericType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void NumericType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +NumericType::~NumericType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.NumericType) + SharedDtor(*this); +} +inline void NumericType::SharedDtor(MessageLite& self) { + NumericType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void NumericType::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.NumericType) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kDoubleValue: { + // No need to clear + break; + } + case kFloatValue: { + // No need to clear + break; + } + case kInt32Value: { + // No need to clear + break; + } + case kInt64Value: { + // No need to clear + break; + } + case kUint32Value: { + // No need to clear + break; + } + case kUint64Value: { + // No need to clear + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* NumericType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) NumericType(arena); +} +constexpr auto NumericType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NumericType), + alignof(NumericType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull NumericType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_NumericType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &NumericType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &NumericType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &NumericType::ByteSizeLong, + &NumericType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(NumericType, _impl_._cached_size_), + false, + }, + &NumericType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* NumericType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 6, 0, 0, 2> NumericType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 6, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NumericType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // double double_value = 1 [json_name = "doubleValue"]; + {PROTOBUF_FIELD_OFFSET(NumericType, _impl_.value_.double_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kDouble)}, + // float float_value = 2 [json_name = "floatValue"]; + {PROTOBUF_FIELD_OFFSET(NumericType, _impl_.value_.float_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kFloat)}, + // int32 int32_value = 3 [json_name = "int32Value"]; + {PROTOBUF_FIELD_OFFSET(NumericType, _impl_.value_.int32_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kInt32)}, + // int64 int64_value = 4 [json_name = "int64Value"]; + {PROTOBUF_FIELD_OFFSET(NumericType, _impl_.value_.int64_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kInt64)}, + // uint32 uint32_value = 5 [json_name = "uint32Value"]; + {PROTOBUF_FIELD_OFFSET(NumericType, _impl_.value_.uint32_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kUInt32)}, + // uint64 uint64_value = 6 [json_name = "uint64Value"]; + {PROTOBUF_FIELD_OFFSET(NumericType, _impl_.value_.uint64_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kUInt64)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void NumericType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.NumericType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* NumericType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const NumericType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* NumericType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const NumericType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.NumericType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kDoubleValue: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 1, this_._internal_double_value(), target); + break; + } + case kFloatValue: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_float_value(), target); + break; + } + case kInt32Value: { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<3>( + stream, this_._internal_int32_value(), target); + break; + } + case kInt64Value: { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt64ToArrayWithField<4>( + stream, this_._internal_int64_value(), target); + break; + } + case kUint32Value: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_uint32_value(), target); + break; + } + case kUint64Value: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 6, this_._internal_uint64_value(), target); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.NumericType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t NumericType::ByteSizeLong(const MessageLite& base) { + const NumericType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t NumericType::ByteSizeLong() const { + const NumericType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.NumericType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // double double_value = 1 [json_name = "doubleValue"]; + case kDoubleValue: { + total_size += 9; + break; + } + // float float_value = 2 [json_name = "floatValue"]; + case kFloatValue: { + total_size += 5; + break; + } + // int32 int32_value = 3 [json_name = "int32Value"]; + case kInt32Value: { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_int32_value()); + break; + } + // int64 int64_value = 4 [json_name = "int64Value"]; + case kInt64Value: { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_int64_value()); + break; + } + // uint32 uint32_value = 5 [json_name = "uint32Value"]; + case kUint32Value: { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_uint32_value()); + break; + } + // uint64 uint64_value = 6 [json_name = "uint64Value"]; + case kUint64Value: { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_uint64_value()); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void NumericType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.NumericType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kDoubleValue: { + _this->_impl_.value_.double_value_ = from._impl_.value_.double_value_; + break; + } + case kFloatValue: { + _this->_impl_.value_.float_value_ = from._impl_.value_.float_value_; + break; + } + case kInt32Value: { + _this->_impl_.value_.int32_value_ = from._impl_.value_.int32_value_; + break; + } + case kInt64Value: { + _this->_impl_.value_.int64_value_ = from._impl_.value_.int64_value_; + break; + } + case kUint32Value: { + _this->_impl_.value_.uint32_value_ = from._impl_.value_.uint32_value_; + break; + } + case kUint64Value: { + _this->_impl_.value_.uint64_value_ = from._impl_.value_.uint64_value_; + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void NumericType::CopyFrom(const NumericType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.NumericType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void NumericType::InternalSwap(NumericType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata NumericType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class StringType::_Internal { + public: +}; + +StringType::StringType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.StringType) +} +inline PROTOBUF_NDEBUG_INLINE StringType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::StringType& from_msg) + : value_(arena, from.value_), + _cached_size_{0} {} + +StringType::StringType( + ::google::protobuf::Arena* arena, + const StringType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StringType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.StringType) +} +inline PROTOBUF_NDEBUG_INLINE StringType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_(arena), + _cached_size_{0} {} + +inline void StringType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +StringType::~StringType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.StringType) + SharedDtor(*this); +} +inline void StringType::SharedDtor(MessageLite& self) { + StringType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.value_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* StringType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StringType(arena); +} +constexpr auto StringType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StringType), + alignof(StringType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull StringType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_StringType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &StringType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &StringType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &StringType::ByteSizeLong, + &StringType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(StringType, _impl_._cached_size_), + false, + }, + &StringType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StringType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 49, 2> StringType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::StringType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string value = 1 [json_name = "value"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(StringType, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(StringType, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\43\5\0\0\0\0\0\0" + "anduril.entitymanager.v1.StringType" + "value" + }}, +}; + +PROTOBUF_NOINLINE void StringType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.StringType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StringType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StringType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StringType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StringType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.StringType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string value = 1 [json_name = "value"]; + if (!this_._internal_value().empty()) { + const std::string& _s = this_._internal_value(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.StringType.value"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.StringType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t StringType::ByteSizeLong(const MessageLite& base) { + const StringType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StringType::ByteSizeLong() const { + const StringType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.StringType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // string value = 1 [json_name = "value"]; + if (!this_._internal_value().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_value()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void StringType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.StringType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_value().empty()) { + _this->_internal_set_value(from._internal_value()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void StringType::CopyFrom(const StringType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.StringType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void StringType::InternalSwap(StringType* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena); +} + +::google::protobuf::Metadata StringType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class EnumType::_Internal { + public: +}; + +EnumType::EnumType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.EnumType) +} +EnumType::EnumType( + ::google::protobuf::Arena* arena, const EnumType& from) + : EnumType(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE EnumType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void EnumType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +EnumType::~EnumType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.EnumType) + SharedDtor(*this); +} +inline void EnumType::SharedDtor(MessageLite& self) { + EnumType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* EnumType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) EnumType(arena); +} +constexpr auto EnumType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(EnumType), + alignof(EnumType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull EnumType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_EnumType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &EnumType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EnumType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EnumType::ByteSizeLong, + &EnumType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EnumType, _impl_._cached_size_), + false, + }, + &EnumType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* EnumType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> EnumType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::EnumType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // int32 value = 1 [json_name = "value"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EnumType, _impl_.value_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(EnumType, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(EnumType, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void EnumType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.EnumType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* EnumType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const EnumType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* EnumType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const EnumType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.EnumType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 value = 1 [json_name = "value"]; + if (this_._internal_value() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_value(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.EnumType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t EnumType::ByteSizeLong(const MessageLite& base) { + const EnumType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t EnumType::ByteSizeLong() const { + const EnumType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.EnumType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // int32 value = 1 [json_name = "value"]; + if (this_._internal_value() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_value()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void EnumType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.EnumType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_value() != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void EnumType::CopyFrom(const EnumType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.EnumType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void EnumType::InternalSwap(EnumType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); +} + +::google::protobuf::Metadata EnumType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ListType::_Internal { + public: +}; + +ListType::ListType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ListType) +} +inline PROTOBUF_NDEBUG_INLINE ListType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ListType& from_msg) + : values_{visibility, arena, from.values_}, + _cached_size_{0} {} + +ListType::ListType( + ::google::protobuf::Arena* arena, + const ListType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ListType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ListType) +} +inline PROTOBUF_NDEBUG_INLINE ListType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : values_{visibility, arena}, + _cached_size_{0} {} + +inline void ListType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ListType::~ListType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ListType) + SharedDtor(*this); +} +inline void ListType::SharedDtor(MessageLite& self) { + ListType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ListType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ListType(arena); +} +constexpr auto ListType::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(ListType, _impl_.values_) + + decltype(ListType::_impl_.values_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(ListType), alignof(ListType), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&ListType::PlacementNew_, + sizeof(ListType), + alignof(ListType)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ListType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ListType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ListType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ListType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ListType::ByteSizeLong, + &ListType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ListType, _impl_._cached_size_), + false, + }, + &ListType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ListType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ListType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Value values = 1 [json_name = "values"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ListType, _impl_.values_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Value values = 1 [json_name = "values"]; + {PROTOBUF_FIELD_OFFSET(ListType, _impl_.values_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Value>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ListType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ListType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.values_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ListType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ListType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ListType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ListType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ListType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Value values = 1 [json_name = "values"]; + for (unsigned i = 0, n = static_cast( + this_._internal_values_size()); + i < n; i++) { + const auto& repfield = this_._internal_values().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ListType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ListType::ByteSizeLong(const MessageLite& base) { + const ListType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ListType::ByteSizeLong() const { + const ListType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ListType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Value values = 1 [json_name = "values"]; + { + total_size += 1UL * this_._internal_values_size(); + for (const auto& msg : this_._internal_values()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ListType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ListType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_values()->MergeFrom( + from._internal_values()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ListType::CopyFrom(const ListType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ListType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ListType::InternalSwap(ListType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.values_.InternalSwap(&other->_impl_.values_); +} + +::google::protobuf::Metadata ListType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class TimestampType::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TimestampType, _impl_._has_bits_); +}; + +void TimestampType::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ != nullptr) _impl_.value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +TimestampType::TimestampType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.TimestampType) +} +inline PROTOBUF_NDEBUG_INLINE TimestampType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::TimestampType& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TimestampType::TimestampType( + ::google::protobuf::Arena* arena, + const TimestampType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TimestampType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.value_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.value_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.TimestampType) +} +inline PROTOBUF_NDEBUG_INLINE TimestampType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TimestampType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +TimestampType::~TimestampType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.TimestampType) + SharedDtor(*this); +} +inline void TimestampType::SharedDtor(MessageLite& self) { + TimestampType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.value_; + this_._impl_.~Impl_(); +} + +inline void* TimestampType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TimestampType(arena); +} +constexpr auto TimestampType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TimestampType), + alignof(TimestampType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull TimestampType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_TimestampType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TimestampType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TimestampType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &TimestampType::ByteSizeLong, + &TimestampType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TimestampType, _impl_._cached_size_), + false, + }, + &TimestampType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TimestampType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TimestampType::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TimestampType, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TimestampType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.Timestamp value = 1 [json_name = "value"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TimestampType, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.Timestamp value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(TimestampType, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TimestampType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.TimestampType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.value_ != nullptr); + _impl_.value_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TimestampType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TimestampType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TimestampType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TimestampType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.TimestampType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp value = 1 [json_name = "value"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_, this_._impl_.value_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.TimestampType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t TimestampType::ByteSizeLong(const MessageLite& base) { + const TimestampType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TimestampType::ByteSizeLong() const { + const TimestampType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.TimestampType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .google.protobuf.Timestamp value = 1 [json_name = "value"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void TimestampType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.TimestampType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.value_ != nullptr); + if (_this->_impl_.value_ == nullptr) { + _this->_impl_.value_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.value_); + } else { + _this->_impl_.value_->MergeFrom(*from._impl_.value_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TimestampType::CopyFrom(const TimestampType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.TimestampType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TimestampType::InternalSwap(TimestampType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.value_, other->_impl_.value_); +} + +::google::protobuf::Metadata TimestampType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PositionType::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PositionType, _impl_._has_bits_); +}; + +void PositionType::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ != nullptr) _impl_.value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +PositionType::PositionType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PositionType) +} +inline PROTOBUF_NDEBUG_INLINE PositionType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PositionType& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +PositionType::PositionType( + ::google::protobuf::Arena* arena, + const PositionType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PositionType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.value_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.value_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PositionType) +} +inline PROTOBUF_NDEBUG_INLINE PositionType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void PositionType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +PositionType::~PositionType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PositionType) + SharedDtor(*this); +} +inline void PositionType::SharedDtor(MessageLite& self) { + PositionType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.value_; + this_._impl_.~Impl_(); +} + +inline void* PositionType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PositionType(arena); +} +constexpr auto PositionType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PositionType), + alignof(PositionType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PositionType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PositionType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PositionType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PositionType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PositionType::ByteSizeLong, + &PositionType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PositionType, _impl_._cached_size_), + false, + }, + &PositionType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PositionType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PositionType::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PositionType, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PositionType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Position value = 1 [json_name = "value"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(PositionType, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Position value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(PositionType, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void PositionType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PositionType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.value_ != nullptr); + _impl_.value_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PositionType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PositionType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PositionType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PositionType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PositionType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Position value = 1 [json_name = "value"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_, this_._impl_.value_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PositionType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PositionType::ByteSizeLong(const MessageLite& base) { + const PositionType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PositionType::ByteSizeLong() const { + const PositionType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PositionType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Position value = 1 [json_name = "value"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PositionType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PositionType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.value_ != nullptr); + if (_this->_impl_.value_ == nullptr) { + _this->_impl_.value_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.value_); + } else { + _this->_impl_.value_->MergeFrom(*from._impl_.value_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PositionType::CopyFrom(const PositionType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PositionType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PositionType::InternalSwap(PositionType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.value_, other->_impl_.value_); +} + +::google::protobuf::Metadata PositionType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BoundedShapeType::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BoundedShapeType, _impl_._oneof_case_); +}; + +void BoundedShapeType::set_allocated_polygon_value(::anduril::entitymanager::v1::GeoPolygon* polygon_value) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (polygon_value) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(polygon_value)->GetArena(); + if (message_arena != submessage_arena) { + polygon_value = ::google::protobuf::internal::GetOwnedMessage(message_arena, polygon_value, submessage_arena); + } + set_has_polygon_value(); + _impl_.value_.polygon_value_ = polygon_value; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.BoundedShapeType.polygon_value) +} +void BoundedShapeType::clear_polygon_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kPolygonValue) { + if (GetArena() == nullptr) { + delete _impl_.value_.polygon_value_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.polygon_value_); + } + clear_has_value(); + } +} +BoundedShapeType::BoundedShapeType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.BoundedShapeType) +} +inline PROTOBUF_NDEBUG_INLINE BoundedShapeType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::BoundedShapeType& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +BoundedShapeType::BoundedShapeType( + ::google::protobuf::Arena* arena, + const BoundedShapeType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BoundedShapeType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kPolygonValue: + _impl_.value_.polygon_value_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoPolygon>(arena, *from._impl_.value_.polygon_value_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.BoundedShapeType) +} +inline PROTOBUF_NDEBUG_INLINE BoundedShapeType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void BoundedShapeType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BoundedShapeType::~BoundedShapeType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.BoundedShapeType) + SharedDtor(*this); +} +inline void BoundedShapeType::SharedDtor(MessageLite& self) { + BoundedShapeType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void BoundedShapeType::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.BoundedShapeType) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kPolygonValue: { + if (GetArena() == nullptr) { + delete _impl_.value_.polygon_value_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.polygon_value_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* BoundedShapeType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BoundedShapeType(arena); +} +constexpr auto BoundedShapeType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BoundedShapeType), + alignof(BoundedShapeType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BoundedShapeType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BoundedShapeType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BoundedShapeType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BoundedShapeType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BoundedShapeType::ByteSizeLong, + &BoundedShapeType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BoundedShapeType, _impl_._cached_size_), + false, + }, + &BoundedShapeType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BoundedShapeType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> BoundedShapeType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::BoundedShapeType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.GeoPolygon polygon_value = 1 [json_name = "polygonValue"]; + {PROTOBUF_FIELD_OFFSET(BoundedShapeType, _impl_.value_.polygon_value_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPolygon>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BoundedShapeType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.BoundedShapeType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BoundedShapeType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BoundedShapeType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BoundedShapeType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BoundedShapeType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.BoundedShapeType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.GeoPolygon polygon_value = 1 [json_name = "polygonValue"]; + if (this_.value_case() == kPolygonValue) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.polygon_value_, this_._impl_.value_.polygon_value_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.BoundedShapeType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BoundedShapeType::ByteSizeLong(const MessageLite& base) { + const BoundedShapeType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BoundedShapeType::ByteSizeLong() const { + const BoundedShapeType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.BoundedShapeType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .anduril.entitymanager.v1.GeoPolygon polygon_value = 1 [json_name = "polygonValue"]; + case kPolygonValue: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.polygon_value_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BoundedShapeType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.BoundedShapeType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPolygonValue: { + if (oneof_needs_init) { + _this->_impl_.value_.polygon_value_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoPolygon>(arena, *from._impl_.value_.polygon_value_); + } else { + _this->_impl_.value_.polygon_value_->MergeFrom(from._internal_polygon_value()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BoundedShapeType::CopyFrom(const BoundedShapeType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.BoundedShapeType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BoundedShapeType::InternalSwap(BoundedShapeType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata BoundedShapeType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class HeadingType::_Internal { + public: +}; + +HeadingType::HeadingType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.HeadingType) +} +HeadingType::HeadingType( + ::google::protobuf::Arena* arena, const HeadingType& from) + : HeadingType(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE HeadingType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void HeadingType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +HeadingType::~HeadingType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.HeadingType) + SharedDtor(*this); +} +inline void HeadingType::SharedDtor(MessageLite& self) { + HeadingType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* HeadingType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) HeadingType(arena); +} +constexpr auto HeadingType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HeadingType), + alignof(HeadingType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull HeadingType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_HeadingType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &HeadingType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &HeadingType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &HeadingType::ByteSizeLong, + &HeadingType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(HeadingType, _impl_._cached_size_), + false, + }, + &HeadingType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* HeadingType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> HeadingType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::HeadingType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // int32 value = 1 [json_name = "value"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(HeadingType, _impl_.value_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(HeadingType, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(HeadingType, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void HeadingType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.HeadingType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* HeadingType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const HeadingType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* HeadingType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const HeadingType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.HeadingType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 value = 1 [json_name = "value"]; + if (this_._internal_value() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_value(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.HeadingType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t HeadingType::ByteSizeLong(const MessageLite& base) { + const HeadingType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t HeadingType::ByteSizeLong() const { + const HeadingType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.HeadingType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // int32 value = 1 [json_name = "value"]; + if (this_._internal_value() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_value()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void HeadingType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.HeadingType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_value() != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void HeadingType::CopyFrom(const HeadingType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.HeadingType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void HeadingType::InternalSwap(HeadingType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); +} + +::google::protobuf::Metadata HeadingType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class RangeType::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RangeType, _impl_._has_bits_); +}; + +RangeType::RangeType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RangeType) +} +inline PROTOBUF_NDEBUG_INLINE RangeType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::RangeType& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RangeType::RangeType( + ::google::protobuf::Arena* arena, + const RangeType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RangeType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.start_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NumericType>( + arena, *from._impl_.start_) + : nullptr; + _impl_.end_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NumericType>( + arena, *from._impl_.end_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RangeType) +} +inline PROTOBUF_NDEBUG_INLINE RangeType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RangeType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, start_), + 0, + offsetof(Impl_, end_) - + offsetof(Impl_, start_) + + sizeof(Impl_::end_)); +} +RangeType::~RangeType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RangeType) + SharedDtor(*this); +} +inline void RangeType::SharedDtor(MessageLite& self) { + RangeType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.start_; + delete this_._impl_.end_; + this_._impl_.~Impl_(); +} + +inline void* RangeType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RangeType(arena); +} +constexpr auto RangeType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RangeType), + alignof(RangeType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RangeType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RangeType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RangeType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RangeType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RangeType::ByteSizeLong, + &RangeType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RangeType, _impl_._cached_size_), + false, + }, + &RangeType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RangeType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> RangeType::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RangeType, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RangeType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.NumericType end = 2 [json_name = "end"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(RangeType, _impl_.end_)}}, + // .anduril.entitymanager.v1.NumericType start = 1 [json_name = "start"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RangeType, _impl_.start_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.NumericType start = 1 [json_name = "start"]; + {PROTOBUF_FIELD_OFFSET(RangeType, _impl_.start_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.NumericType end = 2 [json_name = "end"]; + {PROTOBUF_FIELD_OFFSET(RangeType, _impl_.end_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NumericType>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::NumericType>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void RangeType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RangeType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.start_ != nullptr); + _impl_.start_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.end_ != nullptr); + _impl_.end_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RangeType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RangeType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RangeType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RangeType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RangeType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.NumericType start = 1 [json_name = "start"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.start_, this_._impl_.start_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.NumericType end = 2 [json_name = "end"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.end_, this_._impl_.end_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RangeType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RangeType::ByteSizeLong(const MessageLite& base) { + const RangeType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RangeType::ByteSizeLong() const { + const RangeType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RangeType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.NumericType start = 1 [json_name = "start"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.start_); + } + // .anduril.entitymanager.v1.NumericType end = 2 [json_name = "end"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.end_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RangeType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RangeType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.start_ != nullptr); + if (_this->_impl_.start_ == nullptr) { + _this->_impl_.start_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NumericType>(arena, *from._impl_.start_); + } else { + _this->_impl_.start_->MergeFrom(*from._impl_.start_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.end_ != nullptr); + if (_this->_impl_.end_ == nullptr) { + _this->_impl_.end_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::NumericType>(arena, *from._impl_.end_); + } else { + _this->_impl_.end_->MergeFrom(*from._impl_.end_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RangeType::CopyFrom(const RangeType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RangeType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RangeType::InternalSwap(RangeType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RangeType, _impl_.end_) + + sizeof(RangeType::_impl_.end_) + - PROTOBUF_FIELD_OFFSET(RangeType, _impl_.start_)>( + reinterpret_cast(&_impl_.start_), + reinterpret_cast(&other->_impl_.start_)); +} + +::google::protobuf::Metadata RangeType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/filter.pub.pb.h b/src/anduril/entitymanager/v1/filter.pub.pb.h new file mode 100644 index 0000000..5a7c5f5 --- /dev/null +++ b/src/anduril/entitymanager/v1/filter.pub.pb.h @@ -0,0 +1,7646 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/filter.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/geoentity.pub.pb.h" +#include "anduril/entitymanager/v1/location.pub.pb.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class AndOperation; +struct AndOperationDefaultTypeInternal; +extern AndOperationDefaultTypeInternal _AndOperation_default_instance_; +class BooleanType; +struct BooleanTypeDefaultTypeInternal; +extern BooleanTypeDefaultTypeInternal _BooleanType_default_instance_; +class BoundedShapeType; +struct BoundedShapeTypeDefaultTypeInternal; +extern BoundedShapeTypeDefaultTypeInternal _BoundedShapeType_default_instance_; +class EnumType; +struct EnumTypeDefaultTypeInternal; +extern EnumTypeDefaultTypeInternal _EnumType_default_instance_; +class HeadingType; +struct HeadingTypeDefaultTypeInternal; +extern HeadingTypeDefaultTypeInternal _HeadingType_default_instance_; +class ListOperation; +struct ListOperationDefaultTypeInternal; +extern ListOperationDefaultTypeInternal _ListOperation_default_instance_; +class ListType; +struct ListTypeDefaultTypeInternal; +extern ListTypeDefaultTypeInternal _ListType_default_instance_; +class NotOperation; +struct NotOperationDefaultTypeInternal; +extern NotOperationDefaultTypeInternal _NotOperation_default_instance_; +class NumericType; +struct NumericTypeDefaultTypeInternal; +extern NumericTypeDefaultTypeInternal _NumericType_default_instance_; +class OrOperation; +struct OrOperationDefaultTypeInternal; +extern OrOperationDefaultTypeInternal _OrOperation_default_instance_; +class PositionType; +struct PositionTypeDefaultTypeInternal; +extern PositionTypeDefaultTypeInternal _PositionType_default_instance_; +class Predicate; +struct PredicateDefaultTypeInternal; +extern PredicateDefaultTypeInternal _Predicate_default_instance_; +class PredicateSet; +struct PredicateSetDefaultTypeInternal; +extern PredicateSetDefaultTypeInternal _PredicateSet_default_instance_; +class RangeType; +struct RangeTypeDefaultTypeInternal; +extern RangeTypeDefaultTypeInternal _RangeType_default_instance_; +class Statement; +struct StatementDefaultTypeInternal; +extern StatementDefaultTypeInternal _Statement_default_instance_; +class StatementSet; +struct StatementSetDefaultTypeInternal; +extern StatementSetDefaultTypeInternal _StatementSet_default_instance_; +class StringType; +struct StringTypeDefaultTypeInternal; +extern StringTypeDefaultTypeInternal _StringType_default_instance_; +class TimestampType; +struct TimestampTypeDefaultTypeInternal; +extern TimestampTypeDefaultTypeInternal _TimestampType_default_instance_; +class Value; +struct ValueDefaultTypeInternal; +extern ValueDefaultTypeInternal _Value_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum Comparator : int { + COMPARATOR_INVALID = 0, + COMPARATOR_MATCH_ALL = 11, + COMPARATOR_EQUALITY = 1, + COMPARATOR_IN = 9, + COMPARATOR_LESS_THAN = 2, + COMPARATOR_GREATER_THAN = 3, + COMPARATOR_LESS_THAN_EQUAL_TO = 4, + COMPARATOR_GREATER_THAN_EQUAL_TO = 5, + COMPARATOR_WITHIN = 6, + COMPARATOR_EXISTS = 7, + COMPARATOR_CASE_INSENSITIVE_EQUALITY = 8, + COMPARATOR_CASE_INSENSITIVE_EQUALITY_IN = 10, + COMPARATOR_RANGE_CLOSED = 12, + Comparator_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + Comparator_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool Comparator_IsValid(int value); +extern const uint32_t Comparator_internal_data_[]; +constexpr Comparator Comparator_MIN = static_cast(0); +constexpr Comparator Comparator_MAX = static_cast(12); +constexpr int Comparator_ARRAYSIZE = 12 + 1; +const ::google::protobuf::EnumDescriptor* +Comparator_descriptor(); +template +const std::string& Comparator_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to Comparator_Name()."); + return Comparator_Name(static_cast(value)); +} +template <> +inline const std::string& Comparator_Name(Comparator value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool Comparator_Parse(absl::string_view name, Comparator* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Comparator_descriptor(), name, value); +} +enum ListComparator : int { + LIST_COMPARATOR_INVALID = 0, + LIST_COMPARATOR_ANY_OF = 1, + ListComparator_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ListComparator_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ListComparator_IsValid(int value); +extern const uint32_t ListComparator_internal_data_[]; +constexpr ListComparator ListComparator_MIN = static_cast(0); +constexpr ListComparator ListComparator_MAX = static_cast(1); +constexpr int ListComparator_ARRAYSIZE = 1 + 1; +const ::google::protobuf::EnumDescriptor* +ListComparator_descriptor(); +template +const std::string& ListComparator_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ListComparator_Name()."); + return ListComparator_Name(static_cast(value)); +} +template <> +inline const std::string& ListComparator_Name(ListComparator value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ListComparator_Parse(absl::string_view name, ListComparator* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ListComparator_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class StringType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.StringType) */ { + public: + inline StringType() : StringType(nullptr) {} + ~StringType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(StringType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(StringType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR StringType( + ::google::protobuf::internal::ConstantInitialized); + + inline StringType(const StringType& from) : StringType(nullptr, from) {} + inline StringType(StringType&& from) noexcept + : StringType(nullptr, std::move(from)) {} + inline StringType& operator=(const StringType& from) { + CopyFrom(from); + return *this; + } + inline StringType& operator=(StringType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const StringType& default_instance() { + return *internal_default_instance(); + } + static inline const StringType* internal_default_instance() { + return reinterpret_cast( + &_StringType_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(StringType& a, StringType& b) { a.Swap(&b); } + inline void Swap(StringType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StringType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + StringType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const StringType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const StringType& from) { StringType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(StringType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.StringType"; } + + protected: + explicit StringType(::google::protobuf::Arena* arena); + StringType(::google::protobuf::Arena* arena, const StringType& from); + StringType(::google::protobuf::Arena* arena, StringType&& from) noexcept + : StringType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // string value = 1 [json_name = "value"]; + void clear_value() ; + const std::string& value() const; + template + void set_value(Arg_&& arg, Args_... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( + const std::string& value); + std::string* _internal_mutable_value(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.StringType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 49, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const StringType& from_msg); + ::google::protobuf::internal::ArenaStringPtr value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class NumericType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.NumericType) */ { + public: + inline NumericType() : NumericType(nullptr) {} + ~NumericType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(NumericType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(NumericType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR NumericType( + ::google::protobuf::internal::ConstantInitialized); + + inline NumericType(const NumericType& from) : NumericType(nullptr, from) {} + inline NumericType(NumericType&& from) noexcept + : NumericType(nullptr, std::move(from)) {} + inline NumericType& operator=(const NumericType& from) { + CopyFrom(from); + return *this; + } + inline NumericType& operator=(NumericType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const NumericType& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kDoubleValue = 1, + kFloatValue = 2, + kInt32Value = 3, + kInt64Value = 4, + kUint32Value = 5, + kUint64Value = 6, + VALUE_NOT_SET = 0, + }; + static inline const NumericType* internal_default_instance() { + return reinterpret_cast( + &_NumericType_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(NumericType& a, NumericType& b) { a.Swap(&b); } + inline void Swap(NumericType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(NumericType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NumericType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const NumericType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const NumericType& from) { NumericType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(NumericType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.NumericType"; } + + protected: + explicit NumericType(::google::protobuf::Arena* arena); + NumericType(::google::protobuf::Arena* arena, const NumericType& from); + NumericType(::google::protobuf::Arena* arena, NumericType&& from) noexcept + : NumericType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDoubleValueFieldNumber = 1, + kFloatValueFieldNumber = 2, + kInt32ValueFieldNumber = 3, + kInt64ValueFieldNumber = 4, + kUint32ValueFieldNumber = 5, + kUint64ValueFieldNumber = 6, + }; + // double double_value = 1 [json_name = "doubleValue"]; + bool has_double_value() const; + void clear_double_value() ; + double double_value() const; + void set_double_value(double value); + + private: + double _internal_double_value() const; + void _internal_set_double_value(double value); + + public: + // float float_value = 2 [json_name = "floatValue"]; + bool has_float_value() const; + void clear_float_value() ; + float float_value() const; + void set_float_value(float value); + + private: + float _internal_float_value() const; + void _internal_set_float_value(float value); + + public: + // int32 int32_value = 3 [json_name = "int32Value"]; + bool has_int32_value() const; + void clear_int32_value() ; + ::int32_t int32_value() const; + void set_int32_value(::int32_t value); + + private: + ::int32_t _internal_int32_value() const; + void _internal_set_int32_value(::int32_t value); + + public: + // int64 int64_value = 4 [json_name = "int64Value"]; + bool has_int64_value() const; + void clear_int64_value() ; + ::int64_t int64_value() const; + void set_int64_value(::int64_t value); + + private: + ::int64_t _internal_int64_value() const; + void _internal_set_int64_value(::int64_t value); + + public: + // uint32 uint32_value = 5 [json_name = "uint32Value"]; + bool has_uint32_value() const; + void clear_uint32_value() ; + ::uint32_t uint32_value() const; + void set_uint32_value(::uint32_t value); + + private: + ::uint32_t _internal_uint32_value() const; + void _internal_set_uint32_value(::uint32_t value); + + public: + // uint64 uint64_value = 6 [json_name = "uint64Value"]; + bool has_uint64_value() const; + void clear_uint64_value() ; + ::uint64_t uint64_value() const; + void set_uint64_value(::uint64_t value); + + private: + ::uint64_t _internal_uint64_value() const; + void _internal_set_uint64_value(::uint64_t value); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.NumericType) + private: + class _Internal; + void set_has_double_value(); + void set_has_float_value(); + void set_has_int32_value(); + void set_has_int64_value(); + void set_has_uint32_value(); + void set_has_uint64_value(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 6, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const NumericType& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + double double_value_; + float float_value_; + ::int32_t int32_value_; + ::int64_t int64_value_; + ::uint32_t uint32_value_; + ::uint64_t uint64_value_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class HeadingType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.HeadingType) */ { + public: + inline HeadingType() : HeadingType(nullptr) {} + ~HeadingType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(HeadingType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(HeadingType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR HeadingType( + ::google::protobuf::internal::ConstantInitialized); + + inline HeadingType(const HeadingType& from) : HeadingType(nullptr, from) {} + inline HeadingType(HeadingType&& from) noexcept + : HeadingType(nullptr, std::move(from)) {} + inline HeadingType& operator=(const HeadingType& from) { + CopyFrom(from); + return *this; + } + inline HeadingType& operator=(HeadingType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const HeadingType& default_instance() { + return *internal_default_instance(); + } + static inline const HeadingType* internal_default_instance() { + return reinterpret_cast( + &_HeadingType_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(HeadingType& a, HeadingType& b) { a.Swap(&b); } + inline void Swap(HeadingType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(HeadingType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + HeadingType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const HeadingType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const HeadingType& from) { HeadingType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(HeadingType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.HeadingType"; } + + protected: + explicit HeadingType(::google::protobuf::Arena* arena); + HeadingType(::google::protobuf::Arena* arena, const HeadingType& from); + HeadingType(::google::protobuf::Arena* arena, HeadingType&& from) noexcept + : HeadingType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // int32 value = 1 [json_name = "value"]; + void clear_value() ; + ::int32_t value() const; + void set_value(::int32_t value); + + private: + ::int32_t _internal_value() const; + void _internal_set_value(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.HeadingType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const HeadingType& from_msg); + ::int32_t value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class EnumType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.EnumType) */ { + public: + inline EnumType() : EnumType(nullptr) {} + ~EnumType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(EnumType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR EnumType( + ::google::protobuf::internal::ConstantInitialized); + + inline EnumType(const EnumType& from) : EnumType(nullptr, from) {} + inline EnumType(EnumType&& from) noexcept + : EnumType(nullptr, std::move(from)) {} + inline EnumType& operator=(const EnumType& from) { + CopyFrom(from); + return *this; + } + inline EnumType& operator=(EnumType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const EnumType& default_instance() { + return *internal_default_instance(); + } + static inline const EnumType* internal_default_instance() { + return reinterpret_cast( + &_EnumType_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(EnumType& a, EnumType& b) { a.Swap(&b); } + inline void Swap(EnumType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(EnumType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + EnumType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const EnumType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const EnumType& from) { EnumType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(EnumType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.EnumType"; } + + protected: + explicit EnumType(::google::protobuf::Arena* arena); + EnumType(::google::protobuf::Arena* arena, const EnumType& from); + EnumType(::google::protobuf::Arena* arena, EnumType&& from) noexcept + : EnumType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // int32 value = 1 [json_name = "value"]; + void clear_value() ; + ::int32_t value() const; + void set_value(::int32_t value); + + private: + ::int32_t _internal_value() const; + void _internal_set_value(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.EnumType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const EnumType& from_msg); + ::int32_t value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class BooleanType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.BooleanType) */ { + public: + inline BooleanType() : BooleanType(nullptr) {} + ~BooleanType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BooleanType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BooleanType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BooleanType( + ::google::protobuf::internal::ConstantInitialized); + + inline BooleanType(const BooleanType& from) : BooleanType(nullptr, from) {} + inline BooleanType(BooleanType&& from) noexcept + : BooleanType(nullptr, std::move(from)) {} + inline BooleanType& operator=(const BooleanType& from) { + CopyFrom(from); + return *this; + } + inline BooleanType& operator=(BooleanType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BooleanType& default_instance() { + return *internal_default_instance(); + } + static inline const BooleanType* internal_default_instance() { + return reinterpret_cast( + &_BooleanType_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(BooleanType& a, BooleanType& b) { a.Swap(&b); } + inline void Swap(BooleanType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BooleanType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BooleanType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BooleanType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BooleanType& from) { BooleanType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BooleanType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.BooleanType"; } + + protected: + explicit BooleanType(::google::protobuf::Arena* arena); + BooleanType(::google::protobuf::Arena* arena, const BooleanType& from); + BooleanType(::google::protobuf::Arena* arena, BooleanType&& from) noexcept + : BooleanType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // bool value = 1 [json_name = "value"]; + void clear_value() ; + bool value() const; + void set_value(bool value); + + private: + bool _internal_value() const; + void _internal_set_value(bool value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.BooleanType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BooleanType& from_msg); + bool value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class TimestampType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.TimestampType) */ { + public: + inline TimestampType() : TimestampType(nullptr) {} + ~TimestampType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TimestampType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TimestampType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TimestampType( + ::google::protobuf::internal::ConstantInitialized); + + inline TimestampType(const TimestampType& from) : TimestampType(nullptr, from) {} + inline TimestampType(TimestampType&& from) noexcept + : TimestampType(nullptr, std::move(from)) {} + inline TimestampType& operator=(const TimestampType& from) { + CopyFrom(from); + return *this; + } + inline TimestampType& operator=(TimestampType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TimestampType& default_instance() { + return *internal_default_instance(); + } + static inline const TimestampType* internal_default_instance() { + return reinterpret_cast( + &_TimestampType_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(TimestampType& a, TimestampType& b) { a.Swap(&b); } + inline void Swap(TimestampType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TimestampType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TimestampType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TimestampType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TimestampType& from) { TimestampType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TimestampType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.TimestampType"; } + + protected: + explicit TimestampType(::google::protobuf::Arena* arena); + TimestampType(::google::protobuf::Arena* arena, const TimestampType& from); + TimestampType(::google::protobuf::Arena* arena, TimestampType&& from) noexcept + : TimestampType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // .google.protobuf.Timestamp value = 1 [json_name = "value"]; + bool has_value() const; + void clear_value() ; + const ::google::protobuf::Timestamp& value() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_value(); + ::google::protobuf::Timestamp* mutable_value(); + void set_allocated_value(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_value(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_value(); + + private: + const ::google::protobuf::Timestamp& _internal_value() const; + ::google::protobuf::Timestamp* _internal_mutable_value(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.TimestampType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TimestampType& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::Timestamp* value_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class RangeType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RangeType) */ { + public: + inline RangeType() : RangeType(nullptr) {} + ~RangeType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RangeType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RangeType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RangeType( + ::google::protobuf::internal::ConstantInitialized); + + inline RangeType(const RangeType& from) : RangeType(nullptr, from) {} + inline RangeType(RangeType&& from) noexcept + : RangeType(nullptr, std::move(from)) {} + inline RangeType& operator=(const RangeType& from) { + CopyFrom(from); + return *this; + } + inline RangeType& operator=(RangeType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RangeType& default_instance() { + return *internal_default_instance(); + } + static inline const RangeType* internal_default_instance() { + return reinterpret_cast( + &_RangeType_default_instance_); + } + static constexpr int kIndexInFileMessages = 18; + friend void swap(RangeType& a, RangeType& b) { a.Swap(&b); } + inline void Swap(RangeType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RangeType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RangeType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RangeType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RangeType& from) { RangeType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RangeType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RangeType"; } + + protected: + explicit RangeType(::google::protobuf::Arena* arena); + RangeType(::google::protobuf::Arena* arena, const RangeType& from); + RangeType(::google::protobuf::Arena* arena, RangeType&& from) noexcept + : RangeType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kStartFieldNumber = 1, + kEndFieldNumber = 2, + }; + // .anduril.entitymanager.v1.NumericType start = 1 [json_name = "start"]; + bool has_start() const; + void clear_start() ; + const ::anduril::entitymanager::v1::NumericType& start() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::NumericType* release_start(); + ::anduril::entitymanager::v1::NumericType* mutable_start(); + void set_allocated_start(::anduril::entitymanager::v1::NumericType* value); + void unsafe_arena_set_allocated_start(::anduril::entitymanager::v1::NumericType* value); + ::anduril::entitymanager::v1::NumericType* unsafe_arena_release_start(); + + private: + const ::anduril::entitymanager::v1::NumericType& _internal_start() const; + ::anduril::entitymanager::v1::NumericType* _internal_mutable_start(); + + public: + // .anduril.entitymanager.v1.NumericType end = 2 [json_name = "end"]; + bool has_end() const; + void clear_end() ; + const ::anduril::entitymanager::v1::NumericType& end() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::NumericType* release_end(); + ::anduril::entitymanager::v1::NumericType* mutable_end(); + void set_allocated_end(::anduril::entitymanager::v1::NumericType* value); + void unsafe_arena_set_allocated_end(::anduril::entitymanager::v1::NumericType* value); + ::anduril::entitymanager::v1::NumericType* unsafe_arena_release_end(); + + private: + const ::anduril::entitymanager::v1::NumericType& _internal_end() const; + ::anduril::entitymanager::v1::NumericType* _internal_mutable_end(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RangeType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RangeType& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::NumericType* start_; + ::anduril::entitymanager::v1::NumericType* end_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PositionType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PositionType) */ { + public: + inline PositionType() : PositionType(nullptr) {} + ~PositionType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PositionType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PositionType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PositionType( + ::google::protobuf::internal::ConstantInitialized); + + inline PositionType(const PositionType& from) : PositionType(nullptr, from) {} + inline PositionType(PositionType&& from) noexcept + : PositionType(nullptr, std::move(from)) {} + inline PositionType& operator=(const PositionType& from) { + CopyFrom(from); + return *this; + } + inline PositionType& operator=(PositionType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PositionType& default_instance() { + return *internal_default_instance(); + } + static inline const PositionType* internal_default_instance() { + return reinterpret_cast( + &_PositionType_default_instance_); + } + static constexpr int kIndexInFileMessages = 15; + friend void swap(PositionType& a, PositionType& b) { a.Swap(&b); } + inline void Swap(PositionType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PositionType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PositionType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PositionType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PositionType& from) { PositionType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PositionType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PositionType"; } + + protected: + explicit PositionType(::google::protobuf::Arena* arena); + PositionType(::google::protobuf::Arena* arena, const PositionType& from); + PositionType(::google::protobuf::Arena* arena, PositionType&& from) noexcept + : PositionType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Position value = 1 [json_name = "value"]; + bool has_value() const; + void clear_value() ; + const ::anduril::entitymanager::v1::Position& value() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_value(); + ::anduril::entitymanager::v1::Position* mutable_value(); + void set_allocated_value(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_value(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_value(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_value() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_value(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PositionType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PositionType& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Position* value_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class BoundedShapeType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.BoundedShapeType) */ { + public: + inline BoundedShapeType() : BoundedShapeType(nullptr) {} + ~BoundedShapeType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BoundedShapeType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BoundedShapeType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BoundedShapeType( + ::google::protobuf::internal::ConstantInitialized); + + inline BoundedShapeType(const BoundedShapeType& from) : BoundedShapeType(nullptr, from) {} + inline BoundedShapeType(BoundedShapeType&& from) noexcept + : BoundedShapeType(nullptr, std::move(from)) {} + inline BoundedShapeType& operator=(const BoundedShapeType& from) { + CopyFrom(from); + return *this; + } + inline BoundedShapeType& operator=(BoundedShapeType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BoundedShapeType& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kPolygonValue = 1, + VALUE_NOT_SET = 0, + }; + static inline const BoundedShapeType* internal_default_instance() { + return reinterpret_cast( + &_BoundedShapeType_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(BoundedShapeType& a, BoundedShapeType& b) { a.Swap(&b); } + inline void Swap(BoundedShapeType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BoundedShapeType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BoundedShapeType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BoundedShapeType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BoundedShapeType& from) { BoundedShapeType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BoundedShapeType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.BoundedShapeType"; } + + protected: + explicit BoundedShapeType(::google::protobuf::Arena* arena); + BoundedShapeType(::google::protobuf::Arena* arena, const BoundedShapeType& from); + BoundedShapeType(::google::protobuf::Arena* arena, BoundedShapeType&& from) noexcept + : BoundedShapeType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPolygonValueFieldNumber = 1, + }; + // .anduril.entitymanager.v1.GeoPolygon polygon_value = 1 [json_name = "polygonValue"]; + bool has_polygon_value() const; + private: + bool _internal_has_polygon_value() const; + + public: + void clear_polygon_value() ; + const ::anduril::entitymanager::v1::GeoPolygon& polygon_value() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoPolygon* release_polygon_value(); + ::anduril::entitymanager::v1::GeoPolygon* mutable_polygon_value(); + void set_allocated_polygon_value(::anduril::entitymanager::v1::GeoPolygon* value); + void unsafe_arena_set_allocated_polygon_value(::anduril::entitymanager::v1::GeoPolygon* value); + ::anduril::entitymanager::v1::GeoPolygon* unsafe_arena_release_polygon_value(); + + private: + const ::anduril::entitymanager::v1::GeoPolygon& _internal_polygon_value() const; + ::anduril::entitymanager::v1::GeoPolygon* _internal_mutable_polygon_value(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.BoundedShapeType) + private: + class _Internal; + void set_has_polygon_value(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BoundedShapeType& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::GeoPolygon* polygon_value_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class ListType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ListType) */ { + public: + inline ListType() : ListType(nullptr) {} + ~ListType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ListType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ListType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ListType( + ::google::protobuf::internal::ConstantInitialized); + + inline ListType(const ListType& from) : ListType(nullptr, from) {} + inline ListType(ListType&& from) noexcept + : ListType(nullptr, std::move(from)) {} + inline ListType& operator=(const ListType& from) { + CopyFrom(from); + return *this; + } + inline ListType& operator=(ListType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListType& default_instance() { + return *internal_default_instance(); + } + static inline const ListType* internal_default_instance() { + return reinterpret_cast( + &_ListType_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(ListType& a, ListType& b) { a.Swap(&b); } + inline void Swap(ListType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ListType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ListType& from) { ListType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ListType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ListType"; } + + protected: + explicit ListType(::google::protobuf::Arena* arena); + ListType(::google::protobuf::Arena* arena, const ListType& from); + ListType(::google::protobuf::Arena* arena, ListType&& from) noexcept + : ListType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValuesFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Value values = 1 [json_name = "values"]; + int values_size() const; + private: + int _internal_values_size() const; + + public: + void clear_values() ; + ::anduril::entitymanager::v1::Value* mutable_values(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>* mutable_values(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>& _internal_values() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>* _internal_mutable_values(); + public: + const ::anduril::entitymanager::v1::Value& values(int index) const; + ::anduril::entitymanager::v1::Value* add_values(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>& values() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ListType) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ListType& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Value > values_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Value final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Value) */ { + public: + inline Value() : Value(nullptr) {} + ~Value() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Value* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Value)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Value( + ::google::protobuf::internal::ConstantInitialized); + + inline Value(const Value& from) : Value(nullptr, from) {} + inline Value(Value&& from) noexcept + : Value(nullptr, std::move(from)) {} + inline Value& operator=(const Value& from) { + CopyFrom(from); + return *this; + } + inline Value& operator=(Value&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Value& default_instance() { + return *internal_default_instance(); + } + enum TypeCase { + kBooleanType = 1, + kNumericType = 2, + kStringType = 3, + kEnumType = 4, + kTimestampType = 5, + kBoundedShapeType = 6, + kPositionType = 7, + kHeadingType = 8, + kListType = 9, + kRangeType = 10, + TYPE_NOT_SET = 0, + }; + static inline const Value* internal_default_instance() { + return reinterpret_cast( + &_Value_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(Value& a, Value& b) { a.Swap(&b); } + inline void Swap(Value* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Value* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Value* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Value& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Value& from) { Value::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Value* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Value"; } + + protected: + explicit Value(::google::protobuf::Arena* arena); + Value(::google::protobuf::Arena* arena, const Value& from); + Value(::google::protobuf::Arena* arena, Value&& from) noexcept + : Value(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kBooleanTypeFieldNumber = 1, + kNumericTypeFieldNumber = 2, + kStringTypeFieldNumber = 3, + kEnumTypeFieldNumber = 4, + kTimestampTypeFieldNumber = 5, + kBoundedShapeTypeFieldNumber = 6, + kPositionTypeFieldNumber = 7, + kHeadingTypeFieldNumber = 8, + kListTypeFieldNumber = 9, + kRangeTypeFieldNumber = 10, + }; + // .anduril.entitymanager.v1.BooleanType boolean_type = 1 [json_name = "booleanType"]; + bool has_boolean_type() const; + private: + bool _internal_has_boolean_type() const; + + public: + void clear_boolean_type() ; + const ::anduril::entitymanager::v1::BooleanType& boolean_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::BooleanType* release_boolean_type(); + ::anduril::entitymanager::v1::BooleanType* mutable_boolean_type(); + void set_allocated_boolean_type(::anduril::entitymanager::v1::BooleanType* value); + void unsafe_arena_set_allocated_boolean_type(::anduril::entitymanager::v1::BooleanType* value); + ::anduril::entitymanager::v1::BooleanType* unsafe_arena_release_boolean_type(); + + private: + const ::anduril::entitymanager::v1::BooleanType& _internal_boolean_type() const; + ::anduril::entitymanager::v1::BooleanType* _internal_mutable_boolean_type(); + + public: + // .anduril.entitymanager.v1.NumericType numeric_type = 2 [json_name = "numericType"]; + bool has_numeric_type() const; + private: + bool _internal_has_numeric_type() const; + + public: + void clear_numeric_type() ; + const ::anduril::entitymanager::v1::NumericType& numeric_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::NumericType* release_numeric_type(); + ::anduril::entitymanager::v1::NumericType* mutable_numeric_type(); + void set_allocated_numeric_type(::anduril::entitymanager::v1::NumericType* value); + void unsafe_arena_set_allocated_numeric_type(::anduril::entitymanager::v1::NumericType* value); + ::anduril::entitymanager::v1::NumericType* unsafe_arena_release_numeric_type(); + + private: + const ::anduril::entitymanager::v1::NumericType& _internal_numeric_type() const; + ::anduril::entitymanager::v1::NumericType* _internal_mutable_numeric_type(); + + public: + // .anduril.entitymanager.v1.StringType string_type = 3 [json_name = "stringType"]; + bool has_string_type() const; + private: + bool _internal_has_string_type() const; + + public: + void clear_string_type() ; + const ::anduril::entitymanager::v1::StringType& string_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::StringType* release_string_type(); + ::anduril::entitymanager::v1::StringType* mutable_string_type(); + void set_allocated_string_type(::anduril::entitymanager::v1::StringType* value); + void unsafe_arena_set_allocated_string_type(::anduril::entitymanager::v1::StringType* value); + ::anduril::entitymanager::v1::StringType* unsafe_arena_release_string_type(); + + private: + const ::anduril::entitymanager::v1::StringType& _internal_string_type() const; + ::anduril::entitymanager::v1::StringType* _internal_mutable_string_type(); + + public: + // .anduril.entitymanager.v1.EnumType enum_type = 4 [json_name = "enumType"]; + bool has_enum_type() const; + private: + bool _internal_has_enum_type() const; + + public: + void clear_enum_type() ; + const ::anduril::entitymanager::v1::EnumType& enum_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::EnumType* release_enum_type(); + ::anduril::entitymanager::v1::EnumType* mutable_enum_type(); + void set_allocated_enum_type(::anduril::entitymanager::v1::EnumType* value); + void unsafe_arena_set_allocated_enum_type(::anduril::entitymanager::v1::EnumType* value); + ::anduril::entitymanager::v1::EnumType* unsafe_arena_release_enum_type(); + + private: + const ::anduril::entitymanager::v1::EnumType& _internal_enum_type() const; + ::anduril::entitymanager::v1::EnumType* _internal_mutable_enum_type(); + + public: + // .anduril.entitymanager.v1.TimestampType timestamp_type = 5 [json_name = "timestampType"]; + bool has_timestamp_type() const; + private: + bool _internal_has_timestamp_type() const; + + public: + void clear_timestamp_type() ; + const ::anduril::entitymanager::v1::TimestampType& timestamp_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::TimestampType* release_timestamp_type(); + ::anduril::entitymanager::v1::TimestampType* mutable_timestamp_type(); + void set_allocated_timestamp_type(::anduril::entitymanager::v1::TimestampType* value); + void unsafe_arena_set_allocated_timestamp_type(::anduril::entitymanager::v1::TimestampType* value); + ::anduril::entitymanager::v1::TimestampType* unsafe_arena_release_timestamp_type(); + + private: + const ::anduril::entitymanager::v1::TimestampType& _internal_timestamp_type() const; + ::anduril::entitymanager::v1::TimestampType* _internal_mutable_timestamp_type(); + + public: + // .anduril.entitymanager.v1.BoundedShapeType bounded_shape_type = 6 [json_name = "boundedShapeType"]; + bool has_bounded_shape_type() const; + private: + bool _internal_has_bounded_shape_type() const; + + public: + void clear_bounded_shape_type() ; + const ::anduril::entitymanager::v1::BoundedShapeType& bounded_shape_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::BoundedShapeType* release_bounded_shape_type(); + ::anduril::entitymanager::v1::BoundedShapeType* mutable_bounded_shape_type(); + void set_allocated_bounded_shape_type(::anduril::entitymanager::v1::BoundedShapeType* value); + void unsafe_arena_set_allocated_bounded_shape_type(::anduril::entitymanager::v1::BoundedShapeType* value); + ::anduril::entitymanager::v1::BoundedShapeType* unsafe_arena_release_bounded_shape_type(); + + private: + const ::anduril::entitymanager::v1::BoundedShapeType& _internal_bounded_shape_type() const; + ::anduril::entitymanager::v1::BoundedShapeType* _internal_mutable_bounded_shape_type(); + + public: + // .anduril.entitymanager.v1.PositionType position_type = 7 [json_name = "positionType"]; + bool has_position_type() const; + private: + bool _internal_has_position_type() const; + + public: + void clear_position_type() ; + const ::anduril::entitymanager::v1::PositionType& position_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PositionType* release_position_type(); + ::anduril::entitymanager::v1::PositionType* mutable_position_type(); + void set_allocated_position_type(::anduril::entitymanager::v1::PositionType* value); + void unsafe_arena_set_allocated_position_type(::anduril::entitymanager::v1::PositionType* value); + ::anduril::entitymanager::v1::PositionType* unsafe_arena_release_position_type(); + + private: + const ::anduril::entitymanager::v1::PositionType& _internal_position_type() const; + ::anduril::entitymanager::v1::PositionType* _internal_mutable_position_type(); + + public: + // .anduril.entitymanager.v1.HeadingType heading_type = 8 [json_name = "headingType"]; + bool has_heading_type() const; + private: + bool _internal_has_heading_type() const; + + public: + void clear_heading_type() ; + const ::anduril::entitymanager::v1::HeadingType& heading_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::HeadingType* release_heading_type(); + ::anduril::entitymanager::v1::HeadingType* mutable_heading_type(); + void set_allocated_heading_type(::anduril::entitymanager::v1::HeadingType* value); + void unsafe_arena_set_allocated_heading_type(::anduril::entitymanager::v1::HeadingType* value); + ::anduril::entitymanager::v1::HeadingType* unsafe_arena_release_heading_type(); + + private: + const ::anduril::entitymanager::v1::HeadingType& _internal_heading_type() const; + ::anduril::entitymanager::v1::HeadingType* _internal_mutable_heading_type(); + + public: + // .anduril.entitymanager.v1.ListType list_type = 9 [json_name = "listType"]; + bool has_list_type() const; + private: + bool _internal_has_list_type() const; + + public: + void clear_list_type() ; + const ::anduril::entitymanager::v1::ListType& list_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ListType* release_list_type(); + ::anduril::entitymanager::v1::ListType* mutable_list_type(); + void set_allocated_list_type(::anduril::entitymanager::v1::ListType* value); + void unsafe_arena_set_allocated_list_type(::anduril::entitymanager::v1::ListType* value); + ::anduril::entitymanager::v1::ListType* unsafe_arena_release_list_type(); + + private: + const ::anduril::entitymanager::v1::ListType& _internal_list_type() const; + ::anduril::entitymanager::v1::ListType* _internal_mutable_list_type(); + + public: + // .anduril.entitymanager.v1.RangeType range_type = 10 [json_name = "rangeType"]; + bool has_range_type() const; + private: + bool _internal_has_range_type() const; + + public: + void clear_range_type() ; + const ::anduril::entitymanager::v1::RangeType& range_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::RangeType* release_range_type(); + ::anduril::entitymanager::v1::RangeType* mutable_range_type(); + void set_allocated_range_type(::anduril::entitymanager::v1::RangeType* value); + void unsafe_arena_set_allocated_range_type(::anduril::entitymanager::v1::RangeType* value); + ::anduril::entitymanager::v1::RangeType* unsafe_arena_release_range_type(); + + private: + const ::anduril::entitymanager::v1::RangeType& _internal_range_type() const; + ::anduril::entitymanager::v1::RangeType* _internal_mutable_range_type(); + + public: + void clear_type(); + TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Value) + private: + class _Internal; + void set_has_boolean_type(); + void set_has_numeric_type(); + void set_has_string_type(); + void set_has_enum_type(); + void set_has_timestamp_type(); + void set_has_bounded_shape_type(); + void set_has_position_type(); + void set_has_heading_type(); + void set_has_list_type(); + void set_has_range_type(); + inline bool has_type() const; + inline void clear_has_type(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 10, 10, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Value& from_msg); + union TypeUnion { + constexpr TypeUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::BooleanType* boolean_type_; + ::anduril::entitymanager::v1::NumericType* numeric_type_; + ::anduril::entitymanager::v1::StringType* string_type_; + ::anduril::entitymanager::v1::EnumType* enum_type_; + ::anduril::entitymanager::v1::TimestampType* timestamp_type_; + ::anduril::entitymanager::v1::BoundedShapeType* bounded_shape_type_; + ::anduril::entitymanager::v1::PositionType* position_type_; + ::anduril::entitymanager::v1::HeadingType* heading_type_; + ::anduril::entitymanager::v1::ListType* list_type_; + ::anduril::entitymanager::v1::RangeType* range_type_; + } type_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Predicate final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Predicate) */ { + public: + inline Predicate() : Predicate(nullptr) {} + ~Predicate() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Predicate* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Predicate)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Predicate( + ::google::protobuf::internal::ConstantInitialized); + + inline Predicate(const Predicate& from) : Predicate(nullptr, from) {} + inline Predicate(Predicate&& from) noexcept + : Predicate(nullptr, std::move(from)) {} + inline Predicate& operator=(const Predicate& from) { + CopyFrom(from); + return *this; + } + inline Predicate& operator=(Predicate&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Predicate& default_instance() { + return *internal_default_instance(); + } + static inline const Predicate* internal_default_instance() { + return reinterpret_cast( + &_Predicate_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(Predicate& a, Predicate& b) { a.Swap(&b); } + inline void Swap(Predicate* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Predicate* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Predicate* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Predicate& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Predicate& from) { Predicate::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Predicate* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Predicate"; } + + protected: + explicit Predicate(::google::protobuf::Arena* arena); + Predicate(::google::protobuf::Arena* arena, const Predicate& from); + Predicate(::google::protobuf::Arena* arena, Predicate&& from) noexcept + : Predicate(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldPathFieldNumber = 1, + kValueFieldNumber = 2, + kComparatorFieldNumber = 3, + }; + // string field_path = 1 [json_name = "fieldPath"]; + void clear_field_path() ; + const std::string& field_path() const; + template + void set_field_path(Arg_&& arg, Args_... args); + std::string* mutable_field_path(); + PROTOBUF_NODISCARD std::string* release_field_path(); + void set_allocated_field_path(std::string* value); + + private: + const std::string& _internal_field_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_path( + const std::string& value); + std::string* _internal_mutable_field_path(); + + public: + // .anduril.entitymanager.v1.Value value = 2 [json_name = "value"]; + bool has_value() const; + void clear_value() ; + const ::anduril::entitymanager::v1::Value& value() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Value* release_value(); + ::anduril::entitymanager::v1::Value* mutable_value(); + void set_allocated_value(::anduril::entitymanager::v1::Value* value); + void unsafe_arena_set_allocated_value(::anduril::entitymanager::v1::Value* value); + ::anduril::entitymanager::v1::Value* unsafe_arena_release_value(); + + private: + const ::anduril::entitymanager::v1::Value& _internal_value() const; + ::anduril::entitymanager::v1::Value* _internal_mutable_value(); + + public: + // .anduril.entitymanager.v1.Comparator comparator = 3 [json_name = "comparator"]; + void clear_comparator() ; + ::anduril::entitymanager::v1::Comparator comparator() const; + void set_comparator(::anduril::entitymanager::v1::Comparator value); + + private: + ::anduril::entitymanager::v1::Comparator _internal_comparator() const; + void _internal_set_comparator(::anduril::entitymanager::v1::Comparator value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Predicate) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 53, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Predicate& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr field_path_; + ::anduril::entitymanager::v1::Value* value_; + int comparator_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PredicateSet final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PredicateSet) */ { + public: + inline PredicateSet() : PredicateSet(nullptr) {} + ~PredicateSet() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PredicateSet* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PredicateSet)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PredicateSet( + ::google::protobuf::internal::ConstantInitialized); + + inline PredicateSet(const PredicateSet& from) : PredicateSet(nullptr, from) {} + inline PredicateSet(PredicateSet&& from) noexcept + : PredicateSet(nullptr, std::move(from)) {} + inline PredicateSet& operator=(const PredicateSet& from) { + CopyFrom(from); + return *this; + } + inline PredicateSet& operator=(PredicateSet&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PredicateSet& default_instance() { + return *internal_default_instance(); + } + static inline const PredicateSet* internal_default_instance() { + return reinterpret_cast( + &_PredicateSet_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(PredicateSet& a, PredicateSet& b) { a.Swap(&b); } + inline void Swap(PredicateSet* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PredicateSet* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PredicateSet* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PredicateSet& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PredicateSet& from) { PredicateSet::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PredicateSet* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PredicateSet"; } + + protected: + explicit PredicateSet(::google::protobuf::Arena* arena); + PredicateSet(::google::protobuf::Arena* arena, const PredicateSet& from); + PredicateSet(::google::protobuf::Arena* arena, PredicateSet&& from) noexcept + : PredicateSet(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPredicatesFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Predicate predicates = 1 [json_name = "predicates"]; + int predicates_size() const; + private: + int _internal_predicates_size() const; + + public: + void clear_predicates() ; + ::anduril::entitymanager::v1::Predicate* mutable_predicates(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>* mutable_predicates(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>& _internal_predicates() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>* _internal_mutable_predicates(); + public: + const ::anduril::entitymanager::v1::Predicate& predicates(int index) const; + ::anduril::entitymanager::v1::Predicate* add_predicates(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>& predicates() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PredicateSet) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PredicateSet& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Predicate > predicates_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class AndOperation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.AndOperation) */ { + public: + inline AndOperation() : AndOperation(nullptr) {} + ~AndOperation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AndOperation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AndOperation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR AndOperation( + ::google::protobuf::internal::ConstantInitialized); + + inline AndOperation(const AndOperation& from) : AndOperation(nullptr, from) {} + inline AndOperation(AndOperation&& from) noexcept + : AndOperation(nullptr, std::move(from)) {} + inline AndOperation& operator=(const AndOperation& from) { + CopyFrom(from); + return *this; + } + inline AndOperation& operator=(AndOperation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AndOperation& default_instance() { + return *internal_default_instance(); + } + enum ChildrenCase { + kPredicateSet = 1, + kStatementSet = 2, + CHILDREN_NOT_SET = 0, + }; + static inline const AndOperation* internal_default_instance() { + return reinterpret_cast( + &_AndOperation_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(AndOperation& a, AndOperation& b) { a.Swap(&b); } + inline void Swap(AndOperation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AndOperation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AndOperation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AndOperation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AndOperation& from) { AndOperation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AndOperation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.AndOperation"; } + + protected: + explicit AndOperation(::google::protobuf::Arena* arena); + AndOperation(::google::protobuf::Arena* arena, const AndOperation& from); + AndOperation(::google::protobuf::Arena* arena, AndOperation&& from) noexcept + : AndOperation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPredicateSetFieldNumber = 1, + kStatementSetFieldNumber = 2, + }; + // .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; + bool has_predicate_set() const; + private: + bool _internal_has_predicate_set() const; + + public: + void clear_predicate_set() ; + const ::anduril::entitymanager::v1::PredicateSet& predicate_set() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PredicateSet* release_predicate_set(); + ::anduril::entitymanager::v1::PredicateSet* mutable_predicate_set(); + void set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* value); + void unsafe_arena_set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* value); + ::anduril::entitymanager::v1::PredicateSet* unsafe_arena_release_predicate_set(); + + private: + const ::anduril::entitymanager::v1::PredicateSet& _internal_predicate_set() const; + ::anduril::entitymanager::v1::PredicateSet* _internal_mutable_predicate_set(); + + public: + // .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; + bool has_statement_set() const; + private: + bool _internal_has_statement_set() const; + + public: + void clear_statement_set() ; + const ::anduril::entitymanager::v1::StatementSet& statement_set() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::StatementSet* release_statement_set(); + ::anduril::entitymanager::v1::StatementSet* mutable_statement_set(); + void set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* value); + void unsafe_arena_set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* value); + ::anduril::entitymanager::v1::StatementSet* unsafe_arena_release_statement_set(); + + private: + const ::anduril::entitymanager::v1::StatementSet& _internal_statement_set() const; + ::anduril::entitymanager::v1::StatementSet* _internal_mutable_statement_set(); + + public: + void clear_children(); + ChildrenCase children_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.AndOperation) + private: + class _Internal; + void set_has_predicate_set(); + void set_has_statement_set(); + inline bool has_children() const; + inline void clear_has_children(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AndOperation& from_msg); + union ChildrenUnion { + constexpr ChildrenUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::PredicateSet* predicate_set_; + ::anduril::entitymanager::v1::StatementSet* statement_set_; + } children_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class ListOperation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ListOperation) */ { + public: + inline ListOperation() : ListOperation(nullptr) {} + ~ListOperation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ListOperation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ListOperation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ListOperation( + ::google::protobuf::internal::ConstantInitialized); + + inline ListOperation(const ListOperation& from) : ListOperation(nullptr, from) {} + inline ListOperation(ListOperation&& from) noexcept + : ListOperation(nullptr, std::move(from)) {} + inline ListOperation& operator=(const ListOperation& from) { + CopyFrom(from); + return *this; + } + inline ListOperation& operator=(ListOperation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListOperation& default_instance() { + return *internal_default_instance(); + } + static inline const ListOperation* internal_default_instance() { + return reinterpret_cast( + &_ListOperation_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(ListOperation& a, ListOperation& b) { a.Swap(&b); } + inline void Swap(ListOperation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListOperation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListOperation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ListOperation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ListOperation& from) { ListOperation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ListOperation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ListOperation"; } + + protected: + explicit ListOperation(::google::protobuf::Arena* arena); + ListOperation(::google::protobuf::Arena* arena, const ListOperation& from); + ListOperation(::google::protobuf::Arena* arena, ListOperation&& from) noexcept + : ListOperation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kListPathFieldNumber = 1, + kStatementFieldNumber = 3, + kListComparatorFieldNumber = 2, + }; + // string list_path = 1 [json_name = "listPath"]; + void clear_list_path() ; + const std::string& list_path() const; + template + void set_list_path(Arg_&& arg, Args_... args); + std::string* mutable_list_path(); + PROTOBUF_NODISCARD std::string* release_list_path(); + void set_allocated_list_path(std::string* value); + + private: + const std::string& _internal_list_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_list_path( + const std::string& value); + std::string* _internal_mutable_list_path(); + + public: + // .anduril.entitymanager.v1.Statement statement = 3 [json_name = "statement"]; + bool has_statement() const; + void clear_statement() ; + const ::anduril::entitymanager::v1::Statement& statement() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Statement* release_statement(); + ::anduril::entitymanager::v1::Statement* mutable_statement(); + void set_allocated_statement(::anduril::entitymanager::v1::Statement* value); + void unsafe_arena_set_allocated_statement(::anduril::entitymanager::v1::Statement* value); + ::anduril::entitymanager::v1::Statement* unsafe_arena_release_statement(); + + private: + const ::anduril::entitymanager::v1::Statement& _internal_statement() const; + ::anduril::entitymanager::v1::Statement* _internal_mutable_statement(); + + public: + // .anduril.entitymanager.v1.ListComparator list_comparator = 2 [json_name = "listComparator"]; + void clear_list_comparator() ; + ::anduril::entitymanager::v1::ListComparator list_comparator() const; + void set_list_comparator(::anduril::entitymanager::v1::ListComparator value); + + private: + ::anduril::entitymanager::v1::ListComparator _internal_list_comparator() const; + void _internal_set_list_comparator(::anduril::entitymanager::v1::ListComparator value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ListOperation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 56, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ListOperation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr list_path_; + ::anduril::entitymanager::v1::Statement* statement_; + int list_comparator_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class NotOperation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.NotOperation) */ { + public: + inline NotOperation() : NotOperation(nullptr) {} + ~NotOperation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(NotOperation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(NotOperation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR NotOperation( + ::google::protobuf::internal::ConstantInitialized); + + inline NotOperation(const NotOperation& from) : NotOperation(nullptr, from) {} + inline NotOperation(NotOperation&& from) noexcept + : NotOperation(nullptr, std::move(from)) {} + inline NotOperation& operator=(const NotOperation& from) { + CopyFrom(from); + return *this; + } + inline NotOperation& operator=(NotOperation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const NotOperation& default_instance() { + return *internal_default_instance(); + } + enum ChildCase { + kPredicate = 1, + kStatement = 2, + CHILD_NOT_SET = 0, + }; + static inline const NotOperation* internal_default_instance() { + return reinterpret_cast( + &_NotOperation_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(NotOperation& a, NotOperation& b) { a.Swap(&b); } + inline void Swap(NotOperation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(NotOperation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NotOperation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const NotOperation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const NotOperation& from) { NotOperation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(NotOperation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.NotOperation"; } + + protected: + explicit NotOperation(::google::protobuf::Arena* arena); + NotOperation(::google::protobuf::Arena* arena, const NotOperation& from); + NotOperation(::google::protobuf::Arena* arena, NotOperation&& from) noexcept + : NotOperation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPredicateFieldNumber = 1, + kStatementFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Predicate predicate = 1 [json_name = "predicate"]; + bool has_predicate() const; + private: + bool _internal_has_predicate() const; + + public: + void clear_predicate() ; + const ::anduril::entitymanager::v1::Predicate& predicate() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Predicate* release_predicate(); + ::anduril::entitymanager::v1::Predicate* mutable_predicate(); + void set_allocated_predicate(::anduril::entitymanager::v1::Predicate* value); + void unsafe_arena_set_allocated_predicate(::anduril::entitymanager::v1::Predicate* value); + ::anduril::entitymanager::v1::Predicate* unsafe_arena_release_predicate(); + + private: + const ::anduril::entitymanager::v1::Predicate& _internal_predicate() const; + ::anduril::entitymanager::v1::Predicate* _internal_mutable_predicate(); + + public: + // .anduril.entitymanager.v1.Statement statement = 2 [json_name = "statement"]; + bool has_statement() const; + private: + bool _internal_has_statement() const; + + public: + void clear_statement() ; + const ::anduril::entitymanager::v1::Statement& statement() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Statement* release_statement(); + ::anduril::entitymanager::v1::Statement* mutable_statement(); + void set_allocated_statement(::anduril::entitymanager::v1::Statement* value); + void unsafe_arena_set_allocated_statement(::anduril::entitymanager::v1::Statement* value); + ::anduril::entitymanager::v1::Statement* unsafe_arena_release_statement(); + + private: + const ::anduril::entitymanager::v1::Statement& _internal_statement() const; + ::anduril::entitymanager::v1::Statement* _internal_mutable_statement(); + + public: + void clear_child(); + ChildCase child_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.NotOperation) + private: + class _Internal; + void set_has_predicate(); + void set_has_statement(); + inline bool has_child() const; + inline void clear_has_child(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const NotOperation& from_msg); + union ChildUnion { + constexpr ChildUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::Predicate* predicate_; + ::anduril::entitymanager::v1::Statement* statement_; + } child_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class OrOperation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.OrOperation) */ { + public: + inline OrOperation() : OrOperation(nullptr) {} + ~OrOperation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OrOperation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OrOperation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OrOperation( + ::google::protobuf::internal::ConstantInitialized); + + inline OrOperation(const OrOperation& from) : OrOperation(nullptr, from) {} + inline OrOperation(OrOperation&& from) noexcept + : OrOperation(nullptr, std::move(from)) {} + inline OrOperation& operator=(const OrOperation& from) { + CopyFrom(from); + return *this; + } + inline OrOperation& operator=(OrOperation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const OrOperation& default_instance() { + return *internal_default_instance(); + } + enum ChildrenCase { + kPredicateSet = 1, + kStatementSet = 2, + CHILDREN_NOT_SET = 0, + }; + static inline const OrOperation* internal_default_instance() { + return reinterpret_cast( + &_OrOperation_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(OrOperation& a, OrOperation& b) { a.Swap(&b); } + inline void Swap(OrOperation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OrOperation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OrOperation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const OrOperation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const OrOperation& from) { OrOperation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OrOperation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.OrOperation"; } + + protected: + explicit OrOperation(::google::protobuf::Arena* arena); + OrOperation(::google::protobuf::Arena* arena, const OrOperation& from); + OrOperation(::google::protobuf::Arena* arena, OrOperation&& from) noexcept + : OrOperation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPredicateSetFieldNumber = 1, + kStatementSetFieldNumber = 2, + }; + // .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; + bool has_predicate_set() const; + private: + bool _internal_has_predicate_set() const; + + public: + void clear_predicate_set() ; + const ::anduril::entitymanager::v1::PredicateSet& predicate_set() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PredicateSet* release_predicate_set(); + ::anduril::entitymanager::v1::PredicateSet* mutable_predicate_set(); + void set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* value); + void unsafe_arena_set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* value); + ::anduril::entitymanager::v1::PredicateSet* unsafe_arena_release_predicate_set(); + + private: + const ::anduril::entitymanager::v1::PredicateSet& _internal_predicate_set() const; + ::anduril::entitymanager::v1::PredicateSet* _internal_mutable_predicate_set(); + + public: + // .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; + bool has_statement_set() const; + private: + bool _internal_has_statement_set() const; + + public: + void clear_statement_set() ; + const ::anduril::entitymanager::v1::StatementSet& statement_set() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::StatementSet* release_statement_set(); + ::anduril::entitymanager::v1::StatementSet* mutable_statement_set(); + void set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* value); + void unsafe_arena_set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* value); + ::anduril::entitymanager::v1::StatementSet* unsafe_arena_release_statement_set(); + + private: + const ::anduril::entitymanager::v1::StatementSet& _internal_statement_set() const; + ::anduril::entitymanager::v1::StatementSet* _internal_mutable_statement_set(); + + public: + void clear_children(); + ChildrenCase children_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.OrOperation) + private: + class _Internal; + void set_has_predicate_set(); + void set_has_statement_set(); + inline bool has_children() const; + inline void clear_has_children(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const OrOperation& from_msg); + union ChildrenUnion { + constexpr ChildrenUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::PredicateSet* predicate_set_; + ::anduril::entitymanager::v1::StatementSet* statement_set_; + } children_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Statement final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Statement) */ { + public: + inline Statement() : Statement(nullptr) {} + ~Statement() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Statement* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Statement)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Statement( + ::google::protobuf::internal::ConstantInitialized); + + inline Statement(const Statement& from) : Statement(nullptr, from) {} + inline Statement(Statement&& from) noexcept + : Statement(nullptr, std::move(from)) {} + inline Statement& operator=(const Statement& from) { + CopyFrom(from); + return *this; + } + inline Statement& operator=(Statement&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Statement& default_instance() { + return *internal_default_instance(); + } + enum OperationCase { + kAnd = 1, + kOr = 2, + kNot = 3, + kList = 4, + kPredicate = 5, + OPERATION_NOT_SET = 0, + }; + static inline const Statement* internal_default_instance() { + return reinterpret_cast( + &_Statement_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Statement& a, Statement& b) { a.Swap(&b); } + inline void Swap(Statement* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Statement* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Statement* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Statement& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Statement& from) { Statement::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Statement* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Statement"; } + + protected: + explicit Statement(::google::protobuf::Arena* arena); + Statement(::google::protobuf::Arena* arena, const Statement& from); + Statement(::google::protobuf::Arena* arena, Statement&& from) noexcept + : Statement(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAndFieldNumber = 1, + kOrFieldNumber = 2, + kNotFieldNumber = 3, + kListFieldNumber = 4, + kPredicateFieldNumber = 5, + }; + // .anduril.entitymanager.v1.AndOperation and = 1 [json_name = "and"]; + bool has_and_() const; + private: + bool _internal_has_and_() const; + + public: + void clear_and_() ; + const ::anduril::entitymanager::v1::AndOperation& and_() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::AndOperation* release_and_(); + ::anduril::entitymanager::v1::AndOperation* mutable_and_(); + void set_allocated_and_(::anduril::entitymanager::v1::AndOperation* value); + void unsafe_arena_set_allocated_and_(::anduril::entitymanager::v1::AndOperation* value); + ::anduril::entitymanager::v1::AndOperation* unsafe_arena_release_and_(); + + private: + const ::anduril::entitymanager::v1::AndOperation& _internal_and_() const; + ::anduril::entitymanager::v1::AndOperation* _internal_mutable_and_(); + + public: + // .anduril.entitymanager.v1.OrOperation or = 2 [json_name = "or"]; + bool has_or_() const; + private: + bool _internal_has_or_() const; + + public: + void clear_or_() ; + const ::anduril::entitymanager::v1::OrOperation& or_() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::OrOperation* release_or_(); + ::anduril::entitymanager::v1::OrOperation* mutable_or_(); + void set_allocated_or_(::anduril::entitymanager::v1::OrOperation* value); + void unsafe_arena_set_allocated_or_(::anduril::entitymanager::v1::OrOperation* value); + ::anduril::entitymanager::v1::OrOperation* unsafe_arena_release_or_(); + + private: + const ::anduril::entitymanager::v1::OrOperation& _internal_or_() const; + ::anduril::entitymanager::v1::OrOperation* _internal_mutable_or_(); + + public: + // .anduril.entitymanager.v1.NotOperation not = 3 [json_name = "not"]; + bool has_not_() const; + private: + bool _internal_has_not_() const; + + public: + void clear_not_() ; + const ::anduril::entitymanager::v1::NotOperation& not_() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::NotOperation* release_not_(); + ::anduril::entitymanager::v1::NotOperation* mutable_not_(); + void set_allocated_not_(::anduril::entitymanager::v1::NotOperation* value); + void unsafe_arena_set_allocated_not_(::anduril::entitymanager::v1::NotOperation* value); + ::anduril::entitymanager::v1::NotOperation* unsafe_arena_release_not_(); + + private: + const ::anduril::entitymanager::v1::NotOperation& _internal_not_() const; + ::anduril::entitymanager::v1::NotOperation* _internal_mutable_not_(); + + public: + // .anduril.entitymanager.v1.ListOperation list = 4 [json_name = "list"]; + bool has_list() const; + private: + bool _internal_has_list() const; + + public: + void clear_list() ; + const ::anduril::entitymanager::v1::ListOperation& list() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ListOperation* release_list(); + ::anduril::entitymanager::v1::ListOperation* mutable_list(); + void set_allocated_list(::anduril::entitymanager::v1::ListOperation* value); + void unsafe_arena_set_allocated_list(::anduril::entitymanager::v1::ListOperation* value); + ::anduril::entitymanager::v1::ListOperation* unsafe_arena_release_list(); + + private: + const ::anduril::entitymanager::v1::ListOperation& _internal_list() const; + ::anduril::entitymanager::v1::ListOperation* _internal_mutable_list(); + + public: + // .anduril.entitymanager.v1.Predicate predicate = 5 [json_name = "predicate"]; + bool has_predicate() const; + private: + bool _internal_has_predicate() const; + + public: + void clear_predicate() ; + const ::anduril::entitymanager::v1::Predicate& predicate() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Predicate* release_predicate(); + ::anduril::entitymanager::v1::Predicate* mutable_predicate(); + void set_allocated_predicate(::anduril::entitymanager::v1::Predicate* value); + void unsafe_arena_set_allocated_predicate(::anduril::entitymanager::v1::Predicate* value); + ::anduril::entitymanager::v1::Predicate* unsafe_arena_release_predicate(); + + private: + const ::anduril::entitymanager::v1::Predicate& _internal_predicate() const; + ::anduril::entitymanager::v1::Predicate* _internal_mutable_predicate(); + + public: + void clear_operation(); + OperationCase operation_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Statement) + private: + class _Internal; + void set_has_and_(); + void set_has_or_(); + void set_has_not_(); + void set_has_list(); + void set_has_predicate(); + inline bool has_operation() const; + inline void clear_has_operation(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 5, 5, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Statement& from_msg); + union OperationUnion { + constexpr OperationUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::AndOperation* and__; + ::anduril::entitymanager::v1::OrOperation* or__; + ::anduril::entitymanager::v1::NotOperation* not__; + ::anduril::entitymanager::v1::ListOperation* list_; + ::anduril::entitymanager::v1::Predicate* predicate_; + } operation_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class StatementSet final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.StatementSet) */ { + public: + inline StatementSet() : StatementSet(nullptr) {} + ~StatementSet() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(StatementSet* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(StatementSet)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR StatementSet( + ::google::protobuf::internal::ConstantInitialized); + + inline StatementSet(const StatementSet& from) : StatementSet(nullptr, from) {} + inline StatementSet(StatementSet&& from) noexcept + : StatementSet(nullptr, std::move(from)) {} + inline StatementSet& operator=(const StatementSet& from) { + CopyFrom(from); + return *this; + } + inline StatementSet& operator=(StatementSet&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const StatementSet& default_instance() { + return *internal_default_instance(); + } + static inline const StatementSet* internal_default_instance() { + return reinterpret_cast( + &_StatementSet_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(StatementSet& a, StatementSet& b) { a.Swap(&b); } + inline void Swap(StatementSet* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StatementSet* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + StatementSet* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const StatementSet& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const StatementSet& from) { StatementSet::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(StatementSet* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.StatementSet"; } + + protected: + explicit StatementSet(::google::protobuf::Arena* arena); + StatementSet(::google::protobuf::Arena* arena, const StatementSet& from); + StatementSet(::google::protobuf::Arena* arena, StatementSet&& from) noexcept + : StatementSet(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kStatementsFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Statement statements = 1 [json_name = "statements"]; + int statements_size() const; + private: + int _internal_statements_size() const; + + public: + void clear_statements() ; + ::anduril::entitymanager::v1::Statement* mutable_statements(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>* mutable_statements(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>& _internal_statements() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>* _internal_mutable_statements(); + public: + const ::anduril::entitymanager::v1::Statement& statements(int index) const; + ::anduril::entitymanager::v1::Statement* add_statements(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>& statements() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.StatementSet) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const StatementSet& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Statement > statements_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Statement + +// .anduril.entitymanager.v1.AndOperation and = 1 [json_name = "and"]; +inline bool Statement::has_and_() const { + return operation_case() == kAnd; +} +inline bool Statement::_internal_has_and_() const { + return operation_case() == kAnd; +} +inline void Statement::set_has_and_() { + _impl_._oneof_case_[0] = kAnd; +} +inline void Statement::clear_and_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (operation_case() == kAnd) { + if (GetArena() == nullptr) { + delete _impl_.operation_.and__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.and__); + } + clear_has_operation(); + } +} +inline ::anduril::entitymanager::v1::AndOperation* Statement::release_and_() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Statement.and) + if (operation_case() == kAnd) { + clear_has_operation(); + auto* temp = _impl_.operation_.and__; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.operation_.and__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::AndOperation& Statement::_internal_and_() const { + return operation_case() == kAnd ? *_impl_.operation_.and__ : reinterpret_cast<::anduril::entitymanager::v1::AndOperation&>(::anduril::entitymanager::v1::_AndOperation_default_instance_); +} +inline const ::anduril::entitymanager::v1::AndOperation& Statement::and_() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Statement.and) + return _internal_and_(); +} +inline ::anduril::entitymanager::v1::AndOperation* Statement::unsafe_arena_release_and_() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Statement.and) + if (operation_case() == kAnd) { + clear_has_operation(); + auto* temp = _impl_.operation_.and__; + _impl_.operation_.and__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Statement::unsafe_arena_set_allocated_and_(::anduril::entitymanager::v1::AndOperation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_operation(); + if (value) { + set_has_and_(); + _impl_.operation_.and__ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Statement.and) +} +inline ::anduril::entitymanager::v1::AndOperation* Statement::_internal_mutable_and_() { + if (operation_case() != kAnd) { + clear_operation(); + set_has_and_(); + _impl_.operation_.and__ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::AndOperation>(GetArena()); + } + return _impl_.operation_.and__; +} +inline ::anduril::entitymanager::v1::AndOperation* Statement::mutable_and_() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::AndOperation* _msg = _internal_mutable_and_(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Statement.and) + return _msg; +} + +// .anduril.entitymanager.v1.OrOperation or = 2 [json_name = "or"]; +inline bool Statement::has_or_() const { + return operation_case() == kOr; +} +inline bool Statement::_internal_has_or_() const { + return operation_case() == kOr; +} +inline void Statement::set_has_or_() { + _impl_._oneof_case_[0] = kOr; +} +inline void Statement::clear_or_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (operation_case() == kOr) { + if (GetArena() == nullptr) { + delete _impl_.operation_.or__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.or__); + } + clear_has_operation(); + } +} +inline ::anduril::entitymanager::v1::OrOperation* Statement::release_or_() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Statement.or) + if (operation_case() == kOr) { + clear_has_operation(); + auto* temp = _impl_.operation_.or__; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.operation_.or__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::OrOperation& Statement::_internal_or_() const { + return operation_case() == kOr ? *_impl_.operation_.or__ : reinterpret_cast<::anduril::entitymanager::v1::OrOperation&>(::anduril::entitymanager::v1::_OrOperation_default_instance_); +} +inline const ::anduril::entitymanager::v1::OrOperation& Statement::or_() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Statement.or) + return _internal_or_(); +} +inline ::anduril::entitymanager::v1::OrOperation* Statement::unsafe_arena_release_or_() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Statement.or) + if (operation_case() == kOr) { + clear_has_operation(); + auto* temp = _impl_.operation_.or__; + _impl_.operation_.or__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Statement::unsafe_arena_set_allocated_or_(::anduril::entitymanager::v1::OrOperation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_operation(); + if (value) { + set_has_or_(); + _impl_.operation_.or__ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Statement.or) +} +inline ::anduril::entitymanager::v1::OrOperation* Statement::_internal_mutable_or_() { + if (operation_case() != kOr) { + clear_operation(); + set_has_or_(); + _impl_.operation_.or__ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::OrOperation>(GetArena()); + } + return _impl_.operation_.or__; +} +inline ::anduril::entitymanager::v1::OrOperation* Statement::mutable_or_() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::OrOperation* _msg = _internal_mutable_or_(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Statement.or) + return _msg; +} + +// .anduril.entitymanager.v1.NotOperation not = 3 [json_name = "not"]; +inline bool Statement::has_not_() const { + return operation_case() == kNot; +} +inline bool Statement::_internal_has_not_() const { + return operation_case() == kNot; +} +inline void Statement::set_has_not_() { + _impl_._oneof_case_[0] = kNot; +} +inline void Statement::clear_not_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (operation_case() == kNot) { + if (GetArena() == nullptr) { + delete _impl_.operation_.not__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.not__); + } + clear_has_operation(); + } +} +inline ::anduril::entitymanager::v1::NotOperation* Statement::release_not_() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Statement.not) + if (operation_case() == kNot) { + clear_has_operation(); + auto* temp = _impl_.operation_.not__; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.operation_.not__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::NotOperation& Statement::_internal_not_() const { + return operation_case() == kNot ? *_impl_.operation_.not__ : reinterpret_cast<::anduril::entitymanager::v1::NotOperation&>(::anduril::entitymanager::v1::_NotOperation_default_instance_); +} +inline const ::anduril::entitymanager::v1::NotOperation& Statement::not_() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Statement.not) + return _internal_not_(); +} +inline ::anduril::entitymanager::v1::NotOperation* Statement::unsafe_arena_release_not_() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Statement.not) + if (operation_case() == kNot) { + clear_has_operation(); + auto* temp = _impl_.operation_.not__; + _impl_.operation_.not__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Statement::unsafe_arena_set_allocated_not_(::anduril::entitymanager::v1::NotOperation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_operation(); + if (value) { + set_has_not_(); + _impl_.operation_.not__ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Statement.not) +} +inline ::anduril::entitymanager::v1::NotOperation* Statement::_internal_mutable_not_() { + if (operation_case() != kNot) { + clear_operation(); + set_has_not_(); + _impl_.operation_.not__ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::NotOperation>(GetArena()); + } + return _impl_.operation_.not__; +} +inline ::anduril::entitymanager::v1::NotOperation* Statement::mutable_not_() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::NotOperation* _msg = _internal_mutable_not_(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Statement.not) + return _msg; +} + +// .anduril.entitymanager.v1.ListOperation list = 4 [json_name = "list"]; +inline bool Statement::has_list() const { + return operation_case() == kList; +} +inline bool Statement::_internal_has_list() const { + return operation_case() == kList; +} +inline void Statement::set_has_list() { + _impl_._oneof_case_[0] = kList; +} +inline void Statement::clear_list() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (operation_case() == kList) { + if (GetArena() == nullptr) { + delete _impl_.operation_.list_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.list_); + } + clear_has_operation(); + } +} +inline ::anduril::entitymanager::v1::ListOperation* Statement::release_list() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Statement.list) + if (operation_case() == kList) { + clear_has_operation(); + auto* temp = _impl_.operation_.list_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.operation_.list_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::ListOperation& Statement::_internal_list() const { + return operation_case() == kList ? *_impl_.operation_.list_ : reinterpret_cast<::anduril::entitymanager::v1::ListOperation&>(::anduril::entitymanager::v1::_ListOperation_default_instance_); +} +inline const ::anduril::entitymanager::v1::ListOperation& Statement::list() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Statement.list) + return _internal_list(); +} +inline ::anduril::entitymanager::v1::ListOperation* Statement::unsafe_arena_release_list() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Statement.list) + if (operation_case() == kList) { + clear_has_operation(); + auto* temp = _impl_.operation_.list_; + _impl_.operation_.list_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Statement::unsafe_arena_set_allocated_list(::anduril::entitymanager::v1::ListOperation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_operation(); + if (value) { + set_has_list(); + _impl_.operation_.list_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Statement.list) +} +inline ::anduril::entitymanager::v1::ListOperation* Statement::_internal_mutable_list() { + if (operation_case() != kList) { + clear_operation(); + set_has_list(); + _impl_.operation_.list_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ListOperation>(GetArena()); + } + return _impl_.operation_.list_; +} +inline ::anduril::entitymanager::v1::ListOperation* Statement::mutable_list() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::ListOperation* _msg = _internal_mutable_list(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Statement.list) + return _msg; +} + +// .anduril.entitymanager.v1.Predicate predicate = 5 [json_name = "predicate"]; +inline bool Statement::has_predicate() const { + return operation_case() == kPredicate; +} +inline bool Statement::_internal_has_predicate() const { + return operation_case() == kPredicate; +} +inline void Statement::set_has_predicate() { + _impl_._oneof_case_[0] = kPredicate; +} +inline void Statement::clear_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (operation_case() == kPredicate) { + if (GetArena() == nullptr) { + delete _impl_.operation_.predicate_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.operation_.predicate_); + } + clear_has_operation(); + } +} +inline ::anduril::entitymanager::v1::Predicate* Statement::release_predicate() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Statement.predicate) + if (operation_case() == kPredicate) { + clear_has_operation(); + auto* temp = _impl_.operation_.predicate_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.operation_.predicate_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Predicate& Statement::_internal_predicate() const { + return operation_case() == kPredicate ? *_impl_.operation_.predicate_ : reinterpret_cast<::anduril::entitymanager::v1::Predicate&>(::anduril::entitymanager::v1::_Predicate_default_instance_); +} +inline const ::anduril::entitymanager::v1::Predicate& Statement::predicate() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Statement.predicate) + return _internal_predicate(); +} +inline ::anduril::entitymanager::v1::Predicate* Statement::unsafe_arena_release_predicate() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Statement.predicate) + if (operation_case() == kPredicate) { + clear_has_operation(); + auto* temp = _impl_.operation_.predicate_; + _impl_.operation_.predicate_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Statement::unsafe_arena_set_allocated_predicate(::anduril::entitymanager::v1::Predicate* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_operation(); + if (value) { + set_has_predicate(); + _impl_.operation_.predicate_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Statement.predicate) +} +inline ::anduril::entitymanager::v1::Predicate* Statement::_internal_mutable_predicate() { + if (operation_case() != kPredicate) { + clear_operation(); + set_has_predicate(); + _impl_.operation_.predicate_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Predicate>(GetArena()); + } + return _impl_.operation_.predicate_; +} +inline ::anduril::entitymanager::v1::Predicate* Statement::mutable_predicate() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Predicate* _msg = _internal_mutable_predicate(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Statement.predicate) + return _msg; +} + +inline bool Statement::has_operation() const { + return operation_case() != OPERATION_NOT_SET; +} +inline void Statement::clear_has_operation() { + _impl_._oneof_case_[0] = OPERATION_NOT_SET; +} +inline Statement::OperationCase Statement::operation_case() const { + return Statement::OperationCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// AndOperation + +// .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; +inline bool AndOperation::has_predicate_set() const { + return children_case() == kPredicateSet; +} +inline bool AndOperation::_internal_has_predicate_set() const { + return children_case() == kPredicateSet; +} +inline void AndOperation::set_has_predicate_set() { + _impl_._oneof_case_[0] = kPredicateSet; +} +inline void AndOperation::clear_predicate_set() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (children_case() == kPredicateSet) { + if (GetArena() == nullptr) { + delete _impl_.children_.predicate_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.predicate_set_); + } + clear_has_children(); + } +} +inline ::anduril::entitymanager::v1::PredicateSet* AndOperation::release_predicate_set() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AndOperation.predicate_set) + if (children_case() == kPredicateSet) { + clear_has_children(); + auto* temp = _impl_.children_.predicate_set_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.children_.predicate_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::PredicateSet& AndOperation::_internal_predicate_set() const { + return children_case() == kPredicateSet ? *_impl_.children_.predicate_set_ : reinterpret_cast<::anduril::entitymanager::v1::PredicateSet&>(::anduril::entitymanager::v1::_PredicateSet_default_instance_); +} +inline const ::anduril::entitymanager::v1::PredicateSet& AndOperation::predicate_set() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AndOperation.predicate_set) + return _internal_predicate_set(); +} +inline ::anduril::entitymanager::v1::PredicateSet* AndOperation::unsafe_arena_release_predicate_set() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.AndOperation.predicate_set) + if (children_case() == kPredicateSet) { + clear_has_children(); + auto* temp = _impl_.children_.predicate_set_; + _impl_.children_.predicate_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AndOperation::unsafe_arena_set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_children(); + if (value) { + set_has_predicate_set(); + _impl_.children_.predicate_set_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.AndOperation.predicate_set) +} +inline ::anduril::entitymanager::v1::PredicateSet* AndOperation::_internal_mutable_predicate_set() { + if (children_case() != kPredicateSet) { + clear_children(); + set_has_predicate_set(); + _impl_.children_.predicate_set_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PredicateSet>(GetArena()); + } + return _impl_.children_.predicate_set_; +} +inline ::anduril::entitymanager::v1::PredicateSet* AndOperation::mutable_predicate_set() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::PredicateSet* _msg = _internal_mutable_predicate_set(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AndOperation.predicate_set) + return _msg; +} + +// .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; +inline bool AndOperation::has_statement_set() const { + return children_case() == kStatementSet; +} +inline bool AndOperation::_internal_has_statement_set() const { + return children_case() == kStatementSet; +} +inline void AndOperation::set_has_statement_set() { + _impl_._oneof_case_[0] = kStatementSet; +} +inline void AndOperation::clear_statement_set() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (children_case() == kStatementSet) { + if (GetArena() == nullptr) { + delete _impl_.children_.statement_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.statement_set_); + } + clear_has_children(); + } +} +inline ::anduril::entitymanager::v1::StatementSet* AndOperation::release_statement_set() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AndOperation.statement_set) + if (children_case() == kStatementSet) { + clear_has_children(); + auto* temp = _impl_.children_.statement_set_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.children_.statement_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::StatementSet& AndOperation::_internal_statement_set() const { + return children_case() == kStatementSet ? *_impl_.children_.statement_set_ : reinterpret_cast<::anduril::entitymanager::v1::StatementSet&>(::anduril::entitymanager::v1::_StatementSet_default_instance_); +} +inline const ::anduril::entitymanager::v1::StatementSet& AndOperation::statement_set() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AndOperation.statement_set) + return _internal_statement_set(); +} +inline ::anduril::entitymanager::v1::StatementSet* AndOperation::unsafe_arena_release_statement_set() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.AndOperation.statement_set) + if (children_case() == kStatementSet) { + clear_has_children(); + auto* temp = _impl_.children_.statement_set_; + _impl_.children_.statement_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AndOperation::unsafe_arena_set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_children(); + if (value) { + set_has_statement_set(); + _impl_.children_.statement_set_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.AndOperation.statement_set) +} +inline ::anduril::entitymanager::v1::StatementSet* AndOperation::_internal_mutable_statement_set() { + if (children_case() != kStatementSet) { + clear_children(); + set_has_statement_set(); + _impl_.children_.statement_set_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::StatementSet>(GetArena()); + } + return _impl_.children_.statement_set_; +} +inline ::anduril::entitymanager::v1::StatementSet* AndOperation::mutable_statement_set() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::StatementSet* _msg = _internal_mutable_statement_set(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AndOperation.statement_set) + return _msg; +} + +inline bool AndOperation::has_children() const { + return children_case() != CHILDREN_NOT_SET; +} +inline void AndOperation::clear_has_children() { + _impl_._oneof_case_[0] = CHILDREN_NOT_SET; +} +inline AndOperation::ChildrenCase AndOperation::children_case() const { + return AndOperation::ChildrenCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// OrOperation + +// .anduril.entitymanager.v1.PredicateSet predicate_set = 1 [json_name = "predicateSet"]; +inline bool OrOperation::has_predicate_set() const { + return children_case() == kPredicateSet; +} +inline bool OrOperation::_internal_has_predicate_set() const { + return children_case() == kPredicateSet; +} +inline void OrOperation::set_has_predicate_set() { + _impl_._oneof_case_[0] = kPredicateSet; +} +inline void OrOperation::clear_predicate_set() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (children_case() == kPredicateSet) { + if (GetArena() == nullptr) { + delete _impl_.children_.predicate_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.predicate_set_); + } + clear_has_children(); + } +} +inline ::anduril::entitymanager::v1::PredicateSet* OrOperation::release_predicate_set() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OrOperation.predicate_set) + if (children_case() == kPredicateSet) { + clear_has_children(); + auto* temp = _impl_.children_.predicate_set_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.children_.predicate_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::PredicateSet& OrOperation::_internal_predicate_set() const { + return children_case() == kPredicateSet ? *_impl_.children_.predicate_set_ : reinterpret_cast<::anduril::entitymanager::v1::PredicateSet&>(::anduril::entitymanager::v1::_PredicateSet_default_instance_); +} +inline const ::anduril::entitymanager::v1::PredicateSet& OrOperation::predicate_set() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OrOperation.predicate_set) + return _internal_predicate_set(); +} +inline ::anduril::entitymanager::v1::PredicateSet* OrOperation::unsafe_arena_release_predicate_set() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.OrOperation.predicate_set) + if (children_case() == kPredicateSet) { + clear_has_children(); + auto* temp = _impl_.children_.predicate_set_; + _impl_.children_.predicate_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void OrOperation::unsafe_arena_set_allocated_predicate_set(::anduril::entitymanager::v1::PredicateSet* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_children(); + if (value) { + set_has_predicate_set(); + _impl_.children_.predicate_set_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.OrOperation.predicate_set) +} +inline ::anduril::entitymanager::v1::PredicateSet* OrOperation::_internal_mutable_predicate_set() { + if (children_case() != kPredicateSet) { + clear_children(); + set_has_predicate_set(); + _impl_.children_.predicate_set_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PredicateSet>(GetArena()); + } + return _impl_.children_.predicate_set_; +} +inline ::anduril::entitymanager::v1::PredicateSet* OrOperation::mutable_predicate_set() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::PredicateSet* _msg = _internal_mutable_predicate_set(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OrOperation.predicate_set) + return _msg; +} + +// .anduril.entitymanager.v1.StatementSet statement_set = 2 [json_name = "statementSet"]; +inline bool OrOperation::has_statement_set() const { + return children_case() == kStatementSet; +} +inline bool OrOperation::_internal_has_statement_set() const { + return children_case() == kStatementSet; +} +inline void OrOperation::set_has_statement_set() { + _impl_._oneof_case_[0] = kStatementSet; +} +inline void OrOperation::clear_statement_set() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (children_case() == kStatementSet) { + if (GetArena() == nullptr) { + delete _impl_.children_.statement_set_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.children_.statement_set_); + } + clear_has_children(); + } +} +inline ::anduril::entitymanager::v1::StatementSet* OrOperation::release_statement_set() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OrOperation.statement_set) + if (children_case() == kStatementSet) { + clear_has_children(); + auto* temp = _impl_.children_.statement_set_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.children_.statement_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::StatementSet& OrOperation::_internal_statement_set() const { + return children_case() == kStatementSet ? *_impl_.children_.statement_set_ : reinterpret_cast<::anduril::entitymanager::v1::StatementSet&>(::anduril::entitymanager::v1::_StatementSet_default_instance_); +} +inline const ::anduril::entitymanager::v1::StatementSet& OrOperation::statement_set() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OrOperation.statement_set) + return _internal_statement_set(); +} +inline ::anduril::entitymanager::v1::StatementSet* OrOperation::unsafe_arena_release_statement_set() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.OrOperation.statement_set) + if (children_case() == kStatementSet) { + clear_has_children(); + auto* temp = _impl_.children_.statement_set_; + _impl_.children_.statement_set_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void OrOperation::unsafe_arena_set_allocated_statement_set(::anduril::entitymanager::v1::StatementSet* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_children(); + if (value) { + set_has_statement_set(); + _impl_.children_.statement_set_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.OrOperation.statement_set) +} +inline ::anduril::entitymanager::v1::StatementSet* OrOperation::_internal_mutable_statement_set() { + if (children_case() != kStatementSet) { + clear_children(); + set_has_statement_set(); + _impl_.children_.statement_set_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::StatementSet>(GetArena()); + } + return _impl_.children_.statement_set_; +} +inline ::anduril::entitymanager::v1::StatementSet* OrOperation::mutable_statement_set() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::StatementSet* _msg = _internal_mutable_statement_set(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OrOperation.statement_set) + return _msg; +} + +inline bool OrOperation::has_children() const { + return children_case() != CHILDREN_NOT_SET; +} +inline void OrOperation::clear_has_children() { + _impl_._oneof_case_[0] = CHILDREN_NOT_SET; +} +inline OrOperation::ChildrenCase OrOperation::children_case() const { + return OrOperation::ChildrenCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// NotOperation + +// .anduril.entitymanager.v1.Predicate predicate = 1 [json_name = "predicate"]; +inline bool NotOperation::has_predicate() const { + return child_case() == kPredicate; +} +inline bool NotOperation::_internal_has_predicate() const { + return child_case() == kPredicate; +} +inline void NotOperation::set_has_predicate() { + _impl_._oneof_case_[0] = kPredicate; +} +inline void NotOperation::clear_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (child_case() == kPredicate) { + if (GetArena() == nullptr) { + delete _impl_.child_.predicate_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.child_.predicate_); + } + clear_has_child(); + } +} +inline ::anduril::entitymanager::v1::Predicate* NotOperation::release_predicate() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.NotOperation.predicate) + if (child_case() == kPredicate) { + clear_has_child(); + auto* temp = _impl_.child_.predicate_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.child_.predicate_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Predicate& NotOperation::_internal_predicate() const { + return child_case() == kPredicate ? *_impl_.child_.predicate_ : reinterpret_cast<::anduril::entitymanager::v1::Predicate&>(::anduril::entitymanager::v1::_Predicate_default_instance_); +} +inline const ::anduril::entitymanager::v1::Predicate& NotOperation::predicate() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NotOperation.predicate) + return _internal_predicate(); +} +inline ::anduril::entitymanager::v1::Predicate* NotOperation::unsafe_arena_release_predicate() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.NotOperation.predicate) + if (child_case() == kPredicate) { + clear_has_child(); + auto* temp = _impl_.child_.predicate_; + _impl_.child_.predicate_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void NotOperation::unsafe_arena_set_allocated_predicate(::anduril::entitymanager::v1::Predicate* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_child(); + if (value) { + set_has_predicate(); + _impl_.child_.predicate_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.NotOperation.predicate) +} +inline ::anduril::entitymanager::v1::Predicate* NotOperation::_internal_mutable_predicate() { + if (child_case() != kPredicate) { + clear_child(); + set_has_predicate(); + _impl_.child_.predicate_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Predicate>(GetArena()); + } + return _impl_.child_.predicate_; +} +inline ::anduril::entitymanager::v1::Predicate* NotOperation::mutable_predicate() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Predicate* _msg = _internal_mutable_predicate(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.NotOperation.predicate) + return _msg; +} + +// .anduril.entitymanager.v1.Statement statement = 2 [json_name = "statement"]; +inline bool NotOperation::has_statement() const { + return child_case() == kStatement; +} +inline bool NotOperation::_internal_has_statement() const { + return child_case() == kStatement; +} +inline void NotOperation::set_has_statement() { + _impl_._oneof_case_[0] = kStatement; +} +inline void NotOperation::clear_statement() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (child_case() == kStatement) { + if (GetArena() == nullptr) { + delete _impl_.child_.statement_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.child_.statement_); + } + clear_has_child(); + } +} +inline ::anduril::entitymanager::v1::Statement* NotOperation::release_statement() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.NotOperation.statement) + if (child_case() == kStatement) { + clear_has_child(); + auto* temp = _impl_.child_.statement_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.child_.statement_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Statement& NotOperation::_internal_statement() const { + return child_case() == kStatement ? *_impl_.child_.statement_ : reinterpret_cast<::anduril::entitymanager::v1::Statement&>(::anduril::entitymanager::v1::_Statement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Statement& NotOperation::statement() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NotOperation.statement) + return _internal_statement(); +} +inline ::anduril::entitymanager::v1::Statement* NotOperation::unsafe_arena_release_statement() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.NotOperation.statement) + if (child_case() == kStatement) { + clear_has_child(); + auto* temp = _impl_.child_.statement_; + _impl_.child_.statement_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void NotOperation::unsafe_arena_set_allocated_statement(::anduril::entitymanager::v1::Statement* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_child(); + if (value) { + set_has_statement(); + _impl_.child_.statement_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.NotOperation.statement) +} +inline ::anduril::entitymanager::v1::Statement* NotOperation::_internal_mutable_statement() { + if (child_case() != kStatement) { + clear_child(); + set_has_statement(); + _impl_.child_.statement_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Statement>(GetArena()); + } + return _impl_.child_.statement_; +} +inline ::anduril::entitymanager::v1::Statement* NotOperation::mutable_statement() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Statement* _msg = _internal_mutable_statement(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.NotOperation.statement) + return _msg; +} + +inline bool NotOperation::has_child() const { + return child_case() != CHILD_NOT_SET; +} +inline void NotOperation::clear_has_child() { + _impl_._oneof_case_[0] = CHILD_NOT_SET; +} +inline NotOperation::ChildCase NotOperation::child_case() const { + return NotOperation::ChildCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// ListOperation + +// string list_path = 1 [json_name = "listPath"]; +inline void ListOperation::clear_list_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.list_path_.ClearToEmpty(); +} +inline const std::string& ListOperation::list_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ListOperation.list_path) + return _internal_list_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ListOperation::set_list_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.list_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ListOperation.list_path) +} +inline std::string* ListOperation::mutable_list_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_list_path(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ListOperation.list_path) + return _s; +} +inline const std::string& ListOperation::_internal_list_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.list_path_.Get(); +} +inline void ListOperation::_internal_set_list_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.list_path_.Set(value, GetArena()); +} +inline std::string* ListOperation::_internal_mutable_list_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.list_path_.Mutable( GetArena()); +} +inline std::string* ListOperation::release_list_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ListOperation.list_path) + return _impl_.list_path_.Release(); +} +inline void ListOperation::set_allocated_list_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.list_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.list_path_.IsDefault()) { + _impl_.list_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ListOperation.list_path) +} + +// .anduril.entitymanager.v1.ListComparator list_comparator = 2 [json_name = "listComparator"]; +inline void ListOperation::clear_list_comparator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.list_comparator_ = 0; +} +inline ::anduril::entitymanager::v1::ListComparator ListOperation::list_comparator() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ListOperation.list_comparator) + return _internal_list_comparator(); +} +inline void ListOperation::set_list_comparator(::anduril::entitymanager::v1::ListComparator value) { + _internal_set_list_comparator(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ListOperation.list_comparator) +} +inline ::anduril::entitymanager::v1::ListComparator ListOperation::_internal_list_comparator() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::ListComparator>(_impl_.list_comparator_); +} +inline void ListOperation::_internal_set_list_comparator(::anduril::entitymanager::v1::ListComparator value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.list_comparator_ = value; +} + +// .anduril.entitymanager.v1.Statement statement = 3 [json_name = "statement"]; +inline bool ListOperation::has_statement() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.statement_ != nullptr); + return value; +} +inline void ListOperation::clear_statement() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.statement_ != nullptr) _impl_.statement_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Statement& ListOperation::_internal_statement() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Statement* p = _impl_.statement_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Statement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Statement& ListOperation::statement() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ListOperation.statement) + return _internal_statement(); +} +inline void ListOperation::unsafe_arena_set_allocated_statement(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.statement_); + } + _impl_.statement_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ListOperation.statement) +} +inline ::anduril::entitymanager::v1::Statement* ListOperation::release_statement() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Statement* released = _impl_.statement_; + _impl_.statement_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Statement* ListOperation::unsafe_arena_release_statement() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ListOperation.statement) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Statement* temp = _impl_.statement_; + _impl_.statement_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Statement* ListOperation::_internal_mutable_statement() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.statement_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Statement>(GetArena()); + _impl_.statement_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(p); + } + return _impl_.statement_; +} +inline ::anduril::entitymanager::v1::Statement* ListOperation::mutable_statement() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Statement* _msg = _internal_mutable_statement(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ListOperation.statement) + return _msg; +} +inline void ListOperation::set_allocated_statement(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.statement_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.statement_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ListOperation.statement) +} + +// ------------------------------------------------------------------- + +// PredicateSet + +// repeated .anduril.entitymanager.v1.Predicate predicates = 1 [json_name = "predicates"]; +inline int PredicateSet::_internal_predicates_size() const { + return _internal_predicates().size(); +} +inline int PredicateSet::predicates_size() const { + return _internal_predicates_size(); +} +inline void PredicateSet::clear_predicates() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.predicates_.Clear(); +} +inline ::anduril::entitymanager::v1::Predicate* PredicateSet::mutable_predicates(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PredicateSet.predicates) + return _internal_mutable_predicates()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>* PredicateSet::mutable_predicates() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.PredicateSet.predicates) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_predicates(); +} +inline const ::anduril::entitymanager::v1::Predicate& PredicateSet::predicates(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PredicateSet.predicates) + return _internal_predicates().Get(index); +} +inline ::anduril::entitymanager::v1::Predicate* PredicateSet::add_predicates() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Predicate* _add = _internal_mutable_predicates()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.PredicateSet.predicates) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>& PredicateSet::predicates() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.PredicateSet.predicates) + return _internal_predicates(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>& +PredicateSet::_internal_predicates() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.predicates_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Predicate>* +PredicateSet::_internal_mutable_predicates() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.predicates_; +} + +// ------------------------------------------------------------------- + +// StatementSet + +// repeated .anduril.entitymanager.v1.Statement statements = 1 [json_name = "statements"]; +inline int StatementSet::_internal_statements_size() const { + return _internal_statements().size(); +} +inline int StatementSet::statements_size() const { + return _internal_statements_size(); +} +inline void StatementSet::clear_statements() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.statements_.Clear(); +} +inline ::anduril::entitymanager::v1::Statement* StatementSet::mutable_statements(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StatementSet.statements) + return _internal_mutable_statements()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>* StatementSet::mutable_statements() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.StatementSet.statements) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_statements(); +} +inline const ::anduril::entitymanager::v1::Statement& StatementSet::statements(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StatementSet.statements) + return _internal_statements().Get(index); +} +inline ::anduril::entitymanager::v1::Statement* StatementSet::add_statements() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Statement* _add = _internal_mutable_statements()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.StatementSet.statements) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>& StatementSet::statements() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.StatementSet.statements) + return _internal_statements(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>& +StatementSet::_internal_statements() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.statements_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Statement>* +StatementSet::_internal_mutable_statements() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.statements_; +} + +// ------------------------------------------------------------------- + +// Predicate + +// string field_path = 1 [json_name = "fieldPath"]; +inline void Predicate::clear_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.ClearToEmpty(); +} +inline const std::string& Predicate::field_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Predicate.field_path) + return _internal_field_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Predicate::set_field_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Predicate.field_path) +} +inline std::string* Predicate::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_field_path(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Predicate.field_path) + return _s; +} +inline const std::string& Predicate::_internal_field_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.field_path_.Get(); +} +inline void Predicate::_internal_set_field_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(value, GetArena()); +} +inline std::string* Predicate::_internal_mutable_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.field_path_.Mutable( GetArena()); +} +inline std::string* Predicate::release_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Predicate.field_path) + return _impl_.field_path_.Release(); +} +inline void Predicate::set_allocated_field_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.field_path_.IsDefault()) { + _impl_.field_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Predicate.field_path) +} + +// .anduril.entitymanager.v1.Value value = 2 [json_name = "value"]; +inline bool Predicate::has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); + return value; +} +inline void Predicate::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ != nullptr) _impl_.value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Value& Predicate::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Value* p = _impl_.value_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Value_default_instance_); +} +inline const ::anduril::entitymanager::v1::Value& Predicate::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Predicate.value) + return _internal_value(); +} +inline void Predicate::unsafe_arena_set_allocated_value(::anduril::entitymanager::v1::Value* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + _impl_.value_ = reinterpret_cast<::anduril::entitymanager::v1::Value*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Predicate.value) +} +inline ::anduril::entitymanager::v1::Value* Predicate::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Value* released = _impl_.value_; + _impl_.value_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Value* Predicate::unsafe_arena_release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Predicate.value) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Value* temp = _impl_.value_; + _impl_.value_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Value* Predicate::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Value>(GetArena()); + _impl_.value_ = reinterpret_cast<::anduril::entitymanager::v1::Value*>(p); + } + return _impl_.value_; +} +inline ::anduril::entitymanager::v1::Value* Predicate::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Value* _msg = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Predicate.value) + return _msg; +} +inline void Predicate::set_allocated_value(::anduril::entitymanager::v1::Value* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.value_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.value_ = reinterpret_cast<::anduril::entitymanager::v1::Value*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Predicate.value) +} + +// .anduril.entitymanager.v1.Comparator comparator = 3 [json_name = "comparator"]; +inline void Predicate::clear_comparator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comparator_ = 0; +} +inline ::anduril::entitymanager::v1::Comparator Predicate::comparator() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Predicate.comparator) + return _internal_comparator(); +} +inline void Predicate::set_comparator(::anduril::entitymanager::v1::Comparator value) { + _internal_set_comparator(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Predicate.comparator) +} +inline ::anduril::entitymanager::v1::Comparator Predicate::_internal_comparator() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::Comparator>(_impl_.comparator_); +} +inline void Predicate::_internal_set_comparator(::anduril::entitymanager::v1::Comparator value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comparator_ = value; +} + +// ------------------------------------------------------------------- + +// Value + +// .anduril.entitymanager.v1.BooleanType boolean_type = 1 [json_name = "booleanType"]; +inline bool Value::has_boolean_type() const { + return type_case() == kBooleanType; +} +inline bool Value::_internal_has_boolean_type() const { + return type_case() == kBooleanType; +} +inline void Value::set_has_boolean_type() { + _impl_._oneof_case_[0] = kBooleanType; +} +inline void Value::clear_boolean_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kBooleanType) { + if (GetArena() == nullptr) { + delete _impl_.type_.boolean_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.boolean_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::BooleanType* Value::release_boolean_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.boolean_type) + if (type_case() == kBooleanType) { + clear_has_type(); + auto* temp = _impl_.type_.boolean_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.boolean_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::BooleanType& Value::_internal_boolean_type() const { + return type_case() == kBooleanType ? *_impl_.type_.boolean_type_ : reinterpret_cast<::anduril::entitymanager::v1::BooleanType&>(::anduril::entitymanager::v1::_BooleanType_default_instance_); +} +inline const ::anduril::entitymanager::v1::BooleanType& Value::boolean_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.boolean_type) + return _internal_boolean_type(); +} +inline ::anduril::entitymanager::v1::BooleanType* Value::unsafe_arena_release_boolean_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.boolean_type) + if (type_case() == kBooleanType) { + clear_has_type(); + auto* temp = _impl_.type_.boolean_type_; + _impl_.type_.boolean_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_boolean_type(::anduril::entitymanager::v1::BooleanType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_boolean_type(); + _impl_.type_.boolean_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.boolean_type) +} +inline ::anduril::entitymanager::v1::BooleanType* Value::_internal_mutable_boolean_type() { + if (type_case() != kBooleanType) { + clear_type(); + set_has_boolean_type(); + _impl_.type_.boolean_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::BooleanType>(GetArena()); + } + return _impl_.type_.boolean_type_; +} +inline ::anduril::entitymanager::v1::BooleanType* Value::mutable_boolean_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::BooleanType* _msg = _internal_mutable_boolean_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.boolean_type) + return _msg; +} + +// .anduril.entitymanager.v1.NumericType numeric_type = 2 [json_name = "numericType"]; +inline bool Value::has_numeric_type() const { + return type_case() == kNumericType; +} +inline bool Value::_internal_has_numeric_type() const { + return type_case() == kNumericType; +} +inline void Value::set_has_numeric_type() { + _impl_._oneof_case_[0] = kNumericType; +} +inline void Value::clear_numeric_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kNumericType) { + if (GetArena() == nullptr) { + delete _impl_.type_.numeric_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.numeric_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::NumericType* Value::release_numeric_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.numeric_type) + if (type_case() == kNumericType) { + clear_has_type(); + auto* temp = _impl_.type_.numeric_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.numeric_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::NumericType& Value::_internal_numeric_type() const { + return type_case() == kNumericType ? *_impl_.type_.numeric_type_ : reinterpret_cast<::anduril::entitymanager::v1::NumericType&>(::anduril::entitymanager::v1::_NumericType_default_instance_); +} +inline const ::anduril::entitymanager::v1::NumericType& Value::numeric_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.numeric_type) + return _internal_numeric_type(); +} +inline ::anduril::entitymanager::v1::NumericType* Value::unsafe_arena_release_numeric_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.numeric_type) + if (type_case() == kNumericType) { + clear_has_type(); + auto* temp = _impl_.type_.numeric_type_; + _impl_.type_.numeric_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_numeric_type(::anduril::entitymanager::v1::NumericType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_numeric_type(); + _impl_.type_.numeric_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.numeric_type) +} +inline ::anduril::entitymanager::v1::NumericType* Value::_internal_mutable_numeric_type() { + if (type_case() != kNumericType) { + clear_type(); + set_has_numeric_type(); + _impl_.type_.numeric_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::NumericType>(GetArena()); + } + return _impl_.type_.numeric_type_; +} +inline ::anduril::entitymanager::v1::NumericType* Value::mutable_numeric_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::NumericType* _msg = _internal_mutable_numeric_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.numeric_type) + return _msg; +} + +// .anduril.entitymanager.v1.StringType string_type = 3 [json_name = "stringType"]; +inline bool Value::has_string_type() const { + return type_case() == kStringType; +} +inline bool Value::_internal_has_string_type() const { + return type_case() == kStringType; +} +inline void Value::set_has_string_type() { + _impl_._oneof_case_[0] = kStringType; +} +inline void Value::clear_string_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kStringType) { + if (GetArena() == nullptr) { + delete _impl_.type_.string_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.string_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::StringType* Value::release_string_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.string_type) + if (type_case() == kStringType) { + clear_has_type(); + auto* temp = _impl_.type_.string_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.string_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::StringType& Value::_internal_string_type() const { + return type_case() == kStringType ? *_impl_.type_.string_type_ : reinterpret_cast<::anduril::entitymanager::v1::StringType&>(::anduril::entitymanager::v1::_StringType_default_instance_); +} +inline const ::anduril::entitymanager::v1::StringType& Value::string_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.string_type) + return _internal_string_type(); +} +inline ::anduril::entitymanager::v1::StringType* Value::unsafe_arena_release_string_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.string_type) + if (type_case() == kStringType) { + clear_has_type(); + auto* temp = _impl_.type_.string_type_; + _impl_.type_.string_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_string_type(::anduril::entitymanager::v1::StringType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_string_type(); + _impl_.type_.string_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.string_type) +} +inline ::anduril::entitymanager::v1::StringType* Value::_internal_mutable_string_type() { + if (type_case() != kStringType) { + clear_type(); + set_has_string_type(); + _impl_.type_.string_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::StringType>(GetArena()); + } + return _impl_.type_.string_type_; +} +inline ::anduril::entitymanager::v1::StringType* Value::mutable_string_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::StringType* _msg = _internal_mutable_string_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.string_type) + return _msg; +} + +// .anduril.entitymanager.v1.EnumType enum_type = 4 [json_name = "enumType"]; +inline bool Value::has_enum_type() const { + return type_case() == kEnumType; +} +inline bool Value::_internal_has_enum_type() const { + return type_case() == kEnumType; +} +inline void Value::set_has_enum_type() { + _impl_._oneof_case_[0] = kEnumType; +} +inline void Value::clear_enum_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kEnumType) { + if (GetArena() == nullptr) { + delete _impl_.type_.enum_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.enum_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::EnumType* Value::release_enum_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.enum_type) + if (type_case() == kEnumType) { + clear_has_type(); + auto* temp = _impl_.type_.enum_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.enum_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::EnumType& Value::_internal_enum_type() const { + return type_case() == kEnumType ? *_impl_.type_.enum_type_ : reinterpret_cast<::anduril::entitymanager::v1::EnumType&>(::anduril::entitymanager::v1::_EnumType_default_instance_); +} +inline const ::anduril::entitymanager::v1::EnumType& Value::enum_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.enum_type) + return _internal_enum_type(); +} +inline ::anduril::entitymanager::v1::EnumType* Value::unsafe_arena_release_enum_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.enum_type) + if (type_case() == kEnumType) { + clear_has_type(); + auto* temp = _impl_.type_.enum_type_; + _impl_.type_.enum_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_enum_type(::anduril::entitymanager::v1::EnumType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_enum_type(); + _impl_.type_.enum_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.enum_type) +} +inline ::anduril::entitymanager::v1::EnumType* Value::_internal_mutable_enum_type() { + if (type_case() != kEnumType) { + clear_type(); + set_has_enum_type(); + _impl_.type_.enum_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::EnumType>(GetArena()); + } + return _impl_.type_.enum_type_; +} +inline ::anduril::entitymanager::v1::EnumType* Value::mutable_enum_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::EnumType* _msg = _internal_mutable_enum_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.enum_type) + return _msg; +} + +// .anduril.entitymanager.v1.TimestampType timestamp_type = 5 [json_name = "timestampType"]; +inline bool Value::has_timestamp_type() const { + return type_case() == kTimestampType; +} +inline bool Value::_internal_has_timestamp_type() const { + return type_case() == kTimestampType; +} +inline void Value::set_has_timestamp_type() { + _impl_._oneof_case_[0] = kTimestampType; +} +inline void Value::clear_timestamp_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kTimestampType) { + if (GetArena() == nullptr) { + delete _impl_.type_.timestamp_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.timestamp_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::TimestampType* Value::release_timestamp_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.timestamp_type) + if (type_case() == kTimestampType) { + clear_has_type(); + auto* temp = _impl_.type_.timestamp_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.timestamp_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::TimestampType& Value::_internal_timestamp_type() const { + return type_case() == kTimestampType ? *_impl_.type_.timestamp_type_ : reinterpret_cast<::anduril::entitymanager::v1::TimestampType&>(::anduril::entitymanager::v1::_TimestampType_default_instance_); +} +inline const ::anduril::entitymanager::v1::TimestampType& Value::timestamp_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.timestamp_type) + return _internal_timestamp_type(); +} +inline ::anduril::entitymanager::v1::TimestampType* Value::unsafe_arena_release_timestamp_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.timestamp_type) + if (type_case() == kTimestampType) { + clear_has_type(); + auto* temp = _impl_.type_.timestamp_type_; + _impl_.type_.timestamp_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_timestamp_type(::anduril::entitymanager::v1::TimestampType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_timestamp_type(); + _impl_.type_.timestamp_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.timestamp_type) +} +inline ::anduril::entitymanager::v1::TimestampType* Value::_internal_mutable_timestamp_type() { + if (type_case() != kTimestampType) { + clear_type(); + set_has_timestamp_type(); + _impl_.type_.timestamp_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::TimestampType>(GetArena()); + } + return _impl_.type_.timestamp_type_; +} +inline ::anduril::entitymanager::v1::TimestampType* Value::mutable_timestamp_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::TimestampType* _msg = _internal_mutable_timestamp_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.timestamp_type) + return _msg; +} + +// .anduril.entitymanager.v1.BoundedShapeType bounded_shape_type = 6 [json_name = "boundedShapeType"]; +inline bool Value::has_bounded_shape_type() const { + return type_case() == kBoundedShapeType; +} +inline bool Value::_internal_has_bounded_shape_type() const { + return type_case() == kBoundedShapeType; +} +inline void Value::set_has_bounded_shape_type() { + _impl_._oneof_case_[0] = kBoundedShapeType; +} +inline void Value::clear_bounded_shape_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kBoundedShapeType) { + if (GetArena() == nullptr) { + delete _impl_.type_.bounded_shape_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.bounded_shape_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::BoundedShapeType* Value::release_bounded_shape_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.bounded_shape_type) + if (type_case() == kBoundedShapeType) { + clear_has_type(); + auto* temp = _impl_.type_.bounded_shape_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.bounded_shape_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::BoundedShapeType& Value::_internal_bounded_shape_type() const { + return type_case() == kBoundedShapeType ? *_impl_.type_.bounded_shape_type_ : reinterpret_cast<::anduril::entitymanager::v1::BoundedShapeType&>(::anduril::entitymanager::v1::_BoundedShapeType_default_instance_); +} +inline const ::anduril::entitymanager::v1::BoundedShapeType& Value::bounded_shape_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.bounded_shape_type) + return _internal_bounded_shape_type(); +} +inline ::anduril::entitymanager::v1::BoundedShapeType* Value::unsafe_arena_release_bounded_shape_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.bounded_shape_type) + if (type_case() == kBoundedShapeType) { + clear_has_type(); + auto* temp = _impl_.type_.bounded_shape_type_; + _impl_.type_.bounded_shape_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_bounded_shape_type(::anduril::entitymanager::v1::BoundedShapeType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_bounded_shape_type(); + _impl_.type_.bounded_shape_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.bounded_shape_type) +} +inline ::anduril::entitymanager::v1::BoundedShapeType* Value::_internal_mutable_bounded_shape_type() { + if (type_case() != kBoundedShapeType) { + clear_type(); + set_has_bounded_shape_type(); + _impl_.type_.bounded_shape_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::BoundedShapeType>(GetArena()); + } + return _impl_.type_.bounded_shape_type_; +} +inline ::anduril::entitymanager::v1::BoundedShapeType* Value::mutable_bounded_shape_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::BoundedShapeType* _msg = _internal_mutable_bounded_shape_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.bounded_shape_type) + return _msg; +} + +// .anduril.entitymanager.v1.PositionType position_type = 7 [json_name = "positionType"]; +inline bool Value::has_position_type() const { + return type_case() == kPositionType; +} +inline bool Value::_internal_has_position_type() const { + return type_case() == kPositionType; +} +inline void Value::set_has_position_type() { + _impl_._oneof_case_[0] = kPositionType; +} +inline void Value::clear_position_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kPositionType) { + if (GetArena() == nullptr) { + delete _impl_.type_.position_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.position_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::PositionType* Value::release_position_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.position_type) + if (type_case() == kPositionType) { + clear_has_type(); + auto* temp = _impl_.type_.position_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.position_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::PositionType& Value::_internal_position_type() const { + return type_case() == kPositionType ? *_impl_.type_.position_type_ : reinterpret_cast<::anduril::entitymanager::v1::PositionType&>(::anduril::entitymanager::v1::_PositionType_default_instance_); +} +inline const ::anduril::entitymanager::v1::PositionType& Value::position_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.position_type) + return _internal_position_type(); +} +inline ::anduril::entitymanager::v1::PositionType* Value::unsafe_arena_release_position_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.position_type) + if (type_case() == kPositionType) { + clear_has_type(); + auto* temp = _impl_.type_.position_type_; + _impl_.type_.position_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_position_type(::anduril::entitymanager::v1::PositionType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_position_type(); + _impl_.type_.position_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.position_type) +} +inline ::anduril::entitymanager::v1::PositionType* Value::_internal_mutable_position_type() { + if (type_case() != kPositionType) { + clear_type(); + set_has_position_type(); + _impl_.type_.position_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PositionType>(GetArena()); + } + return _impl_.type_.position_type_; +} +inline ::anduril::entitymanager::v1::PositionType* Value::mutable_position_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::PositionType* _msg = _internal_mutable_position_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.position_type) + return _msg; +} + +// .anduril.entitymanager.v1.HeadingType heading_type = 8 [json_name = "headingType"]; +inline bool Value::has_heading_type() const { + return type_case() == kHeadingType; +} +inline bool Value::_internal_has_heading_type() const { + return type_case() == kHeadingType; +} +inline void Value::set_has_heading_type() { + _impl_._oneof_case_[0] = kHeadingType; +} +inline void Value::clear_heading_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kHeadingType) { + if (GetArena() == nullptr) { + delete _impl_.type_.heading_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.heading_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::HeadingType* Value::release_heading_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.heading_type) + if (type_case() == kHeadingType) { + clear_has_type(); + auto* temp = _impl_.type_.heading_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.heading_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::HeadingType& Value::_internal_heading_type() const { + return type_case() == kHeadingType ? *_impl_.type_.heading_type_ : reinterpret_cast<::anduril::entitymanager::v1::HeadingType&>(::anduril::entitymanager::v1::_HeadingType_default_instance_); +} +inline const ::anduril::entitymanager::v1::HeadingType& Value::heading_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.heading_type) + return _internal_heading_type(); +} +inline ::anduril::entitymanager::v1::HeadingType* Value::unsafe_arena_release_heading_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.heading_type) + if (type_case() == kHeadingType) { + clear_has_type(); + auto* temp = _impl_.type_.heading_type_; + _impl_.type_.heading_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_heading_type(::anduril::entitymanager::v1::HeadingType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_heading_type(); + _impl_.type_.heading_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.heading_type) +} +inline ::anduril::entitymanager::v1::HeadingType* Value::_internal_mutable_heading_type() { + if (type_case() != kHeadingType) { + clear_type(); + set_has_heading_type(); + _impl_.type_.heading_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::HeadingType>(GetArena()); + } + return _impl_.type_.heading_type_; +} +inline ::anduril::entitymanager::v1::HeadingType* Value::mutable_heading_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::HeadingType* _msg = _internal_mutable_heading_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.heading_type) + return _msg; +} + +// .anduril.entitymanager.v1.ListType list_type = 9 [json_name = "listType"]; +inline bool Value::has_list_type() const { + return type_case() == kListType; +} +inline bool Value::_internal_has_list_type() const { + return type_case() == kListType; +} +inline void Value::set_has_list_type() { + _impl_._oneof_case_[0] = kListType; +} +inline void Value::clear_list_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kListType) { + if (GetArena() == nullptr) { + delete _impl_.type_.list_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.list_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::ListType* Value::release_list_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.list_type) + if (type_case() == kListType) { + clear_has_type(); + auto* temp = _impl_.type_.list_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.list_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::ListType& Value::_internal_list_type() const { + return type_case() == kListType ? *_impl_.type_.list_type_ : reinterpret_cast<::anduril::entitymanager::v1::ListType&>(::anduril::entitymanager::v1::_ListType_default_instance_); +} +inline const ::anduril::entitymanager::v1::ListType& Value::list_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.list_type) + return _internal_list_type(); +} +inline ::anduril::entitymanager::v1::ListType* Value::unsafe_arena_release_list_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.list_type) + if (type_case() == kListType) { + clear_has_type(); + auto* temp = _impl_.type_.list_type_; + _impl_.type_.list_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_list_type(::anduril::entitymanager::v1::ListType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_list_type(); + _impl_.type_.list_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.list_type) +} +inline ::anduril::entitymanager::v1::ListType* Value::_internal_mutable_list_type() { + if (type_case() != kListType) { + clear_type(); + set_has_list_type(); + _impl_.type_.list_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ListType>(GetArena()); + } + return _impl_.type_.list_type_; +} +inline ::anduril::entitymanager::v1::ListType* Value::mutable_list_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::ListType* _msg = _internal_mutable_list_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.list_type) + return _msg; +} + +// .anduril.entitymanager.v1.RangeType range_type = 10 [json_name = "rangeType"]; +inline bool Value::has_range_type() const { + return type_case() == kRangeType; +} +inline bool Value::_internal_has_range_type() const { + return type_case() == kRangeType; +} +inline void Value::set_has_range_type() { + _impl_._oneof_case_[0] = kRangeType; +} +inline void Value::clear_range_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kRangeType) { + if (GetArena() == nullptr) { + delete _impl_.type_.range_type_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.range_type_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::RangeType* Value::release_range_type() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Value.range_type) + if (type_case() == kRangeType) { + clear_has_type(); + auto* temp = _impl_.type_.range_type_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.range_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::RangeType& Value::_internal_range_type() const { + return type_case() == kRangeType ? *_impl_.type_.range_type_ : reinterpret_cast<::anduril::entitymanager::v1::RangeType&>(::anduril::entitymanager::v1::_RangeType_default_instance_); +} +inline const ::anduril::entitymanager::v1::RangeType& Value::range_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Value.range_type) + return _internal_range_type(); +} +inline ::anduril::entitymanager::v1::RangeType* Value::unsafe_arena_release_range_type() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Value.range_type) + if (type_case() == kRangeType) { + clear_has_type(); + auto* temp = _impl_.type_.range_type_; + _impl_.type_.range_type_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Value::unsafe_arena_set_allocated_range_type(::anduril::entitymanager::v1::RangeType* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_range_type(); + _impl_.type_.range_type_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Value.range_type) +} +inline ::anduril::entitymanager::v1::RangeType* Value::_internal_mutable_range_type() { + if (type_case() != kRangeType) { + clear_type(); + set_has_range_type(); + _impl_.type_.range_type_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::RangeType>(GetArena()); + } + return _impl_.type_.range_type_; +} +inline ::anduril::entitymanager::v1::RangeType* Value::mutable_range_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::RangeType* _msg = _internal_mutable_range_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Value.range_type) + return _msg; +} + +inline bool Value::has_type() const { + return type_case() != TYPE_NOT_SET; +} +inline void Value::clear_has_type() { + _impl_._oneof_case_[0] = TYPE_NOT_SET; +} +inline Value::TypeCase Value::type_case() const { + return Value::TypeCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// BooleanType + +// bool value = 1 [json_name = "value"]; +inline void BooleanType::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = false; +} +inline bool BooleanType::value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.BooleanType.value) + return _internal_value(); +} +inline void BooleanType::set_value(bool value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.BooleanType.value) +} +inline bool BooleanType::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; +} +inline void BooleanType::_internal_set_value(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; +} + +// ------------------------------------------------------------------- + +// NumericType + +// double double_value = 1 [json_name = "doubleValue"]; +inline bool NumericType::has_double_value() const { + return value_case() == kDoubleValue; +} +inline void NumericType::set_has_double_value() { + _impl_._oneof_case_[0] = kDoubleValue; +} +inline void NumericType::clear_double_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kDoubleValue) { + _impl_.value_.double_value_ = 0; + clear_has_value(); + } +} +inline double NumericType::double_value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NumericType.double_value) + return _internal_double_value(); +} +inline void NumericType::set_double_value(double value) { + if (value_case() != kDoubleValue) { + clear_value(); + set_has_double_value(); + } + _impl_.value_.double_value_ = value; + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.NumericType.double_value) +} +inline double NumericType::_internal_double_value() const { + if (value_case() == kDoubleValue) { + return _impl_.value_.double_value_; + } + return 0; +} + +// float float_value = 2 [json_name = "floatValue"]; +inline bool NumericType::has_float_value() const { + return value_case() == kFloatValue; +} +inline void NumericType::set_has_float_value() { + _impl_._oneof_case_[0] = kFloatValue; +} +inline void NumericType::clear_float_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kFloatValue) { + _impl_.value_.float_value_ = 0; + clear_has_value(); + } +} +inline float NumericType::float_value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NumericType.float_value) + return _internal_float_value(); +} +inline void NumericType::set_float_value(float value) { + if (value_case() != kFloatValue) { + clear_value(); + set_has_float_value(); + } + _impl_.value_.float_value_ = value; + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.NumericType.float_value) +} +inline float NumericType::_internal_float_value() const { + if (value_case() == kFloatValue) { + return _impl_.value_.float_value_; + } + return 0; +} + +// int32 int32_value = 3 [json_name = "int32Value"]; +inline bool NumericType::has_int32_value() const { + return value_case() == kInt32Value; +} +inline void NumericType::set_has_int32_value() { + _impl_._oneof_case_[0] = kInt32Value; +} +inline void NumericType::clear_int32_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kInt32Value) { + _impl_.value_.int32_value_ = 0; + clear_has_value(); + } +} +inline ::int32_t NumericType::int32_value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NumericType.int32_value) + return _internal_int32_value(); +} +inline void NumericType::set_int32_value(::int32_t value) { + if (value_case() != kInt32Value) { + clear_value(); + set_has_int32_value(); + } + _impl_.value_.int32_value_ = value; + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.NumericType.int32_value) +} +inline ::int32_t NumericType::_internal_int32_value() const { + if (value_case() == kInt32Value) { + return _impl_.value_.int32_value_; + } + return 0; +} + +// int64 int64_value = 4 [json_name = "int64Value"]; +inline bool NumericType::has_int64_value() const { + return value_case() == kInt64Value; +} +inline void NumericType::set_has_int64_value() { + _impl_._oneof_case_[0] = kInt64Value; +} +inline void NumericType::clear_int64_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kInt64Value) { + _impl_.value_.int64_value_ = ::int64_t{0}; + clear_has_value(); + } +} +inline ::int64_t NumericType::int64_value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NumericType.int64_value) + return _internal_int64_value(); +} +inline void NumericType::set_int64_value(::int64_t value) { + if (value_case() != kInt64Value) { + clear_value(); + set_has_int64_value(); + } + _impl_.value_.int64_value_ = value; + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.NumericType.int64_value) +} +inline ::int64_t NumericType::_internal_int64_value() const { + if (value_case() == kInt64Value) { + return _impl_.value_.int64_value_; + } + return ::int64_t{0}; +} + +// uint32 uint32_value = 5 [json_name = "uint32Value"]; +inline bool NumericType::has_uint32_value() const { + return value_case() == kUint32Value; +} +inline void NumericType::set_has_uint32_value() { + _impl_._oneof_case_[0] = kUint32Value; +} +inline void NumericType::clear_uint32_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kUint32Value) { + _impl_.value_.uint32_value_ = 0u; + clear_has_value(); + } +} +inline ::uint32_t NumericType::uint32_value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NumericType.uint32_value) + return _internal_uint32_value(); +} +inline void NumericType::set_uint32_value(::uint32_t value) { + if (value_case() != kUint32Value) { + clear_value(); + set_has_uint32_value(); + } + _impl_.value_.uint32_value_ = value; + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.NumericType.uint32_value) +} +inline ::uint32_t NumericType::_internal_uint32_value() const { + if (value_case() == kUint32Value) { + return _impl_.value_.uint32_value_; + } + return 0u; +} + +// uint64 uint64_value = 6 [json_name = "uint64Value"]; +inline bool NumericType::has_uint64_value() const { + return value_case() == kUint64Value; +} +inline void NumericType::set_has_uint64_value() { + _impl_._oneof_case_[0] = kUint64Value; +} +inline void NumericType::clear_uint64_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kUint64Value) { + _impl_.value_.uint64_value_ = ::uint64_t{0u}; + clear_has_value(); + } +} +inline ::uint64_t NumericType::uint64_value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.NumericType.uint64_value) + return _internal_uint64_value(); +} +inline void NumericType::set_uint64_value(::uint64_t value) { + if (value_case() != kUint64Value) { + clear_value(); + set_has_uint64_value(); + } + _impl_.value_.uint64_value_ = value; + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.NumericType.uint64_value) +} +inline ::uint64_t NumericType::_internal_uint64_value() const { + if (value_case() == kUint64Value) { + return _impl_.value_.uint64_value_; + } + return ::uint64_t{0u}; +} + +inline bool NumericType::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void NumericType::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline NumericType::ValueCase NumericType::value_case() const { + return NumericType::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// StringType + +// string value = 1 [json_name = "value"]; +inline void StringType::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.ClearToEmpty(); +} +inline const std::string& StringType::value() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.StringType.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE void StringType::set_value(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.StringType.value) +} +inline std::string* StringType::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.StringType.value) + return _s; +} +inline const std::string& StringType::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_.Get(); +} +inline void StringType::_internal_set_value(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.Set(value, GetArena()); +} +inline std::string* StringType::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.value_.Mutable( GetArena()); +} +inline std::string* StringType::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.StringType.value) + return _impl_.value_.Release(); +} +inline void StringType::set_allocated_value(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.StringType.value) +} + +// ------------------------------------------------------------------- + +// EnumType + +// int32 value = 1 [json_name = "value"]; +inline void EnumType::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = 0; +} +inline ::int32_t EnumType::value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.EnumType.value) + return _internal_value(); +} +inline void EnumType::set_value(::int32_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.EnumType.value) +} +inline ::int32_t EnumType::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; +} +inline void EnumType::_internal_set_value(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; +} + +// ------------------------------------------------------------------- + +// ListType + +// repeated .anduril.entitymanager.v1.Value values = 1 [json_name = "values"]; +inline int ListType::_internal_values_size() const { + return _internal_values().size(); +} +inline int ListType::values_size() const { + return _internal_values_size(); +} +inline void ListType::clear_values() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.values_.Clear(); +} +inline ::anduril::entitymanager::v1::Value* ListType::mutable_values(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ListType.values) + return _internal_mutable_values()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>* ListType::mutable_values() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.ListType.values) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_values(); +} +inline const ::anduril::entitymanager::v1::Value& ListType::values(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ListType.values) + return _internal_values().Get(index); +} +inline ::anduril::entitymanager::v1::Value* ListType::add_values() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Value* _add = _internal_mutable_values()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.ListType.values) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>& ListType::values() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.ListType.values) + return _internal_values(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>& +ListType::_internal_values() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.values_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Value>* +ListType::_internal_mutable_values() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.values_; +} + +// ------------------------------------------------------------------- + +// TimestampType + +// .google.protobuf.Timestamp value = 1 [json_name = "value"]; +inline bool TimestampType::has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& TimestampType::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.value_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& TimestampType::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TimestampType.value) + return _internal_value(); +} +inline void TimestampType::unsafe_arena_set_allocated_value(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + _impl_.value_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TimestampType.value) +} +inline ::google::protobuf::Timestamp* TimestampType::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.value_; + _impl_.value_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* TimestampType::unsafe_arena_release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TimestampType.value) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.value_; + _impl_.value_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* TimestampType::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.value_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.value_; +} +inline ::google::protobuf::Timestamp* TimestampType::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TimestampType.value) + return _msg; +} +inline void TimestampType::set_allocated_value(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.value_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TimestampType.value) +} + +// ------------------------------------------------------------------- + +// PositionType + +// .anduril.entitymanager.v1.Position value = 1 [json_name = "value"]; +inline bool PositionType::has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& PositionType::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.value_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& PositionType::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PositionType.value) + return _internal_value(); +} +inline void PositionType::unsafe_arena_set_allocated_value(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + _impl_.value_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PositionType.value) +} +inline ::anduril::entitymanager::v1::Position* PositionType::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* released = _impl_.value_; + _impl_.value_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* PositionType::unsafe_arena_release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PositionType.value) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* temp = _impl_.value_; + _impl_.value_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* PositionType::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.value_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.value_; +} +inline ::anduril::entitymanager::v1::Position* PositionType::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PositionType.value) + return _msg; +} +inline void PositionType::set_allocated_value(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.value_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PositionType.value) +} + +// ------------------------------------------------------------------- + +// BoundedShapeType + +// .anduril.entitymanager.v1.GeoPolygon polygon_value = 1 [json_name = "polygonValue"]; +inline bool BoundedShapeType::has_polygon_value() const { + return value_case() == kPolygonValue; +} +inline bool BoundedShapeType::_internal_has_polygon_value() const { + return value_case() == kPolygonValue; +} +inline void BoundedShapeType::set_has_polygon_value() { + _impl_._oneof_case_[0] = kPolygonValue; +} +inline ::anduril::entitymanager::v1::GeoPolygon* BoundedShapeType::release_polygon_value() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.BoundedShapeType.polygon_value) + if (value_case() == kPolygonValue) { + clear_has_value(); + auto* temp = _impl_.value_.polygon_value_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.polygon_value_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GeoPolygon& BoundedShapeType::_internal_polygon_value() const { + return value_case() == kPolygonValue ? *_impl_.value_.polygon_value_ : reinterpret_cast<::anduril::entitymanager::v1::GeoPolygon&>(::anduril::entitymanager::v1::_GeoPolygon_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoPolygon& BoundedShapeType::polygon_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.BoundedShapeType.polygon_value) + return _internal_polygon_value(); +} +inline ::anduril::entitymanager::v1::GeoPolygon* BoundedShapeType::unsafe_arena_release_polygon_value() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.BoundedShapeType.polygon_value) + if (value_case() == kPolygonValue) { + clear_has_value(); + auto* temp = _impl_.value_.polygon_value_; + _impl_.value_.polygon_value_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BoundedShapeType::unsafe_arena_set_allocated_polygon_value(::anduril::entitymanager::v1::GeoPolygon* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_polygon_value(); + _impl_.value_.polygon_value_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.BoundedShapeType.polygon_value) +} +inline ::anduril::entitymanager::v1::GeoPolygon* BoundedShapeType::_internal_mutable_polygon_value() { + if (value_case() != kPolygonValue) { + clear_value(); + set_has_polygon_value(); + _impl_.value_.polygon_value_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoPolygon>(GetArena()); + } + return _impl_.value_.polygon_value_; +} +inline ::anduril::entitymanager::v1::GeoPolygon* BoundedShapeType::mutable_polygon_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GeoPolygon* _msg = _internal_mutable_polygon_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.BoundedShapeType.polygon_value) + return _msg; +} + +inline bool BoundedShapeType::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void BoundedShapeType::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline BoundedShapeType::ValueCase BoundedShapeType::value_case() const { + return BoundedShapeType::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// HeadingType + +// int32 value = 1 [json_name = "value"]; +inline void HeadingType::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = 0; +} +inline ::int32_t HeadingType::value() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HeadingType.value) + return _internal_value(); +} +inline void HeadingType::set_value(::int32_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.HeadingType.value) +} +inline ::int32_t HeadingType::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; +} +inline void HeadingType::_internal_set_value(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; +} + +// ------------------------------------------------------------------- + +// RangeType + +// .anduril.entitymanager.v1.NumericType start = 1 [json_name = "start"]; +inline bool RangeType::has_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); + return value; +} +inline void RangeType::clear_start() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.start_ != nullptr) _impl_.start_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::NumericType& RangeType::_internal_start() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::NumericType* p = _impl_.start_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_NumericType_default_instance_); +} +inline const ::anduril::entitymanager::v1::NumericType& RangeType::start() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RangeType.start) + return _internal_start(); +} +inline void RangeType::unsafe_arena_set_allocated_start(::anduril::entitymanager::v1::NumericType* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_); + } + _impl_.start_ = reinterpret_cast<::anduril::entitymanager::v1::NumericType*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RangeType.start) +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::release_start() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::NumericType* released = _impl_.start_; + _impl_.start_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::unsafe_arena_release_start() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RangeType.start) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::NumericType* temp = _impl_.start_; + _impl_.start_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::_internal_mutable_start() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.start_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::NumericType>(GetArena()); + _impl_.start_ = reinterpret_cast<::anduril::entitymanager::v1::NumericType*>(p); + } + return _impl_.start_; +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::mutable_start() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::NumericType* _msg = _internal_mutable_start(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RangeType.start) + return _msg; +} +inline void RangeType::set_allocated_start(::anduril::entitymanager::v1::NumericType* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.start_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.start_ = reinterpret_cast<::anduril::entitymanager::v1::NumericType*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RangeType.start) +} + +// .anduril.entitymanager.v1.NumericType end = 2 [json_name = "end"]; +inline bool RangeType::has_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.end_ != nullptr); + return value; +} +inline void RangeType::clear_end() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.end_ != nullptr) _impl_.end_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::NumericType& RangeType::_internal_end() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::NumericType* p = _impl_.end_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_NumericType_default_instance_); +} +inline const ::anduril::entitymanager::v1::NumericType& RangeType::end() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RangeType.end) + return _internal_end(); +} +inline void RangeType::unsafe_arena_set_allocated_end(::anduril::entitymanager::v1::NumericType* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.end_); + } + _impl_.end_ = reinterpret_cast<::anduril::entitymanager::v1::NumericType*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RangeType.end) +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::release_end() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::NumericType* released = _impl_.end_; + _impl_.end_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::unsafe_arena_release_end() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RangeType.end) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::NumericType* temp = _impl_.end_; + _impl_.end_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::_internal_mutable_end() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.end_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::NumericType>(GetArena()); + _impl_.end_ = reinterpret_cast<::anduril::entitymanager::v1::NumericType*>(p); + } + return _impl_.end_; +} +inline ::anduril::entitymanager::v1::NumericType* RangeType::mutable_end() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::NumericType* _msg = _internal_mutable_end(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RangeType.end) + return _msg; +} +inline void RangeType::set_allocated_end(::anduril::entitymanager::v1::NumericType* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.end_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.end_ = reinterpret_cast<::anduril::entitymanager::v1::NumericType*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RangeType.end) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::Comparator> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::Comparator>() { + return ::anduril::entitymanager::v1::Comparator_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::ListComparator> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::ListComparator>() { + return ::anduril::entitymanager::v1::ListComparator_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.cc new file mode 100644 index 0000000..0c4d7a0 --- /dev/null +++ b/src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/filter_dynamic.pub.proto + +#include "anduril/entitymanager/v1/filter_dynamic.pub.pb.h" +#include "anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.h b/src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.h new file mode 100644 index 0000000..dbcbae0 --- /dev/null +++ b/src/anduril/entitymanager/v1/filter_dynamic.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/filter_dynamic.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/filter_dynamic.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/filter_dynamic.pub.pb.cc b/src/anduril/entitymanager/v1/filter_dynamic.pub.pb.cc new file mode 100644 index 0000000..78248fb --- /dev/null +++ b/src/anduril/entitymanager/v1/filter_dynamic.pub.pb.cc @@ -0,0 +1,963 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/filter_dynamic.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/filter_dynamic.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + template +PROTOBUF_CONSTEXPR WithinComparison::WithinComparison(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct WithinComparisonDefaultTypeInternal { + PROTOBUF_CONSTEXPR WithinComparisonDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WithinComparisonDefaultTypeInternal() {} + union { + WithinComparison _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WithinComparisonDefaultTypeInternal _WithinComparison_default_instance_; + +inline constexpr IntersectionComparator::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : comparison_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR IntersectionComparator::IntersectionComparator(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct IntersectionComparatorDefaultTypeInternal { + PROTOBUF_CONSTEXPR IntersectionComparatorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~IntersectionComparatorDefaultTypeInternal() {} + union { + IntersectionComparator _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntersectionComparatorDefaultTypeInternal _IntersectionComparator_default_instance_; + +inline constexpr DynamicStatement::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + filter_{nullptr}, + selector_{nullptr}, + comparator_{nullptr} {} + +template +PROTOBUF_CONSTEXPR DynamicStatement::DynamicStatement(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct DynamicStatementDefaultTypeInternal { + PROTOBUF_CONSTEXPR DynamicStatementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DynamicStatementDefaultTypeInternal() {} + union { + DynamicStatement _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DynamicStatementDefaultTypeInternal _DynamicStatement_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DynamicStatement, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DynamicStatement, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DynamicStatement, _impl_.filter_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DynamicStatement, _impl_.selector_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::DynamicStatement, _impl_.comparator_), + 0, + 1, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::IntersectionComparator, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::IntersectionComparator, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::IntersectionComparator, _impl_.comparison_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::WithinComparison, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 11, -1, sizeof(::anduril::entitymanager::v1::DynamicStatement)}, + {14, -1, -1, sizeof(::anduril::entitymanager::v1::IntersectionComparator)}, + {24, -1, -1, sizeof(::anduril::entitymanager::v1::WithinComparison)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_DynamicStatement_default_instance_._instance, + &::anduril::entitymanager::v1::_IntersectionComparator_default_instance_._instance, + &::anduril::entitymanager::v1::_WithinComparison_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n1anduril/entitymanager/v1/filter_dynami" + "c.pub.proto\022\030anduril.entitymanager.v1\032)a" + "nduril/entitymanager/v1/filter.pub.proto" + "\"\342\001\n\020DynamicStatement\022;\n\006filter\030\001 \001(\0132#." + "anduril.entitymanager.v1.StatementR\006filt" + "er\022\?\n\010selector\030\002 \001(\0132#.anduril.entityman" + "ager.v1.StatementR\010selector\022P\n\ncomparato" + "r\030\003 \001(\01320.anduril.entitymanager.v1.Inter" + "sectionComparatorR\ncomparator\"\201\001\n\026Inters" + "ectionComparator\022Y\n\021within_comparison\030\001 " + "\001(\0132*.anduril.entitymanager.v1.WithinCom" + "parisonH\000R\020withinComparisonB\014\n\ncompariso" + "n\"\022\n\020WithinComparisonB\206\002\n\034com.anduril.en" + "titymanager.v1B\025FilterDynamicPubProtoP\001Z" + "Mghe.anduril.dev/anduril/andurilapis-go/" + "anduril/entitymanager/v1;entitymanager\242\002" + "\003AEX\252\002\030Anduril.Entitymanager.V1\312\002\030Anduri" + "l\\Entitymanager\\V1\342\002$Anduril\\Entitymanag" + "er\\V1\\GPBMetadata\352\002\032Anduril::Entitymanag" + "er::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_deps[1] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto = { + false, + false, + 774, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto, + "anduril/entitymanager/v1/filter_dynamic.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_deps, + 1, + 3, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class DynamicStatement::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_._has_bits_); +}; + +void DynamicStatement::clear_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.filter_ != nullptr) _impl_.filter_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void DynamicStatement::clear_selector() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.selector_ != nullptr) _impl_.selector_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +DynamicStatement::DynamicStatement(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.DynamicStatement) +} +inline PROTOBUF_NDEBUG_INLINE DynamicStatement::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::DynamicStatement& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +DynamicStatement::DynamicStatement( + ::google::protobuf::Arena* arena, + const DynamicStatement& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + DynamicStatement* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.filter_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>( + arena, *from._impl_.filter_) + : nullptr; + _impl_.selector_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>( + arena, *from._impl_.selector_) + : nullptr; + _impl_.comparator_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::IntersectionComparator>( + arena, *from._impl_.comparator_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.DynamicStatement) +} +inline PROTOBUF_NDEBUG_INLINE DynamicStatement::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void DynamicStatement::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, filter_), + 0, + offsetof(Impl_, comparator_) - + offsetof(Impl_, filter_) + + sizeof(Impl_::comparator_)); +} +DynamicStatement::~DynamicStatement() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.DynamicStatement) + SharedDtor(*this); +} +inline void DynamicStatement::SharedDtor(MessageLite& self) { + DynamicStatement& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.filter_; + delete this_._impl_.selector_; + delete this_._impl_.comparator_; + this_._impl_.~Impl_(); +} + +inline void* DynamicStatement::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DynamicStatement(arena); +} +constexpr auto DynamicStatement::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DynamicStatement), + alignof(DynamicStatement)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull DynamicStatement::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_DynamicStatement_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &DynamicStatement::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &DynamicStatement::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &DynamicStatement::ByteSizeLong, + &DynamicStatement::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_._cached_size_), + false, + }, + &DynamicStatement::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DynamicStatement::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> DynamicStatement::_table_ = { + { + PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::DynamicStatement>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Statement filter = 1 [json_name = "filter"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.filter_)}}, + // .anduril.entitymanager.v1.Statement selector = 2 [json_name = "selector"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.selector_)}}, + // .anduril.entitymanager.v1.IntersectionComparator comparator = 3 [json_name = "comparator"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.comparator_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Statement filter = 1 [json_name = "filter"]; + {PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.filter_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Statement selector = 2 [json_name = "selector"]; + {PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.selector_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.IntersectionComparator comparator = 3 [json_name = "comparator"]; + {PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.comparator_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Statement>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::IntersectionComparator>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void DynamicStatement::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.DynamicStatement) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.filter_ != nullptr); + _impl_.filter_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.selector_ != nullptr); + _impl_.selector_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.comparator_ != nullptr); + _impl_.comparator_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* DynamicStatement::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const DynamicStatement& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* DynamicStatement::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const DynamicStatement& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.DynamicStatement) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Statement filter = 1 [json_name = "filter"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.filter_, this_._impl_.filter_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Statement selector = 2 [json_name = "selector"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.selector_, this_._impl_.selector_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.IntersectionComparator comparator = 3 [json_name = "comparator"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.comparator_, this_._impl_.comparator_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.DynamicStatement) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t DynamicStatement::ByteSizeLong(const MessageLite& base) { + const DynamicStatement& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t DynamicStatement::ByteSizeLong() const { + const DynamicStatement& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.DynamicStatement) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .anduril.entitymanager.v1.Statement filter = 1 [json_name = "filter"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.filter_); + } + // .anduril.entitymanager.v1.Statement selector = 2 [json_name = "selector"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.selector_); + } + // .anduril.entitymanager.v1.IntersectionComparator comparator = 3 [json_name = "comparator"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.comparator_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void DynamicStatement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.DynamicStatement) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.filter_ != nullptr); + if (_this->_impl_.filter_ == nullptr) { + _this->_impl_.filter_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>(arena, *from._impl_.filter_); + } else { + _this->_impl_.filter_->MergeFrom(*from._impl_.filter_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.selector_ != nullptr); + if (_this->_impl_.selector_ == nullptr) { + _this->_impl_.selector_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Statement>(arena, *from._impl_.selector_); + } else { + _this->_impl_.selector_->MergeFrom(*from._impl_.selector_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.comparator_ != nullptr); + if (_this->_impl_.comparator_ == nullptr) { + _this->_impl_.comparator_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::IntersectionComparator>(arena, *from._impl_.comparator_); + } else { + _this->_impl_.comparator_->MergeFrom(*from._impl_.comparator_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void DynamicStatement::CopyFrom(const DynamicStatement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.DynamicStatement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void DynamicStatement::InternalSwap(DynamicStatement* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.comparator_) + + sizeof(DynamicStatement::_impl_.comparator_) + - PROTOBUF_FIELD_OFFSET(DynamicStatement, _impl_.filter_)>( + reinterpret_cast(&_impl_.filter_), + reinterpret_cast(&other->_impl_.filter_)); +} + +::google::protobuf::Metadata DynamicStatement::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class IntersectionComparator::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::IntersectionComparator, _impl_._oneof_case_); +}; + +void IntersectionComparator::set_allocated_within_comparison(::anduril::entitymanager::v1::WithinComparison* within_comparison) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_comparison(); + if (within_comparison) { + ::google::protobuf::Arena* submessage_arena = within_comparison->GetArena(); + if (message_arena != submessage_arena) { + within_comparison = ::google::protobuf::internal::GetOwnedMessage(message_arena, within_comparison, submessage_arena); + } + set_has_within_comparison(); + _impl_.comparison_.within_comparison_ = within_comparison; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.IntersectionComparator.within_comparison) +} +IntersectionComparator::IntersectionComparator(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.IntersectionComparator) +} +inline PROTOBUF_NDEBUG_INLINE IntersectionComparator::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::IntersectionComparator& from_msg) + : comparison_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +IntersectionComparator::IntersectionComparator( + ::google::protobuf::Arena* arena, + const IntersectionComparator& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + IntersectionComparator* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (comparison_case()) { + case COMPARISON_NOT_SET: + break; + case kWithinComparison: + _impl_.comparison_.within_comparison_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::WithinComparison>(arena, *from._impl_.comparison_.within_comparison_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.IntersectionComparator) +} +inline PROTOBUF_NDEBUG_INLINE IntersectionComparator::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : comparison_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void IntersectionComparator::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +IntersectionComparator::~IntersectionComparator() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.IntersectionComparator) + SharedDtor(*this); +} +inline void IntersectionComparator::SharedDtor(MessageLite& self) { + IntersectionComparator& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_comparison()) { + this_.clear_comparison(); + } + this_._impl_.~Impl_(); +} + +void IntersectionComparator::clear_comparison() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.IntersectionComparator) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (comparison_case()) { + case kWithinComparison: { + if (GetArena() == nullptr) { + delete _impl_.comparison_.within_comparison_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.comparison_.within_comparison_); + } + break; + } + case COMPARISON_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = COMPARISON_NOT_SET; +} + + +inline void* IntersectionComparator::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) IntersectionComparator(arena); +} +constexpr auto IntersectionComparator::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IntersectionComparator), + alignof(IntersectionComparator)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull IntersectionComparator::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_IntersectionComparator_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &IntersectionComparator::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &IntersectionComparator::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &IntersectionComparator::ByteSizeLong, + &IntersectionComparator::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(IntersectionComparator, _impl_._cached_size_), + false, + }, + &IntersectionComparator::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* IntersectionComparator::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> IntersectionComparator::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::IntersectionComparator>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.WithinComparison within_comparison = 1 [json_name = "withinComparison"]; + {PROTOBUF_FIELD_OFFSET(IntersectionComparator, _impl_.comparison_.within_comparison_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::WithinComparison>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void IntersectionComparator::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.IntersectionComparator) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_comparison(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* IntersectionComparator::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const IntersectionComparator& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* IntersectionComparator::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const IntersectionComparator& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.IntersectionComparator) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.WithinComparison within_comparison = 1 [json_name = "withinComparison"]; + if (this_.comparison_case() == kWithinComparison) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.comparison_.within_comparison_, this_._impl_.comparison_.within_comparison_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.IntersectionComparator) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t IntersectionComparator::ByteSizeLong(const MessageLite& base) { + const IntersectionComparator& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t IntersectionComparator::ByteSizeLong() const { + const IntersectionComparator& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.IntersectionComparator) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.comparison_case()) { + // .anduril.entitymanager.v1.WithinComparison within_comparison = 1 [json_name = "withinComparison"]; + case kWithinComparison: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.comparison_.within_comparison_); + break; + } + case COMPARISON_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void IntersectionComparator::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.IntersectionComparator) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_comparison(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kWithinComparison: { + if (oneof_needs_init) { + _this->_impl_.comparison_.within_comparison_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::WithinComparison>(arena, *from._impl_.comparison_.within_comparison_); + } else { + _this->_impl_.comparison_.within_comparison_->MergeFrom(from._internal_within_comparison()); + } + break; + } + case COMPARISON_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void IntersectionComparator::CopyFrom(const IntersectionComparator& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.IntersectionComparator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void IntersectionComparator::InternalSwap(IntersectionComparator* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.comparison_, other->_impl_.comparison_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata IntersectionComparator::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class WithinComparison::_Internal { + public: +}; + +WithinComparison::WithinComparison(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.WithinComparison) +} +WithinComparison::WithinComparison( + ::google::protobuf::Arena* arena, + const WithinComparison& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + WithinComparison* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.WithinComparison) +} + +inline void* WithinComparison::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) WithinComparison(arena); +} +constexpr auto WithinComparison::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(WithinComparison), + alignof(WithinComparison)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull WithinComparison::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_WithinComparison_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &WithinComparison::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &WithinComparison::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &WithinComparison::ByteSizeLong, + &WithinComparison::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(WithinComparison, _impl_._cached_size_), + false, + }, + &WithinComparison::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* WithinComparison::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> WithinComparison::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::WithinComparison>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata WithinComparison::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/filter_dynamic.pub.pb.h b/src/anduril/entitymanager/v1/filter_dynamic.pub.pb.h new file mode 100644 index 0000000..4ff34ea --- /dev/null +++ b/src/anduril/entitymanager/v1/filter_dynamic.pub.pb.h @@ -0,0 +1,1079 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/filter_dynamic.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/filter.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class DynamicStatement; +struct DynamicStatementDefaultTypeInternal; +extern DynamicStatementDefaultTypeInternal _DynamicStatement_default_instance_; +class IntersectionComparator; +struct IntersectionComparatorDefaultTypeInternal; +extern IntersectionComparatorDefaultTypeInternal _IntersectionComparator_default_instance_; +class WithinComparison; +struct WithinComparisonDefaultTypeInternal; +extern WithinComparisonDefaultTypeInternal _WithinComparison_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class WithinComparison final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.WithinComparison) */ { + public: + inline WithinComparison() : WithinComparison(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(WithinComparison* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(WithinComparison)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR WithinComparison( + ::google::protobuf::internal::ConstantInitialized); + + inline WithinComparison(const WithinComparison& from) : WithinComparison(nullptr, from) {} + inline WithinComparison(WithinComparison&& from) noexcept + : WithinComparison(nullptr, std::move(from)) {} + inline WithinComparison& operator=(const WithinComparison& from) { + CopyFrom(from); + return *this; + } + inline WithinComparison& operator=(WithinComparison&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WithinComparison& default_instance() { + return *internal_default_instance(); + } + static inline const WithinComparison* internal_default_instance() { + return reinterpret_cast( + &_WithinComparison_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(WithinComparison& a, WithinComparison& b) { a.Swap(&b); } + inline void Swap(WithinComparison* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WithinComparison* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WithinComparison* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const WithinComparison& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const WithinComparison& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.WithinComparison"; } + + protected: + explicit WithinComparison(::google::protobuf::Arena* arena); + WithinComparison(::google::protobuf::Arena* arena, const WithinComparison& from); + WithinComparison(::google::protobuf::Arena* arena, WithinComparison&& from) noexcept + : WithinComparison(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.WithinComparison) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const WithinComparison& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class IntersectionComparator final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.IntersectionComparator) */ { + public: + inline IntersectionComparator() : IntersectionComparator(nullptr) {} + ~IntersectionComparator() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(IntersectionComparator* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(IntersectionComparator)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR IntersectionComparator( + ::google::protobuf::internal::ConstantInitialized); + + inline IntersectionComparator(const IntersectionComparator& from) : IntersectionComparator(nullptr, from) {} + inline IntersectionComparator(IntersectionComparator&& from) noexcept + : IntersectionComparator(nullptr, std::move(from)) {} + inline IntersectionComparator& operator=(const IntersectionComparator& from) { + CopyFrom(from); + return *this; + } + inline IntersectionComparator& operator=(IntersectionComparator&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const IntersectionComparator& default_instance() { + return *internal_default_instance(); + } + enum ComparisonCase { + kWithinComparison = 1, + COMPARISON_NOT_SET = 0, + }; + static inline const IntersectionComparator* internal_default_instance() { + return reinterpret_cast( + &_IntersectionComparator_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(IntersectionComparator& a, IntersectionComparator& b) { a.Swap(&b); } + inline void Swap(IntersectionComparator* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(IntersectionComparator* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + IntersectionComparator* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const IntersectionComparator& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const IntersectionComparator& from) { IntersectionComparator::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(IntersectionComparator* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.IntersectionComparator"; } + + protected: + explicit IntersectionComparator(::google::protobuf::Arena* arena); + IntersectionComparator(::google::protobuf::Arena* arena, const IntersectionComparator& from); + IntersectionComparator(::google::protobuf::Arena* arena, IntersectionComparator&& from) noexcept + : IntersectionComparator(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kWithinComparisonFieldNumber = 1, + }; + // .anduril.entitymanager.v1.WithinComparison within_comparison = 1 [json_name = "withinComparison"]; + bool has_within_comparison() const; + private: + bool _internal_has_within_comparison() const; + + public: + void clear_within_comparison() ; + const ::anduril::entitymanager::v1::WithinComparison& within_comparison() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::WithinComparison* release_within_comparison(); + ::anduril::entitymanager::v1::WithinComparison* mutable_within_comparison(); + void set_allocated_within_comparison(::anduril::entitymanager::v1::WithinComparison* value); + void unsafe_arena_set_allocated_within_comparison(::anduril::entitymanager::v1::WithinComparison* value); + ::anduril::entitymanager::v1::WithinComparison* unsafe_arena_release_within_comparison(); + + private: + const ::anduril::entitymanager::v1::WithinComparison& _internal_within_comparison() const; + ::anduril::entitymanager::v1::WithinComparison* _internal_mutable_within_comparison(); + + public: + void clear_comparison(); + ComparisonCase comparison_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.IntersectionComparator) + private: + class _Internal; + void set_has_within_comparison(); + inline bool has_comparison() const; + inline void clear_has_comparison(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const IntersectionComparator& from_msg); + union ComparisonUnion { + constexpr ComparisonUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::WithinComparison* within_comparison_; + } comparison_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class DynamicStatement final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.DynamicStatement) */ { + public: + inline DynamicStatement() : DynamicStatement(nullptr) {} + ~DynamicStatement() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(DynamicStatement* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DynamicStatement)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR DynamicStatement( + ::google::protobuf::internal::ConstantInitialized); + + inline DynamicStatement(const DynamicStatement& from) : DynamicStatement(nullptr, from) {} + inline DynamicStatement(DynamicStatement&& from) noexcept + : DynamicStatement(nullptr, std::move(from)) {} + inline DynamicStatement& operator=(const DynamicStatement& from) { + CopyFrom(from); + return *this; + } + inline DynamicStatement& operator=(DynamicStatement&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DynamicStatement& default_instance() { + return *internal_default_instance(); + } + static inline const DynamicStatement* internal_default_instance() { + return reinterpret_cast( + &_DynamicStatement_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(DynamicStatement& a, DynamicStatement& b) { a.Swap(&b); } + inline void Swap(DynamicStatement* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DynamicStatement* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DynamicStatement* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const DynamicStatement& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const DynamicStatement& from) { DynamicStatement::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(DynamicStatement* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.DynamicStatement"; } + + protected: + explicit DynamicStatement(::google::protobuf::Arena* arena); + DynamicStatement(::google::protobuf::Arena* arena, const DynamicStatement& from); + DynamicStatement(::google::protobuf::Arena* arena, DynamicStatement&& from) noexcept + : DynamicStatement(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFilterFieldNumber = 1, + kSelectorFieldNumber = 2, + kComparatorFieldNumber = 3, + }; + // .anduril.entitymanager.v1.Statement filter = 1 [json_name = "filter"]; + bool has_filter() const; + void clear_filter() ; + const ::anduril::entitymanager::v1::Statement& filter() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Statement* release_filter(); + ::anduril::entitymanager::v1::Statement* mutable_filter(); + void set_allocated_filter(::anduril::entitymanager::v1::Statement* value); + void unsafe_arena_set_allocated_filter(::anduril::entitymanager::v1::Statement* value); + ::anduril::entitymanager::v1::Statement* unsafe_arena_release_filter(); + + private: + const ::anduril::entitymanager::v1::Statement& _internal_filter() const; + ::anduril::entitymanager::v1::Statement* _internal_mutable_filter(); + + public: + // .anduril.entitymanager.v1.Statement selector = 2 [json_name = "selector"]; + bool has_selector() const; + void clear_selector() ; + const ::anduril::entitymanager::v1::Statement& selector() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Statement* release_selector(); + ::anduril::entitymanager::v1::Statement* mutable_selector(); + void set_allocated_selector(::anduril::entitymanager::v1::Statement* value); + void unsafe_arena_set_allocated_selector(::anduril::entitymanager::v1::Statement* value); + ::anduril::entitymanager::v1::Statement* unsafe_arena_release_selector(); + + private: + const ::anduril::entitymanager::v1::Statement& _internal_selector() const; + ::anduril::entitymanager::v1::Statement* _internal_mutable_selector(); + + public: + // .anduril.entitymanager.v1.IntersectionComparator comparator = 3 [json_name = "comparator"]; + bool has_comparator() const; + void clear_comparator() ; + const ::anduril::entitymanager::v1::IntersectionComparator& comparator() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::IntersectionComparator* release_comparator(); + ::anduril::entitymanager::v1::IntersectionComparator* mutable_comparator(); + void set_allocated_comparator(::anduril::entitymanager::v1::IntersectionComparator* value); + void unsafe_arena_set_allocated_comparator(::anduril::entitymanager::v1::IntersectionComparator* value); + ::anduril::entitymanager::v1::IntersectionComparator* unsafe_arena_release_comparator(); + + private: + const ::anduril::entitymanager::v1::IntersectionComparator& _internal_comparator() const; + ::anduril::entitymanager::v1::IntersectionComparator* _internal_mutable_comparator(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.DynamicStatement) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DynamicStatement& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Statement* filter_; + ::anduril::entitymanager::v1::Statement* selector_; + ::anduril::entitymanager::v1::IntersectionComparator* comparator_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// DynamicStatement + +// .anduril.entitymanager.v1.Statement filter = 1 [json_name = "filter"]; +inline bool DynamicStatement::has_filter() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.filter_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Statement& DynamicStatement::_internal_filter() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Statement* p = _impl_.filter_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Statement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Statement& DynamicStatement::filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.DynamicStatement.filter) + return _internal_filter(); +} +inline void DynamicStatement::unsafe_arena_set_allocated_filter(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.filter_); + } + _impl_.filter_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.DynamicStatement.filter) +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::release_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Statement* released = _impl_.filter_; + _impl_.filter_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::unsafe_arena_release_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.DynamicStatement.filter) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Statement* temp = _impl_.filter_; + _impl_.filter_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::_internal_mutable_filter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.filter_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Statement>(GetArena()); + _impl_.filter_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(p); + } + return _impl_.filter_; +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::mutable_filter() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Statement* _msg = _internal_mutable_filter(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.DynamicStatement.filter) + return _msg; +} +inline void DynamicStatement::set_allocated_filter(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.filter_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.filter_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.DynamicStatement.filter) +} + +// .anduril.entitymanager.v1.Statement selector = 2 [json_name = "selector"]; +inline bool DynamicStatement::has_selector() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.selector_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Statement& DynamicStatement::_internal_selector() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Statement* p = _impl_.selector_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Statement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Statement& DynamicStatement::selector() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.DynamicStatement.selector) + return _internal_selector(); +} +inline void DynamicStatement::unsafe_arena_set_allocated_selector(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.selector_); + } + _impl_.selector_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.DynamicStatement.selector) +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::release_selector() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Statement* released = _impl_.selector_; + _impl_.selector_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::unsafe_arena_release_selector() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.DynamicStatement.selector) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Statement* temp = _impl_.selector_; + _impl_.selector_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::_internal_mutable_selector() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.selector_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Statement>(GetArena()); + _impl_.selector_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(p); + } + return _impl_.selector_; +} +inline ::anduril::entitymanager::v1::Statement* DynamicStatement::mutable_selector() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Statement* _msg = _internal_mutable_selector(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.DynamicStatement.selector) + return _msg; +} +inline void DynamicStatement::set_allocated_selector(::anduril::entitymanager::v1::Statement* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.selector_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.selector_ = reinterpret_cast<::anduril::entitymanager::v1::Statement*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.DynamicStatement.selector) +} + +// .anduril.entitymanager.v1.IntersectionComparator comparator = 3 [json_name = "comparator"]; +inline bool DynamicStatement::has_comparator() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.comparator_ != nullptr); + return value; +} +inline void DynamicStatement::clear_comparator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.comparator_ != nullptr) _impl_.comparator_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::anduril::entitymanager::v1::IntersectionComparator& DynamicStatement::_internal_comparator() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::IntersectionComparator* p = _impl_.comparator_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_IntersectionComparator_default_instance_); +} +inline const ::anduril::entitymanager::v1::IntersectionComparator& DynamicStatement::comparator() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.DynamicStatement.comparator) + return _internal_comparator(); +} +inline void DynamicStatement::unsafe_arena_set_allocated_comparator(::anduril::entitymanager::v1::IntersectionComparator* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.comparator_); + } + _impl_.comparator_ = reinterpret_cast<::anduril::entitymanager::v1::IntersectionComparator*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.DynamicStatement.comparator) +} +inline ::anduril::entitymanager::v1::IntersectionComparator* DynamicStatement::release_comparator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::IntersectionComparator* released = _impl_.comparator_; + _impl_.comparator_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::IntersectionComparator* DynamicStatement::unsafe_arena_release_comparator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.DynamicStatement.comparator) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::IntersectionComparator* temp = _impl_.comparator_; + _impl_.comparator_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::IntersectionComparator* DynamicStatement::_internal_mutable_comparator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.comparator_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::IntersectionComparator>(GetArena()); + _impl_.comparator_ = reinterpret_cast<::anduril::entitymanager::v1::IntersectionComparator*>(p); + } + return _impl_.comparator_; +} +inline ::anduril::entitymanager::v1::IntersectionComparator* DynamicStatement::mutable_comparator() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::entitymanager::v1::IntersectionComparator* _msg = _internal_mutable_comparator(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.DynamicStatement.comparator) + return _msg; +} +inline void DynamicStatement::set_allocated_comparator(::anduril::entitymanager::v1::IntersectionComparator* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.comparator_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.comparator_ = reinterpret_cast<::anduril::entitymanager::v1::IntersectionComparator*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.DynamicStatement.comparator) +} + +// ------------------------------------------------------------------- + +// IntersectionComparator + +// .anduril.entitymanager.v1.WithinComparison within_comparison = 1 [json_name = "withinComparison"]; +inline bool IntersectionComparator::has_within_comparison() const { + return comparison_case() == kWithinComparison; +} +inline bool IntersectionComparator::_internal_has_within_comparison() const { + return comparison_case() == kWithinComparison; +} +inline void IntersectionComparator::set_has_within_comparison() { + _impl_._oneof_case_[0] = kWithinComparison; +} +inline void IntersectionComparator::clear_within_comparison() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (comparison_case() == kWithinComparison) { + if (GetArena() == nullptr) { + delete _impl_.comparison_.within_comparison_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.comparison_.within_comparison_); + } + clear_has_comparison(); + } +} +inline ::anduril::entitymanager::v1::WithinComparison* IntersectionComparator::release_within_comparison() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.IntersectionComparator.within_comparison) + if (comparison_case() == kWithinComparison) { + clear_has_comparison(); + auto* temp = _impl_.comparison_.within_comparison_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.comparison_.within_comparison_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::WithinComparison& IntersectionComparator::_internal_within_comparison() const { + return comparison_case() == kWithinComparison ? *_impl_.comparison_.within_comparison_ : reinterpret_cast<::anduril::entitymanager::v1::WithinComparison&>(::anduril::entitymanager::v1::_WithinComparison_default_instance_); +} +inline const ::anduril::entitymanager::v1::WithinComparison& IntersectionComparator::within_comparison() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.IntersectionComparator.within_comparison) + return _internal_within_comparison(); +} +inline ::anduril::entitymanager::v1::WithinComparison* IntersectionComparator::unsafe_arena_release_within_comparison() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.IntersectionComparator.within_comparison) + if (comparison_case() == kWithinComparison) { + clear_has_comparison(); + auto* temp = _impl_.comparison_.within_comparison_; + _impl_.comparison_.within_comparison_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void IntersectionComparator::unsafe_arena_set_allocated_within_comparison(::anduril::entitymanager::v1::WithinComparison* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_comparison(); + if (value) { + set_has_within_comparison(); + _impl_.comparison_.within_comparison_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.IntersectionComparator.within_comparison) +} +inline ::anduril::entitymanager::v1::WithinComparison* IntersectionComparator::_internal_mutable_within_comparison() { + if (comparison_case() != kWithinComparison) { + clear_comparison(); + set_has_within_comparison(); + _impl_.comparison_.within_comparison_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::WithinComparison>(GetArena()); + } + return _impl_.comparison_.within_comparison_; +} +inline ::anduril::entitymanager::v1::WithinComparison* IntersectionComparator::mutable_within_comparison() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::WithinComparison* _msg = _internal_mutable_within_comparison(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.IntersectionComparator.within_comparison) + return _msg; +} + +inline bool IntersectionComparator::has_comparison() const { + return comparison_case() != COMPARISON_NOT_SET; +} +inline void IntersectionComparator::clear_has_comparison() { + _impl_._oneof_case_[0] = COMPARISON_NOT_SET; +} +inline IntersectionComparator::ComparisonCase IntersectionComparator::comparison_case() const { + return IntersectionComparator::ComparisonCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// WithinComparison + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2ffilter_5fdynamic_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.cc new file mode 100644 index 0000000..9f1268a --- /dev/null +++ b/src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/geoentity.pub.proto + +#include "anduril/entitymanager/v1/geoentity.pub.pb.h" +#include "anduril/entitymanager/v1/geoentity.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.h b/src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.h new file mode 100644 index 0000000..1e46d8c --- /dev/null +++ b/src/anduril/entitymanager/v1/geoentity.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/geoentity.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/geoentity.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/geoentity.pub.pb.cc b/src/anduril/entitymanager/v1/geoentity.pub.pb.cc new file mode 100644 index 0000000..2cf398a --- /dev/null +++ b/src/anduril/entitymanager/v1/geoentity.pub.pb.cc @@ -0,0 +1,3273 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/geoentity.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/geoentity.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr GeoDetails::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : type_{static_cast< ::anduril::entitymanager::v1::GeoType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR GeoDetails::GeoDetails(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoDetailsDefaultTypeInternal() {} + union { + GeoDetails _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoDetailsDefaultTypeInternal _GeoDetails_default_instance_; + +inline constexpr GeoEllipsoid::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + forward_axis_m_{nullptr}, + side_axis_m_{nullptr}, + up_axis_m_{nullptr} {} + +template +PROTOBUF_CONSTEXPR GeoEllipsoid::GeoEllipsoid(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoEllipsoidDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoEllipsoidDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoEllipsoidDefaultTypeInternal() {} + union { + GeoEllipsoid _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoEllipsoidDefaultTypeInternal _GeoEllipsoid_default_instance_; + +inline constexpr GeoEllipse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + semi_major_axis_m_{nullptr}, + semi_minor_axis_m_{nullptr}, + orientation_d_{nullptr}, + height_m_{nullptr} {} + +template +PROTOBUF_CONSTEXPR GeoEllipse::GeoEllipse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoEllipseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoEllipseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoEllipseDefaultTypeInternal() {} + union { + GeoEllipse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoEllipseDefaultTypeInternal _GeoEllipse_default_instance_; + +inline constexpr GeoPolygonPosition::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + position_{nullptr}, + height_m_{nullptr} {} + +template +PROTOBUF_CONSTEXPR GeoPolygonPosition::GeoPolygonPosition(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoPolygonPositionDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoPolygonPositionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoPolygonPositionDefaultTypeInternal() {} + union { + GeoPolygonPosition _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoPolygonPositionDefaultTypeInternal _GeoPolygonPosition_default_instance_; + +inline constexpr GeoPoint::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + position_{nullptr} {} + +template +PROTOBUF_CONSTEXPR GeoPoint::GeoPoint(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoPointDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoPointDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoPointDefaultTypeInternal() {} + union { + GeoPoint _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoPointDefaultTypeInternal _GeoPoint_default_instance_; + +inline constexpr GeoLine::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : positions_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR GeoLine::GeoLine(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoLineDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoLineDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoLineDefaultTypeInternal() {} + union { + GeoLine _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoLineDefaultTypeInternal _GeoLine_default_instance_; + +inline constexpr LinearRing::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : positions_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR LinearRing::LinearRing(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct LinearRingDefaultTypeInternal { + PROTOBUF_CONSTEXPR LinearRingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LinearRingDefaultTypeInternal() {} + union { + LinearRing _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearRingDefaultTypeInternal _LinearRing_default_instance_; + +inline constexpr GeoPolygon::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : rings_{}, + is_rectangle_{false}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR GeoPolygon::GeoPolygon(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoPolygonDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoPolygonDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoPolygonDefaultTypeInternal() {} + union { + GeoPolygon _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoPolygonDefaultTypeInternal _GeoPolygon_default_instance_; + +inline constexpr GeoShape::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : shape_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR GeoShape::GeoShape(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GeoShapeDefaultTypeInternal { + PROTOBUF_CONSTEXPR GeoShapeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GeoShapeDefaultTypeInternal() {} + union { + GeoShape _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeoShapeDefaultTypeInternal _GeoShape_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoDetails, _impl_.type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoShape, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoShape, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoShape, _impl_.shape_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPoint, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPoint, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPoint, _impl_.position_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoLine, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoLine, _impl_.positions_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygon, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygon, _impl_.rings_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygon, _impl_.is_rectangle_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipse, _impl_.semi_major_axis_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipse, _impl_.semi_minor_axis_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipse, _impl_.orientation_d_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipse, _impl_.height_m_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipsoid, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipsoid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipsoid, _impl_.forward_axis_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipsoid, _impl_.side_axis_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoEllipsoid, _impl_.up_axis_m_), + 0, + 1, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LinearRing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LinearRing, _impl_.positions_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygonPosition, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygonPosition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygonPosition, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoPolygonPosition, _impl_.height_m_), + 0, + 1, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::GeoDetails)}, + {9, -1, -1, sizeof(::anduril::entitymanager::v1::GeoShape)}, + {23, 32, -1, sizeof(::anduril::entitymanager::v1::GeoPoint)}, + {33, -1, -1, sizeof(::anduril::entitymanager::v1::GeoLine)}, + {42, -1, -1, sizeof(::anduril::entitymanager::v1::GeoPolygon)}, + {52, 64, -1, sizeof(::anduril::entitymanager::v1::GeoEllipse)}, + {68, 79, -1, sizeof(::anduril::entitymanager::v1::GeoEllipsoid)}, + {82, -1, -1, sizeof(::anduril::entitymanager::v1::LinearRing)}, + {91, 101, -1, sizeof(::anduril::entitymanager::v1::GeoPolygonPosition)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_GeoDetails_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoShape_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoPoint_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoLine_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoPolygon_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoEllipse_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoEllipsoid_default_instance_._instance, + &::anduril::entitymanager::v1::_LinearRing_default_instance_._instance, + &::anduril::entitymanager::v1::_GeoPolygonPosition_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n,anduril/entitymanager/v1/geoentity.pub" + ".proto\022\030anduril.entitymanager.v1\032+anduri" + "l/entitymanager/v1/location.pub.proto\032\036g" + "oogle/protobuf/wrappers.proto\"\240\001\n\nGeoDet" + "ails\0225\n\004type\030\001 \001(\0162!.anduril.entitymanag" + "er.v1.GeoTypeR\004typeJ\004\010\002\020\003J\004\010\003\020\004J\004\010\004\020\005J\004\010" + "\005\020\006J\004\010\006\020\007J\004\010\007\020\010R\temergencyR\016visual_detai" + "lsR\004fscmR\014control_areaR\003acmR\003mcm\"\324\002\n\010Geo" + "Shape\022:\n\005point\030\001 \001(\0132\".anduril.entityman" + "ager.v1.GeoPointH\000R\005point\0227\n\004line\030\002 \001(\0132" + "!.anduril.entitymanager.v1.GeoLineH\000R\004li" + "ne\022@\n\007polygon\030\003 \001(\0132$.anduril.entitymana" + "ger.v1.GeoPolygonH\000R\007polygon\022@\n\007ellipse\030" + "\004 \001(\0132$.anduril.entitymanager.v1.GeoElli" + "pseH\000R\007ellipse\022F\n\tellipsoid\030\005 \001(\0132&.andu" + "ril.entitymanager.v1.GeoEllipsoidH\000R\tell" + "ipsoidB\007\n\005shape\"J\n\010GeoPoint\022>\n\010position\030" + "\001 \001(\0132\".anduril.entitymanager.v1.Positio" + "nR\010position\"K\n\007GeoLine\022@\n\tpositions\030\001 \003(" + "\0132\".anduril.entitymanager.v1.PositionR\tp" + "ositions\"k\n\nGeoPolygon\022:\n\005rings\030\001 \003(\0132$." + "anduril.entitymanager.v1.LinearRingR\005rin" + "gs\022!\n\014is_rectangle\030\002 \001(\010R\013isRectangle\"\232\002" + "\n\nGeoEllipse\022G\n\021semi_major_axis_m\030\002 \001(\0132" + "\034.google.protobuf.DoubleValueR\016semiMajor" + "AxisM\022G\n\021semi_minor_axis_m\030\003 \001(\0132\034.googl" + "e.protobuf.DoubleValueR\016semiMinorAxisM\022A" + "\n\rorientation_d\030\004 \001(\0132\034.google.protobuf." + "DoubleValueR\014orientationD\0227\n\010height_m\030\005 " + "\001(\0132\034.google.protobuf.DoubleValueR\007heigh" + "tM\"\312\001\n\014GeoEllipsoid\022B\n\016forward_axis_m\030\001 " + "\001(\0132\034.google.protobuf.DoubleValueR\014forwa" + "rdAxisM\022<\n\013side_axis_m\030\002 \001(\0132\034.google.pr" + "otobuf.DoubleValueR\tsideAxisM\0228\n\tup_axis" + "_m\030\003 \001(\0132\034.google.protobuf.DoubleValueR\007" + "upAxisM\"^\n\nLinearRing\022J\n\tpositions\030\002 \003(\013" + "2,.anduril.entitymanager.v1.GeoPolygonPo" + "sitionR\tpositionsJ\004\010\001\020\002\"\214\001\n\022GeoPolygonPo" + "sition\022>\n\010position\030\001 \001(\0132\".anduril.entit" + "ymanager.v1.PositionR\010position\0226\n\010height" + "_m\030\002 \001(\0132\033.google.protobuf.FloatValueR\007h" + "eightM*\304\001\n\007GeoType\022\024\n\020GEO_TYPE_INVALID\020\000" + "\022\024\n\020GEO_TYPE_GENERAL\020\001\022\023\n\017GEO_TYPE_HAZAR" + "D\020\002\022\026\n\022GEO_TYPE_EMERGENCY\020\003\022\034\n\030GEO_TYPE_" + "ENGAGEMENT_ZONE\020\005\022\031\n\025GEO_TYPE_CONTROL_AR" + "EA\020\006\022\025\n\021GEO_TYPE_BULLSEYE\020\007\"\004\010\004\020\004\"\004\010\010\020\010\"" + "\004\010\t\020\tB\202\002\n\034com.anduril.entitymanager.v1B\021" + "GeoentityPubProtoP\001ZMghe.anduril.dev/and" + "uril/andurilapis-go/anduril/entitymanage" + "r/v1;entitymanager\242\002\003AEX\252\002\030Anduril.Entit" + "ymanager.V1\312\002\030Anduril\\Entitymanager\\V1\342\002" + "$Anduril\\Entitymanager\\V1\\GPBMetadata\352\002\032" + "Anduril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_deps[2] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto = { + false, + false, + 2114, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + "anduril/entitymanager/v1/geoentity.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_deps, + 2, + 9, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* GeoType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t GeoType_internal_data_[] = { + 262144u, 32u, 14u, }; +bool GeoType_IsValid(int value) { + return 0 <= value && value <= 7 && ((239u >> value) & 1) != 0; +} +// =================================================================== + +class GeoDetails::_Internal { + public: +}; + +GeoDetails::GeoDetails(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoDetails) +} +GeoDetails::GeoDetails( + ::google::protobuf::Arena* arena, const GeoDetails& from) + : GeoDetails(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE GeoDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GeoDetails::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.type_ = {}; +} +GeoDetails::~GeoDetails() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoDetails) + SharedDtor(*this); +} +inline void GeoDetails::SharedDtor(MessageLite& self) { + GeoDetails& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* GeoDetails::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoDetails(arena); +} +constexpr auto GeoDetails::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GeoDetails), + alignof(GeoDetails)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoDetails::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoDetails_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoDetails::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoDetails::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoDetails::ByteSizeLong, + &GeoDetails::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoDetails, _impl_._cached_size_), + false, + }, + &GeoDetails::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoDetails::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GeoDetails::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoDetails>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.GeoType type = 1 [json_name = "type"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GeoDetails, _impl_.type_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(GeoDetails, _impl_.type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.GeoType type = 1 [json_name = "type"]; + {PROTOBUF_FIELD_OFFSET(GeoDetails, _impl_.type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoDetails) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoDetails::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoDetails::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoDetails) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.GeoType type = 1 [json_name = "type"]; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoDetails) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoDetails::ByteSizeLong(const MessageLite& base) { + const GeoDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoDetails::ByteSizeLong() const { + const GeoDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoDetails) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.GeoType type = 1 [json_name = "type"]; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoDetails::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoDetails) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoDetails::CopyFrom(const GeoDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoDetails::InternalSwap(GeoDetails* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.type_, other->_impl_.type_); +} + +::google::protobuf::Metadata GeoDetails::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoShape::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GeoShape, _impl_._oneof_case_); +}; + +void GeoShape::set_allocated_point(::anduril::entitymanager::v1::GeoPoint* point) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_shape(); + if (point) { + ::google::protobuf::Arena* submessage_arena = point->GetArena(); + if (message_arena != submessage_arena) { + point = ::google::protobuf::internal::GetOwnedMessage(message_arena, point, submessage_arena); + } + set_has_point(); + _impl_.shape_.point_ = point; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoShape.point) +} +void GeoShape::set_allocated_line(::anduril::entitymanager::v1::GeoLine* line) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_shape(); + if (line) { + ::google::protobuf::Arena* submessage_arena = line->GetArena(); + if (message_arena != submessage_arena) { + line = ::google::protobuf::internal::GetOwnedMessage(message_arena, line, submessage_arena); + } + set_has_line(); + _impl_.shape_.line_ = line; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoShape.line) +} +void GeoShape::set_allocated_polygon(::anduril::entitymanager::v1::GeoPolygon* polygon) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_shape(); + if (polygon) { + ::google::protobuf::Arena* submessage_arena = polygon->GetArena(); + if (message_arena != submessage_arena) { + polygon = ::google::protobuf::internal::GetOwnedMessage(message_arena, polygon, submessage_arena); + } + set_has_polygon(); + _impl_.shape_.polygon_ = polygon; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoShape.polygon) +} +void GeoShape::set_allocated_ellipse(::anduril::entitymanager::v1::GeoEllipse* ellipse) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_shape(); + if (ellipse) { + ::google::protobuf::Arena* submessage_arena = ellipse->GetArena(); + if (message_arena != submessage_arena) { + ellipse = ::google::protobuf::internal::GetOwnedMessage(message_arena, ellipse, submessage_arena); + } + set_has_ellipse(); + _impl_.shape_.ellipse_ = ellipse; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoShape.ellipse) +} +void GeoShape::set_allocated_ellipsoid(::anduril::entitymanager::v1::GeoEllipsoid* ellipsoid) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_shape(); + if (ellipsoid) { + ::google::protobuf::Arena* submessage_arena = ellipsoid->GetArena(); + if (message_arena != submessage_arena) { + ellipsoid = ::google::protobuf::internal::GetOwnedMessage(message_arena, ellipsoid, submessage_arena); + } + set_has_ellipsoid(); + _impl_.shape_.ellipsoid_ = ellipsoid; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoShape.ellipsoid) +} +GeoShape::GeoShape(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoShape) +} +inline PROTOBUF_NDEBUG_INLINE GeoShape::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoShape& from_msg) + : shape_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +GeoShape::GeoShape( + ::google::protobuf::Arena* arena, + const GeoShape& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoShape* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (shape_case()) { + case SHAPE_NOT_SET: + break; + case kPoint: + _impl_.shape_.point_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoPoint>(arena, *from._impl_.shape_.point_); + break; + case kLine: + _impl_.shape_.line_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoLine>(arena, *from._impl_.shape_.line_); + break; + case kPolygon: + _impl_.shape_.polygon_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoPolygon>(arena, *from._impl_.shape_.polygon_); + break; + case kEllipse: + _impl_.shape_.ellipse_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoEllipse>(arena, *from._impl_.shape_.ellipse_); + break; + case kEllipsoid: + _impl_.shape_.ellipsoid_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoEllipsoid>(arena, *from._impl_.shape_.ellipsoid_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoShape) +} +inline PROTOBUF_NDEBUG_INLINE GeoShape::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : shape_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void GeoShape::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GeoShape::~GeoShape() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoShape) + SharedDtor(*this); +} +inline void GeoShape::SharedDtor(MessageLite& self) { + GeoShape& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_shape()) { + this_.clear_shape(); + } + this_._impl_.~Impl_(); +} + +void GeoShape::clear_shape() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.GeoShape) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (shape_case()) { + case kPoint: { + if (GetArena() == nullptr) { + delete _impl_.shape_.point_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.point_); + } + break; + } + case kLine: { + if (GetArena() == nullptr) { + delete _impl_.shape_.line_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.line_); + } + break; + } + case kPolygon: { + if (GetArena() == nullptr) { + delete _impl_.shape_.polygon_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.polygon_); + } + break; + } + case kEllipse: { + if (GetArena() == nullptr) { + delete _impl_.shape_.ellipse_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.ellipse_); + } + break; + } + case kEllipsoid: { + if (GetArena() == nullptr) { + delete _impl_.shape_.ellipsoid_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.ellipsoid_); + } + break; + } + case SHAPE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = SHAPE_NOT_SET; +} + + +inline void* GeoShape::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoShape(arena); +} +constexpr auto GeoShape::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GeoShape), + alignof(GeoShape)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoShape::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoShape_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoShape::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoShape::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoShape::ByteSizeLong, + &GeoShape::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoShape, _impl_._cached_size_), + false, + }, + &GeoShape::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoShape::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 5, 5, 0, 2> GeoShape::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 5, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoShape>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.GeoPoint point = 1 [json_name = "point"]; + {PROTOBUF_FIELD_OFFSET(GeoShape, _impl_.shape_.point_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GeoLine line = 2 [json_name = "line"]; + {PROTOBUF_FIELD_OFFSET(GeoShape, _impl_.shape_.line_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GeoPolygon polygon = 3 [json_name = "polygon"]; + {PROTOBUF_FIELD_OFFSET(GeoShape, _impl_.shape_.polygon_), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GeoEllipse ellipse = 4 [json_name = "ellipse"]; + {PROTOBUF_FIELD_OFFSET(GeoShape, _impl_.shape_.ellipse_), _Internal::kOneofCaseOffset + 0, 3, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GeoEllipsoid ellipsoid = 5 [json_name = "ellipsoid"]; + {PROTOBUF_FIELD_OFFSET(GeoShape, _impl_.shape_.ellipsoid_), _Internal::kOneofCaseOffset + 0, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPoint>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoLine>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPolygon>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoEllipse>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoEllipsoid>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoShape::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoShape) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_shape(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoShape::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoShape& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoShape::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoShape& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoShape) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.shape_case()) { + case kPoint: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.shape_.point_, this_._impl_.shape_.point_->GetCachedSize(), target, + stream); + break; + } + case kLine: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.shape_.line_, this_._impl_.shape_.line_->GetCachedSize(), target, + stream); + break; + } + case kPolygon: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.shape_.polygon_, this_._impl_.shape_.polygon_->GetCachedSize(), target, + stream); + break; + } + case kEllipse: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.shape_.ellipse_, this_._impl_.shape_.ellipse_->GetCachedSize(), target, + stream); + break; + } + case kEllipsoid: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.shape_.ellipsoid_, this_._impl_.shape_.ellipsoid_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoShape) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoShape::ByteSizeLong(const MessageLite& base) { + const GeoShape& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoShape::ByteSizeLong() const { + const GeoShape& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoShape) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.shape_case()) { + // .anduril.entitymanager.v1.GeoPoint point = 1 [json_name = "point"]; + case kPoint: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.shape_.point_); + break; + } + // .anduril.entitymanager.v1.GeoLine line = 2 [json_name = "line"]; + case kLine: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.shape_.line_); + break; + } + // .anduril.entitymanager.v1.GeoPolygon polygon = 3 [json_name = "polygon"]; + case kPolygon: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.shape_.polygon_); + break; + } + // .anduril.entitymanager.v1.GeoEllipse ellipse = 4 [json_name = "ellipse"]; + case kEllipse: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.shape_.ellipse_); + break; + } + // .anduril.entitymanager.v1.GeoEllipsoid ellipsoid = 5 [json_name = "ellipsoid"]; + case kEllipsoid: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.shape_.ellipsoid_); + break; + } + case SHAPE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoShape::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoShape) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_shape(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kPoint: { + if (oneof_needs_init) { + _this->_impl_.shape_.point_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoPoint>(arena, *from._impl_.shape_.point_); + } else { + _this->_impl_.shape_.point_->MergeFrom(from._internal_point()); + } + break; + } + case kLine: { + if (oneof_needs_init) { + _this->_impl_.shape_.line_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoLine>(arena, *from._impl_.shape_.line_); + } else { + _this->_impl_.shape_.line_->MergeFrom(from._internal_line()); + } + break; + } + case kPolygon: { + if (oneof_needs_init) { + _this->_impl_.shape_.polygon_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoPolygon>(arena, *from._impl_.shape_.polygon_); + } else { + _this->_impl_.shape_.polygon_->MergeFrom(from._internal_polygon()); + } + break; + } + case kEllipse: { + if (oneof_needs_init) { + _this->_impl_.shape_.ellipse_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoEllipse>(arena, *from._impl_.shape_.ellipse_); + } else { + _this->_impl_.shape_.ellipse_->MergeFrom(from._internal_ellipse()); + } + break; + } + case kEllipsoid: { + if (oneof_needs_init) { + _this->_impl_.shape_.ellipsoid_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GeoEllipsoid>(arena, *from._impl_.shape_.ellipsoid_); + } else { + _this->_impl_.shape_.ellipsoid_->MergeFrom(from._internal_ellipsoid()); + } + break; + } + case SHAPE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoShape::CopyFrom(const GeoShape& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoShape) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoShape::InternalSwap(GeoShape* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.shape_, other->_impl_.shape_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata GeoShape::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoPoint::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GeoPoint, _impl_._has_bits_); +}; + +void GeoPoint::clear_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +GeoPoint::GeoPoint(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoPoint) +} +inline PROTOBUF_NDEBUG_INLINE GeoPoint::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoPoint& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GeoPoint::GeoPoint( + ::google::protobuf::Arena* arena, + const GeoPoint& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoPoint* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.position_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.position_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoPoint) +} +inline PROTOBUF_NDEBUG_INLINE GeoPoint::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GeoPoint::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.position_ = {}; +} +GeoPoint::~GeoPoint() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoPoint) + SharedDtor(*this); +} +inline void GeoPoint::SharedDtor(MessageLite& self) { + GeoPoint& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.position_; + this_._impl_.~Impl_(); +} + +inline void* GeoPoint::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoPoint(arena); +} +constexpr auto GeoPoint::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GeoPoint), + alignof(GeoPoint)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoPoint::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoPoint_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoPoint::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoPoint::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoPoint::ByteSizeLong, + &GeoPoint::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoPoint, _impl_._cached_size_), + false, + }, + &GeoPoint::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoPoint::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GeoPoint::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GeoPoint, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPoint>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GeoPoint, _impl_.position_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + {PROTOBUF_FIELD_OFFSET(GeoPoint, _impl_.position_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoPoint::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoPoint) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoPoint::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoPoint& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoPoint::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoPoint& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoPoint) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.position_, this_._impl_.position_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoPoint) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoPoint::ByteSizeLong(const MessageLite& base) { + const GeoPoint& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoPoint::ByteSizeLong() const { + const GeoPoint& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoPoint) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.position_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoPoint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoPoint) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.position_ != nullptr); + if (_this->_impl_.position_ == nullptr) { + _this->_impl_.position_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.position_); + } else { + _this->_impl_.position_->MergeFrom(*from._impl_.position_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoPoint::CopyFrom(const GeoPoint& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoPoint) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoPoint::InternalSwap(GeoPoint* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.position_, other->_impl_.position_); +} + +::google::protobuf::Metadata GeoPoint::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoLine::_Internal { + public: +}; + +void GeoLine::clear_positions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.positions_.Clear(); +} +GeoLine::GeoLine(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoLine) +} +inline PROTOBUF_NDEBUG_INLINE GeoLine::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoLine& from_msg) + : positions_{visibility, arena, from.positions_}, + _cached_size_{0} {} + +GeoLine::GeoLine( + ::google::protobuf::Arena* arena, + const GeoLine& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoLine* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoLine) +} +inline PROTOBUF_NDEBUG_INLINE GeoLine::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : positions_{visibility, arena}, + _cached_size_{0} {} + +inline void GeoLine::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GeoLine::~GeoLine() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoLine) + SharedDtor(*this); +} +inline void GeoLine::SharedDtor(MessageLite& self) { + GeoLine& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* GeoLine::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoLine(arena); +} +constexpr auto GeoLine::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GeoLine, _impl_.positions_) + + decltype(GeoLine::_impl_.positions_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GeoLine), alignof(GeoLine), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GeoLine::PlacementNew_, + sizeof(GeoLine), + alignof(GeoLine)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoLine::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoLine_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoLine::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoLine::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoLine::ByteSizeLong, + &GeoLine::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoLine, _impl_._cached_size_), + false, + }, + &GeoLine::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoLine::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GeoLine::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoLine>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Position positions = 1 [json_name = "positions"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(GeoLine, _impl_.positions_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Position positions = 1 [json_name = "positions"]; + {PROTOBUF_FIELD_OFFSET(GeoLine, _impl_.positions_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoLine::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoLine) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.positions_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoLine::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoLine& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoLine::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoLine& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoLine) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Position positions = 1 [json_name = "positions"]; + for (unsigned i = 0, n = static_cast( + this_._internal_positions_size()); + i < n; i++) { + const auto& repfield = this_._internal_positions().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoLine) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoLine::ByteSizeLong(const MessageLite& base) { + const GeoLine& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoLine::ByteSizeLong() const { + const GeoLine& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoLine) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Position positions = 1 [json_name = "positions"]; + { + total_size += 1UL * this_._internal_positions_size(); + for (const auto& msg : this_._internal_positions()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoLine::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoLine) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_positions()->MergeFrom( + from._internal_positions()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoLine::CopyFrom(const GeoLine& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoLine) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoLine::InternalSwap(GeoLine* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.positions_.InternalSwap(&other->_impl_.positions_); +} + +::google::protobuf::Metadata GeoLine::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoPolygon::_Internal { + public: +}; + +GeoPolygon::GeoPolygon(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoPolygon) +} +inline PROTOBUF_NDEBUG_INLINE GeoPolygon::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoPolygon& from_msg) + : rings_{visibility, arena, from.rings_}, + _cached_size_{0} {} + +GeoPolygon::GeoPolygon( + ::google::protobuf::Arena* arena, + const GeoPolygon& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoPolygon* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.is_rectangle_ = from._impl_.is_rectangle_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoPolygon) +} +inline PROTOBUF_NDEBUG_INLINE GeoPolygon::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : rings_{visibility, arena}, + _cached_size_{0} {} + +inline void GeoPolygon::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.is_rectangle_ = {}; +} +GeoPolygon::~GeoPolygon() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoPolygon) + SharedDtor(*this); +} +inline void GeoPolygon::SharedDtor(MessageLite& self) { + GeoPolygon& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* GeoPolygon::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoPolygon(arena); +} +constexpr auto GeoPolygon::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GeoPolygon, _impl_.rings_) + + decltype(GeoPolygon::_impl_.rings_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GeoPolygon), alignof(GeoPolygon), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GeoPolygon::PlacementNew_, + sizeof(GeoPolygon), + alignof(GeoPolygon)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoPolygon::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoPolygon_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoPolygon::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoPolygon::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoPolygon::ByteSizeLong, + &GeoPolygon::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoPolygon, _impl_._cached_size_), + false, + }, + &GeoPolygon::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoPolygon::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GeoPolygon::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPolygon>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool is_rectangle = 2 [json_name = "isRectangle"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(GeoPolygon, _impl_.is_rectangle_)}}, + // repeated .anduril.entitymanager.v1.LinearRing rings = 1 [json_name = "rings"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(GeoPolygon, _impl_.rings_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.LinearRing rings = 1 [json_name = "rings"]; + {PROTOBUF_FIELD_OFFSET(GeoPolygon, _impl_.rings_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // bool is_rectangle = 2 [json_name = "isRectangle"]; + {PROTOBUF_FIELD_OFFSET(GeoPolygon, _impl_.is_rectangle_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LinearRing>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoPolygon::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoPolygon) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.rings_.Clear(); + _impl_.is_rectangle_ = false; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoPolygon::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoPolygon& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoPolygon::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoPolygon& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoPolygon) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.LinearRing rings = 1 [json_name = "rings"]; + for (unsigned i = 0, n = static_cast( + this_._internal_rings_size()); + i < n; i++) { + const auto& repfield = this_._internal_rings().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // bool is_rectangle = 2 [json_name = "isRectangle"]; + if (this_._internal_is_rectangle() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_is_rectangle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoPolygon) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoPolygon::ByteSizeLong(const MessageLite& base) { + const GeoPolygon& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoPolygon::ByteSizeLong() const { + const GeoPolygon& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoPolygon) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.LinearRing rings = 1 [json_name = "rings"]; + { + total_size += 1UL * this_._internal_rings_size(); + for (const auto& msg : this_._internal_rings()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // bool is_rectangle = 2 [json_name = "isRectangle"]; + if (this_._internal_is_rectangle() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoPolygon::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoPolygon) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_rings()->MergeFrom( + from._internal_rings()); + if (from._internal_is_rectangle() != 0) { + _this->_impl_.is_rectangle_ = from._impl_.is_rectangle_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoPolygon::CopyFrom(const GeoPolygon& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoPolygon) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoPolygon::InternalSwap(GeoPolygon* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.rings_.InternalSwap(&other->_impl_.rings_); + swap(_impl_.is_rectangle_, other->_impl_.is_rectangle_); +} + +::google::protobuf::Metadata GeoPolygon::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoEllipse::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_._has_bits_); +}; + +void GeoEllipse::clear_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_major_axis_m_ != nullptr) _impl_.semi_major_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void GeoEllipse::clear_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_minor_axis_m_ != nullptr) _impl_.semi_minor_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void GeoEllipse::clear_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orientation_d_ != nullptr) _impl_.orientation_d_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void GeoEllipse::clear_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.height_m_ != nullptr) _impl_.height_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +GeoEllipse::GeoEllipse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoEllipse) +} +inline PROTOBUF_NDEBUG_INLINE GeoEllipse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoEllipse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GeoEllipse::GeoEllipse( + ::google::protobuf::Arena* arena, + const GeoEllipse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoEllipse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.semi_major_axis_m_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.semi_major_axis_m_) + : nullptr; + _impl_.semi_minor_axis_m_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.semi_minor_axis_m_) + : nullptr; + _impl_.orientation_d_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.orientation_d_) + : nullptr; + _impl_.height_m_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.height_m_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoEllipse) +} +inline PROTOBUF_NDEBUG_INLINE GeoEllipse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GeoEllipse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, semi_major_axis_m_), + 0, + offsetof(Impl_, height_m_) - + offsetof(Impl_, semi_major_axis_m_) + + sizeof(Impl_::height_m_)); +} +GeoEllipse::~GeoEllipse() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoEllipse) + SharedDtor(*this); +} +inline void GeoEllipse::SharedDtor(MessageLite& self) { + GeoEllipse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.semi_major_axis_m_; + delete this_._impl_.semi_minor_axis_m_; + delete this_._impl_.orientation_d_; + delete this_._impl_.height_m_; + this_._impl_.~Impl_(); +} + +inline void* GeoEllipse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoEllipse(arena); +} +constexpr auto GeoEllipse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GeoEllipse), + alignof(GeoEllipse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoEllipse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoEllipse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoEllipse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoEllipse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoEllipse::ByteSizeLong, + &GeoEllipse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_._cached_size_), + false, + }, + &GeoEllipse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoEllipse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 4, 0, 2> GeoEllipse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_._has_bits_), + 0, // no _extensions_ + 5, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967265, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoEllipse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + {::_pbi::TcParser::FastMtS1, + {34, 2, 2, PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.orientation_d_)}}, + // .google.protobuf.DoubleValue height_m = 5 [json_name = "heightM"]; + {::_pbi::TcParser::FastMtS1, + {42, 3, 3, PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.height_m_)}}, + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.semi_major_axis_m_)}}, + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.semi_minor_axis_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.semi_major_axis_m_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.semi_minor_axis_m_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.orientation_d_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue height_m = 5 [json_name = "heightM"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.height_m_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoEllipse::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoEllipse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.semi_major_axis_m_ != nullptr); + _impl_.semi_major_axis_m_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.semi_minor_axis_m_ != nullptr); + _impl_.semi_minor_axis_m_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.orientation_d_ != nullptr); + _impl_.orientation_d_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.height_m_ != nullptr); + _impl_.height_m_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoEllipse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoEllipse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoEllipse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoEllipse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoEllipse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.semi_major_axis_m_, this_._impl_.semi_major_axis_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.semi_minor_axis_m_, this_._impl_.semi_minor_axis_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.orientation_d_, this_._impl_.orientation_d_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue height_m = 5 [json_name = "heightM"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.height_m_, this_._impl_.height_m_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoEllipse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoEllipse::ByteSizeLong(const MessageLite& base) { + const GeoEllipse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoEllipse::ByteSizeLong() const { + const GeoEllipse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoEllipse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.semi_major_axis_m_); + } + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.semi_minor_axis_m_); + } + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.orientation_d_); + } + // .google.protobuf.DoubleValue height_m = 5 [json_name = "heightM"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.height_m_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoEllipse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoEllipse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.semi_major_axis_m_ != nullptr); + if (_this->_impl_.semi_major_axis_m_ == nullptr) { + _this->_impl_.semi_major_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.semi_major_axis_m_); + } else { + _this->_impl_.semi_major_axis_m_->MergeFrom(*from._impl_.semi_major_axis_m_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.semi_minor_axis_m_ != nullptr); + if (_this->_impl_.semi_minor_axis_m_ == nullptr) { + _this->_impl_.semi_minor_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.semi_minor_axis_m_); + } else { + _this->_impl_.semi_minor_axis_m_->MergeFrom(*from._impl_.semi_minor_axis_m_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.orientation_d_ != nullptr); + if (_this->_impl_.orientation_d_ == nullptr) { + _this->_impl_.orientation_d_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.orientation_d_); + } else { + _this->_impl_.orientation_d_->MergeFrom(*from._impl_.orientation_d_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.height_m_ != nullptr); + if (_this->_impl_.height_m_ == nullptr) { + _this->_impl_.height_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.height_m_); + } else { + _this->_impl_.height_m_->MergeFrom(*from._impl_.height_m_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoEllipse::CopyFrom(const GeoEllipse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoEllipse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoEllipse::InternalSwap(GeoEllipse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.height_m_) + + sizeof(GeoEllipse::_impl_.height_m_) + - PROTOBUF_FIELD_OFFSET(GeoEllipse, _impl_.semi_major_axis_m_)>( + reinterpret_cast(&_impl_.semi_major_axis_m_), + reinterpret_cast(&other->_impl_.semi_major_axis_m_)); +} + +::google::protobuf::Metadata GeoEllipse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoEllipsoid::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_._has_bits_); +}; + +void GeoEllipsoid::clear_forward_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.forward_axis_m_ != nullptr) _impl_.forward_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void GeoEllipsoid::clear_side_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.side_axis_m_ != nullptr) _impl_.side_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void GeoEllipsoid::clear_up_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.up_axis_m_ != nullptr) _impl_.up_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +GeoEllipsoid::GeoEllipsoid(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoEllipsoid) +} +inline PROTOBUF_NDEBUG_INLINE GeoEllipsoid::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoEllipsoid& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GeoEllipsoid::GeoEllipsoid( + ::google::protobuf::Arena* arena, + const GeoEllipsoid& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoEllipsoid* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.forward_axis_m_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.forward_axis_m_) + : nullptr; + _impl_.side_axis_m_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.side_axis_m_) + : nullptr; + _impl_.up_axis_m_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.up_axis_m_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoEllipsoid) +} +inline PROTOBUF_NDEBUG_INLINE GeoEllipsoid::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GeoEllipsoid::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, forward_axis_m_), + 0, + offsetof(Impl_, up_axis_m_) - + offsetof(Impl_, forward_axis_m_) + + sizeof(Impl_::up_axis_m_)); +} +GeoEllipsoid::~GeoEllipsoid() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoEllipsoid) + SharedDtor(*this); +} +inline void GeoEllipsoid::SharedDtor(MessageLite& self) { + GeoEllipsoid& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.forward_axis_m_; + delete this_._impl_.side_axis_m_; + delete this_._impl_.up_axis_m_; + this_._impl_.~Impl_(); +} + +inline void* GeoEllipsoid::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoEllipsoid(arena); +} +constexpr auto GeoEllipsoid::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GeoEllipsoid), + alignof(GeoEllipsoid)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoEllipsoid::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoEllipsoid_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoEllipsoid::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoEllipsoid::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoEllipsoid::ByteSizeLong, + &GeoEllipsoid::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_._cached_size_), + false, + }, + &GeoEllipsoid::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoEllipsoid::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> GeoEllipsoid::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoEllipsoid>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .google.protobuf.DoubleValue forward_axis_m = 1 [json_name = "forwardAxisM"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.forward_axis_m_)}}, + // .google.protobuf.DoubleValue side_axis_m = 2 [json_name = "sideAxisM"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.side_axis_m_)}}, + // .google.protobuf.DoubleValue up_axis_m = 3 [json_name = "upAxisM"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.up_axis_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.DoubleValue forward_axis_m = 1 [json_name = "forwardAxisM"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.forward_axis_m_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue side_axis_m = 2 [json_name = "sideAxisM"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.side_axis_m_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue up_axis_m = 3 [json_name = "upAxisM"]; + {PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.up_axis_m_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoEllipsoid::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoEllipsoid) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.forward_axis_m_ != nullptr); + _impl_.forward_axis_m_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.side_axis_m_ != nullptr); + _impl_.side_axis_m_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.up_axis_m_ != nullptr); + _impl_.up_axis_m_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoEllipsoid::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoEllipsoid& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoEllipsoid::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoEllipsoid& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoEllipsoid) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue forward_axis_m = 1 [json_name = "forwardAxisM"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.forward_axis_m_, this_._impl_.forward_axis_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue side_axis_m = 2 [json_name = "sideAxisM"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.side_axis_m_, this_._impl_.side_axis_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue up_axis_m = 3 [json_name = "upAxisM"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.up_axis_m_, this_._impl_.up_axis_m_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoEllipsoid) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoEllipsoid::ByteSizeLong(const MessageLite& base) { + const GeoEllipsoid& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoEllipsoid::ByteSizeLong() const { + const GeoEllipsoid& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoEllipsoid) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .google.protobuf.DoubleValue forward_axis_m = 1 [json_name = "forwardAxisM"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.forward_axis_m_); + } + // .google.protobuf.DoubleValue side_axis_m = 2 [json_name = "sideAxisM"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.side_axis_m_); + } + // .google.protobuf.DoubleValue up_axis_m = 3 [json_name = "upAxisM"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.up_axis_m_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoEllipsoid::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoEllipsoid) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.forward_axis_m_ != nullptr); + if (_this->_impl_.forward_axis_m_ == nullptr) { + _this->_impl_.forward_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.forward_axis_m_); + } else { + _this->_impl_.forward_axis_m_->MergeFrom(*from._impl_.forward_axis_m_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.side_axis_m_ != nullptr); + if (_this->_impl_.side_axis_m_ == nullptr) { + _this->_impl_.side_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.side_axis_m_); + } else { + _this->_impl_.side_axis_m_->MergeFrom(*from._impl_.side_axis_m_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.up_axis_m_ != nullptr); + if (_this->_impl_.up_axis_m_ == nullptr) { + _this->_impl_.up_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.up_axis_m_); + } else { + _this->_impl_.up_axis_m_->MergeFrom(*from._impl_.up_axis_m_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoEllipsoid::CopyFrom(const GeoEllipsoid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoEllipsoid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoEllipsoid::InternalSwap(GeoEllipsoid* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.up_axis_m_) + + sizeof(GeoEllipsoid::_impl_.up_axis_m_) + - PROTOBUF_FIELD_OFFSET(GeoEllipsoid, _impl_.forward_axis_m_)>( + reinterpret_cast(&_impl_.forward_axis_m_), + reinterpret_cast(&other->_impl_.forward_axis_m_)); +} + +::google::protobuf::Metadata GeoEllipsoid::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class LinearRing::_Internal { + public: +}; + +LinearRing::LinearRing(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.LinearRing) +} +inline PROTOBUF_NDEBUG_INLINE LinearRing::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::LinearRing& from_msg) + : positions_{visibility, arena, from.positions_}, + _cached_size_{0} {} + +LinearRing::LinearRing( + ::google::protobuf::Arena* arena, + const LinearRing& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LinearRing* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.LinearRing) +} +inline PROTOBUF_NDEBUG_INLINE LinearRing::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : positions_{visibility, arena}, + _cached_size_{0} {} + +inline void LinearRing::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +LinearRing::~LinearRing() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.LinearRing) + SharedDtor(*this); +} +inline void LinearRing::SharedDtor(MessageLite& self) { + LinearRing& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* LinearRing::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) LinearRing(arena); +} +constexpr auto LinearRing::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(LinearRing, _impl_.positions_) + + decltype(LinearRing::_impl_.positions_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(LinearRing), alignof(LinearRing), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&LinearRing::PlacementNew_, + sizeof(LinearRing), + alignof(LinearRing)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull LinearRing::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_LinearRing_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &LinearRing::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &LinearRing::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &LinearRing::ByteSizeLong, + &LinearRing::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(LinearRing, _impl_._cached_size_), + false, + }, + &LinearRing::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* LinearRing::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> LinearRing::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967293, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LinearRing>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.GeoPolygonPosition positions = 2 [json_name = "positions"]; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(LinearRing, _impl_.positions_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.GeoPolygonPosition positions = 2 [json_name = "positions"]; + {PROTOBUF_FIELD_OFFSET(LinearRing, _impl_.positions_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPolygonPosition>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void LinearRing::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.LinearRing) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.positions_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* LinearRing::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const LinearRing& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* LinearRing::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const LinearRing& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.LinearRing) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.GeoPolygonPosition positions = 2 [json_name = "positions"]; + for (unsigned i = 0, n = static_cast( + this_._internal_positions_size()); + i < n; i++) { + const auto& repfield = this_._internal_positions().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.LinearRing) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t LinearRing::ByteSizeLong(const MessageLite& base) { + const LinearRing& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t LinearRing::ByteSizeLong() const { + const LinearRing& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.LinearRing) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.GeoPolygonPosition positions = 2 [json_name = "positions"]; + { + total_size += 1UL * this_._internal_positions_size(); + for (const auto& msg : this_._internal_positions()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void LinearRing::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.LinearRing) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_positions()->MergeFrom( + from._internal_positions()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void LinearRing::CopyFrom(const LinearRing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.LinearRing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void LinearRing::InternalSwap(LinearRing* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.positions_.InternalSwap(&other->_impl_.positions_); +} + +::google::protobuf::Metadata LinearRing::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GeoPolygonPosition::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_._has_bits_); +}; + +void GeoPolygonPosition::clear_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void GeoPolygonPosition::clear_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.height_m_ != nullptr) _impl_.height_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +GeoPolygonPosition::GeoPolygonPosition(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GeoPolygonPosition) +} +inline PROTOBUF_NDEBUG_INLINE GeoPolygonPosition::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::GeoPolygonPosition& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GeoPolygonPosition::GeoPolygonPosition( + ::google::protobuf::Arena* arena, + const GeoPolygonPosition& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GeoPolygonPosition* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.position_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.position_) + : nullptr; + _impl_.height_m_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FloatValue>( + arena, *from._impl_.height_m_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GeoPolygonPosition) +} +inline PROTOBUF_NDEBUG_INLINE GeoPolygonPosition::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GeoPolygonPosition::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, position_), + 0, + offsetof(Impl_, height_m_) - + offsetof(Impl_, position_) + + sizeof(Impl_::height_m_)); +} +GeoPolygonPosition::~GeoPolygonPosition() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.GeoPolygonPosition) + SharedDtor(*this); +} +inline void GeoPolygonPosition::SharedDtor(MessageLite& self) { + GeoPolygonPosition& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.position_; + delete this_._impl_.height_m_; + this_._impl_.~Impl_(); +} + +inline void* GeoPolygonPosition::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GeoPolygonPosition(arena); +} +constexpr auto GeoPolygonPosition::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GeoPolygonPosition), + alignof(GeoPolygonPosition)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GeoPolygonPosition::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GeoPolygonPosition_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeoPolygonPosition::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeoPolygonPosition::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeoPolygonPosition::ByteSizeLong, + &GeoPolygonPosition::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_._cached_size_), + false, + }, + &GeoPolygonPosition::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GeoPolygonPosition::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> GeoPolygonPosition::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GeoPolygonPosition>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.FloatValue height_m = 2 [json_name = "heightM"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_.height_m_)}}, + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_.position_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + {PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_.position_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.FloatValue height_m = 2 [json_name = "heightM"]; + {PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_.height_m_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::FloatValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GeoPolygonPosition::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.GeoPolygonPosition) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.height_m_ != nullptr); + _impl_.height_m_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GeoPolygonPosition::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GeoPolygonPosition& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GeoPolygonPosition::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GeoPolygonPosition& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.GeoPolygonPosition) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.position_, this_._impl_.position_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.FloatValue height_m = 2 [json_name = "heightM"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.height_m_, this_._impl_.height_m_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.GeoPolygonPosition) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GeoPolygonPosition::ByteSizeLong(const MessageLite& base) { + const GeoPolygonPosition& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GeoPolygonPosition::ByteSizeLong() const { + const GeoPolygonPosition& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.GeoPolygonPosition) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.position_); + } + // .google.protobuf.FloatValue height_m = 2 [json_name = "heightM"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.height_m_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void GeoPolygonPosition::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.GeoPolygonPosition) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.position_ != nullptr); + if (_this->_impl_.position_ == nullptr) { + _this->_impl_.position_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.position_); + } else { + _this->_impl_.position_->MergeFrom(*from._impl_.position_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.height_m_ != nullptr); + if (_this->_impl_.height_m_ == nullptr) { + _this->_impl_.height_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::FloatValue>(arena, *from._impl_.height_m_); + } else { + _this->_impl_.height_m_->MergeFrom(*from._impl_.height_m_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GeoPolygonPosition::CopyFrom(const GeoPolygonPosition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.GeoPolygonPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GeoPolygonPosition::InternalSwap(GeoPolygonPosition* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_.height_m_) + + sizeof(GeoPolygonPosition::_impl_.height_m_) + - PROTOBUF_FIELD_OFFSET(GeoPolygonPosition, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::google::protobuf::Metadata GeoPolygonPosition::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/geoentity.pub.pb.h b/src/anduril/entitymanager/v1/geoentity.pub.pb.h new file mode 100644 index 0000000..eb71552 --- /dev/null +++ b/src/anduril/entitymanager/v1/geoentity.pub.pb.h @@ -0,0 +1,3710 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/geoentity.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/location.pub.pb.h" +#include "google/protobuf/wrappers.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class GeoDetails; +struct GeoDetailsDefaultTypeInternal; +extern GeoDetailsDefaultTypeInternal _GeoDetails_default_instance_; +class GeoEllipse; +struct GeoEllipseDefaultTypeInternal; +extern GeoEllipseDefaultTypeInternal _GeoEllipse_default_instance_; +class GeoEllipsoid; +struct GeoEllipsoidDefaultTypeInternal; +extern GeoEllipsoidDefaultTypeInternal _GeoEllipsoid_default_instance_; +class GeoLine; +struct GeoLineDefaultTypeInternal; +extern GeoLineDefaultTypeInternal _GeoLine_default_instance_; +class GeoPoint; +struct GeoPointDefaultTypeInternal; +extern GeoPointDefaultTypeInternal _GeoPoint_default_instance_; +class GeoPolygon; +struct GeoPolygonDefaultTypeInternal; +extern GeoPolygonDefaultTypeInternal _GeoPolygon_default_instance_; +class GeoPolygonPosition; +struct GeoPolygonPositionDefaultTypeInternal; +extern GeoPolygonPositionDefaultTypeInternal _GeoPolygonPosition_default_instance_; +class GeoShape; +struct GeoShapeDefaultTypeInternal; +extern GeoShapeDefaultTypeInternal _GeoShape_default_instance_; +class LinearRing; +struct LinearRingDefaultTypeInternal; +extern LinearRingDefaultTypeInternal _LinearRing_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum GeoType : int { + GEO_TYPE_INVALID = 0, + GEO_TYPE_GENERAL = 1, + GEO_TYPE_HAZARD = 2, + GEO_TYPE_EMERGENCY = 3, + GEO_TYPE_ENGAGEMENT_ZONE = 5, + GEO_TYPE_CONTROL_AREA = 6, + GEO_TYPE_BULLSEYE = 7, + GeoType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + GeoType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool GeoType_IsValid(int value); +extern const uint32_t GeoType_internal_data_[]; +constexpr GeoType GeoType_MIN = static_cast(0); +constexpr GeoType GeoType_MAX = static_cast(7); +constexpr int GeoType_ARRAYSIZE = 7 + 1; +const ::google::protobuf::EnumDescriptor* +GeoType_descriptor(); +template +const std::string& GeoType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to GeoType_Name()."); + return GeoType_Name(static_cast(value)); +} +template <> +inline const std::string& GeoType_Name(GeoType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool GeoType_Parse(absl::string_view name, GeoType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + GeoType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class GeoDetails final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoDetails) */ { + public: + inline GeoDetails() : GeoDetails(nullptr) {} + ~GeoDetails() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoDetails* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoDetails)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoDetails( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoDetails(const GeoDetails& from) : GeoDetails(nullptr, from) {} + inline GeoDetails(GeoDetails&& from) noexcept + : GeoDetails(nullptr, std::move(from)) {} + inline GeoDetails& operator=(const GeoDetails& from) { + CopyFrom(from); + return *this; + } + inline GeoDetails& operator=(GeoDetails&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoDetails& default_instance() { + return *internal_default_instance(); + } + static inline const GeoDetails* internal_default_instance() { + return reinterpret_cast( + &_GeoDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(GeoDetails& a, GeoDetails& b) { a.Swap(&b); } + inline void Swap(GeoDetails* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoDetails* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoDetails* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoDetails& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoDetails& from) { GeoDetails::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoDetails* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoDetails"; } + + protected: + explicit GeoDetails(::google::protobuf::Arena* arena); + GeoDetails(::google::protobuf::Arena* arena, const GeoDetails& from); + GeoDetails(::google::protobuf::Arena* arena, GeoDetails&& from) noexcept + : GeoDetails(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTypeFieldNumber = 1, + }; + // .anduril.entitymanager.v1.GeoType type = 1 [json_name = "type"]; + void clear_type() ; + ::anduril::entitymanager::v1::GeoType type() const; + void set_type(::anduril::entitymanager::v1::GeoType value); + + private: + ::anduril::entitymanager::v1::GeoType _internal_type() const; + void _internal_set_type(::anduril::entitymanager::v1::GeoType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoDetails) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoDetails& from_msg); + int type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoEllipsoid final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoEllipsoid) */ { + public: + inline GeoEllipsoid() : GeoEllipsoid(nullptr) {} + ~GeoEllipsoid() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoEllipsoid* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoEllipsoid)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoEllipsoid( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoEllipsoid(const GeoEllipsoid& from) : GeoEllipsoid(nullptr, from) {} + inline GeoEllipsoid(GeoEllipsoid&& from) noexcept + : GeoEllipsoid(nullptr, std::move(from)) {} + inline GeoEllipsoid& operator=(const GeoEllipsoid& from) { + CopyFrom(from); + return *this; + } + inline GeoEllipsoid& operator=(GeoEllipsoid&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoEllipsoid& default_instance() { + return *internal_default_instance(); + } + static inline const GeoEllipsoid* internal_default_instance() { + return reinterpret_cast( + &_GeoEllipsoid_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(GeoEllipsoid& a, GeoEllipsoid& b) { a.Swap(&b); } + inline void Swap(GeoEllipsoid* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoEllipsoid* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoEllipsoid* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoEllipsoid& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoEllipsoid& from) { GeoEllipsoid::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoEllipsoid* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoEllipsoid"; } + + protected: + explicit GeoEllipsoid(::google::protobuf::Arena* arena); + GeoEllipsoid(::google::protobuf::Arena* arena, const GeoEllipsoid& from); + GeoEllipsoid(::google::protobuf::Arena* arena, GeoEllipsoid&& from) noexcept + : GeoEllipsoid(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kForwardAxisMFieldNumber = 1, + kSideAxisMFieldNumber = 2, + kUpAxisMFieldNumber = 3, + }; + // .google.protobuf.DoubleValue forward_axis_m = 1 [json_name = "forwardAxisM"]; + bool has_forward_axis_m() const; + void clear_forward_axis_m() ; + const ::google::protobuf::DoubleValue& forward_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_forward_axis_m(); + ::google::protobuf::DoubleValue* mutable_forward_axis_m(); + void set_allocated_forward_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_forward_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_forward_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_forward_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_forward_axis_m(); + + public: + // .google.protobuf.DoubleValue side_axis_m = 2 [json_name = "sideAxisM"]; + bool has_side_axis_m() const; + void clear_side_axis_m() ; + const ::google::protobuf::DoubleValue& side_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_side_axis_m(); + ::google::protobuf::DoubleValue* mutable_side_axis_m(); + void set_allocated_side_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_side_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_side_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_side_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_side_axis_m(); + + public: + // .google.protobuf.DoubleValue up_axis_m = 3 [json_name = "upAxisM"]; + bool has_up_axis_m() const; + void clear_up_axis_m() ; + const ::google::protobuf::DoubleValue& up_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_up_axis_m(); + ::google::protobuf::DoubleValue* mutable_up_axis_m(); + void set_allocated_up_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_up_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_up_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_up_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_up_axis_m(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoEllipsoid) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoEllipsoid& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* forward_axis_m_; + ::google::protobuf::DoubleValue* side_axis_m_; + ::google::protobuf::DoubleValue* up_axis_m_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoEllipse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoEllipse) */ { + public: + inline GeoEllipse() : GeoEllipse(nullptr) {} + ~GeoEllipse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoEllipse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoEllipse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoEllipse( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoEllipse(const GeoEllipse& from) : GeoEllipse(nullptr, from) {} + inline GeoEllipse(GeoEllipse&& from) noexcept + : GeoEllipse(nullptr, std::move(from)) {} + inline GeoEllipse& operator=(const GeoEllipse& from) { + CopyFrom(from); + return *this; + } + inline GeoEllipse& operator=(GeoEllipse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoEllipse& default_instance() { + return *internal_default_instance(); + } + static inline const GeoEllipse* internal_default_instance() { + return reinterpret_cast( + &_GeoEllipse_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(GeoEllipse& a, GeoEllipse& b) { a.Swap(&b); } + inline void Swap(GeoEllipse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoEllipse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoEllipse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoEllipse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoEllipse& from) { GeoEllipse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoEllipse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoEllipse"; } + + protected: + explicit GeoEllipse(::google::protobuf::Arena* arena); + GeoEllipse(::google::protobuf::Arena* arena, const GeoEllipse& from); + GeoEllipse(::google::protobuf::Arena* arena, GeoEllipse&& from) noexcept + : GeoEllipse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSemiMajorAxisMFieldNumber = 2, + kSemiMinorAxisMFieldNumber = 3, + kOrientationDFieldNumber = 4, + kHeightMFieldNumber = 5, + }; + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + bool has_semi_major_axis_m() const; + void clear_semi_major_axis_m() ; + const ::google::protobuf::DoubleValue& semi_major_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_semi_major_axis_m(); + ::google::protobuf::DoubleValue* mutable_semi_major_axis_m(); + void set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_semi_major_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_semi_major_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_semi_major_axis_m(); + + public: + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + bool has_semi_minor_axis_m() const; + void clear_semi_minor_axis_m() ; + const ::google::protobuf::DoubleValue& semi_minor_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_semi_minor_axis_m(); + ::google::protobuf::DoubleValue* mutable_semi_minor_axis_m(); + void set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_semi_minor_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_semi_minor_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_semi_minor_axis_m(); + + public: + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + bool has_orientation_d() const; + void clear_orientation_d() ; + const ::google::protobuf::DoubleValue& orientation_d() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_orientation_d(); + ::google::protobuf::DoubleValue* mutable_orientation_d(); + void set_allocated_orientation_d(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_orientation_d(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_orientation_d(); + + private: + const ::google::protobuf::DoubleValue& _internal_orientation_d() const; + ::google::protobuf::DoubleValue* _internal_mutable_orientation_d(); + + public: + // .google.protobuf.DoubleValue height_m = 5 [json_name = "heightM"]; + bool has_height_m() const; + void clear_height_m() ; + const ::google::protobuf::DoubleValue& height_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_height_m(); + ::google::protobuf::DoubleValue* mutable_height_m(); + void set_allocated_height_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_height_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_height_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_height_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_height_m(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoEllipse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoEllipse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* semi_major_axis_m_; + ::google::protobuf::DoubleValue* semi_minor_axis_m_; + ::google::protobuf::DoubleValue* orientation_d_; + ::google::protobuf::DoubleValue* height_m_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoPolygonPosition final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoPolygonPosition) */ { + public: + inline GeoPolygonPosition() : GeoPolygonPosition(nullptr) {} + ~GeoPolygonPosition() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoPolygonPosition* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoPolygonPosition)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoPolygonPosition( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoPolygonPosition(const GeoPolygonPosition& from) : GeoPolygonPosition(nullptr, from) {} + inline GeoPolygonPosition(GeoPolygonPosition&& from) noexcept + : GeoPolygonPosition(nullptr, std::move(from)) {} + inline GeoPolygonPosition& operator=(const GeoPolygonPosition& from) { + CopyFrom(from); + return *this; + } + inline GeoPolygonPosition& operator=(GeoPolygonPosition&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoPolygonPosition& default_instance() { + return *internal_default_instance(); + } + static inline const GeoPolygonPosition* internal_default_instance() { + return reinterpret_cast( + &_GeoPolygonPosition_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(GeoPolygonPosition& a, GeoPolygonPosition& b) { a.Swap(&b); } + inline void Swap(GeoPolygonPosition* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoPolygonPosition* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoPolygonPosition* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoPolygonPosition& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoPolygonPosition& from) { GeoPolygonPosition::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoPolygonPosition* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoPolygonPosition"; } + + protected: + explicit GeoPolygonPosition(::google::protobuf::Arena* arena); + GeoPolygonPosition(::google::protobuf::Arena* arena, const GeoPolygonPosition& from); + GeoPolygonPosition(::google::protobuf::Arena* arena, GeoPolygonPosition&& from) noexcept + : GeoPolygonPosition(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPositionFieldNumber = 1, + kHeightMFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + bool has_position() const; + void clear_position() ; + const ::anduril::entitymanager::v1::Position& position() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_position(); + ::anduril::entitymanager::v1::Position* mutable_position(); + void set_allocated_position(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_position(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_position(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_position() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_position(); + + public: + // .google.protobuf.FloatValue height_m = 2 [json_name = "heightM"]; + bool has_height_m() const; + void clear_height_m() ; + const ::google::protobuf::FloatValue& height_m() const; + PROTOBUF_NODISCARD ::google::protobuf::FloatValue* release_height_m(); + ::google::protobuf::FloatValue* mutable_height_m(); + void set_allocated_height_m(::google::protobuf::FloatValue* value); + void unsafe_arena_set_allocated_height_m(::google::protobuf::FloatValue* value); + ::google::protobuf::FloatValue* unsafe_arena_release_height_m(); + + private: + const ::google::protobuf::FloatValue& _internal_height_m() const; + ::google::protobuf::FloatValue* _internal_mutable_height_m(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoPolygonPosition) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoPolygonPosition& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Position* position_; + ::google::protobuf::FloatValue* height_m_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoPoint final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoPoint) */ { + public: + inline GeoPoint() : GeoPoint(nullptr) {} + ~GeoPoint() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoPoint* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoPoint)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoPoint( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoPoint(const GeoPoint& from) : GeoPoint(nullptr, from) {} + inline GeoPoint(GeoPoint&& from) noexcept + : GeoPoint(nullptr, std::move(from)) {} + inline GeoPoint& operator=(const GeoPoint& from) { + CopyFrom(from); + return *this; + } + inline GeoPoint& operator=(GeoPoint&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoPoint& default_instance() { + return *internal_default_instance(); + } + static inline const GeoPoint* internal_default_instance() { + return reinterpret_cast( + &_GeoPoint_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(GeoPoint& a, GeoPoint& b) { a.Swap(&b); } + inline void Swap(GeoPoint* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoPoint* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoPoint* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoPoint& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoPoint& from) { GeoPoint::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoPoint* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoPoint"; } + + protected: + explicit GeoPoint(::google::protobuf::Arena* arena); + GeoPoint(::google::protobuf::Arena* arena, const GeoPoint& from); + GeoPoint(::google::protobuf::Arena* arena, GeoPoint&& from) noexcept + : GeoPoint(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPositionFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + bool has_position() const; + void clear_position() ; + const ::anduril::entitymanager::v1::Position& position() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_position(); + ::anduril::entitymanager::v1::Position* mutable_position(); + void set_allocated_position(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_position(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_position(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_position() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_position(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoPoint) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoPoint& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Position* position_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoLine final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoLine) */ { + public: + inline GeoLine() : GeoLine(nullptr) {} + ~GeoLine() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoLine* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoLine)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoLine( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoLine(const GeoLine& from) : GeoLine(nullptr, from) {} + inline GeoLine(GeoLine&& from) noexcept + : GeoLine(nullptr, std::move(from)) {} + inline GeoLine& operator=(const GeoLine& from) { + CopyFrom(from); + return *this; + } + inline GeoLine& operator=(GeoLine&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoLine& default_instance() { + return *internal_default_instance(); + } + static inline const GeoLine* internal_default_instance() { + return reinterpret_cast( + &_GeoLine_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(GeoLine& a, GeoLine& b) { a.Swap(&b); } + inline void Swap(GeoLine* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoLine* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoLine* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoLine& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoLine& from) { GeoLine::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoLine* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoLine"; } + + protected: + explicit GeoLine(::google::protobuf::Arena* arena); + GeoLine(::google::protobuf::Arena* arena, const GeoLine& from); + GeoLine(::google::protobuf::Arena* arena, GeoLine&& from) noexcept + : GeoLine(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPositionsFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Position positions = 1 [json_name = "positions"]; + int positions_size() const; + private: + int _internal_positions_size() const; + + public: + void clear_positions() ; + ::anduril::entitymanager::v1::Position* mutable_positions(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>* mutable_positions(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>& _internal_positions() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>* _internal_mutable_positions(); + public: + const ::anduril::entitymanager::v1::Position& positions(int index) const; + ::anduril::entitymanager::v1::Position* add_positions(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>& positions() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoLine) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoLine& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Position > positions_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class LinearRing final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.LinearRing) */ { + public: + inline LinearRing() : LinearRing(nullptr) {} + ~LinearRing() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(LinearRing* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LinearRing)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR LinearRing( + ::google::protobuf::internal::ConstantInitialized); + + inline LinearRing(const LinearRing& from) : LinearRing(nullptr, from) {} + inline LinearRing(LinearRing&& from) noexcept + : LinearRing(nullptr, std::move(from)) {} + inline LinearRing& operator=(const LinearRing& from) { + CopyFrom(from); + return *this; + } + inline LinearRing& operator=(LinearRing&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LinearRing& default_instance() { + return *internal_default_instance(); + } + static inline const LinearRing* internal_default_instance() { + return reinterpret_cast( + &_LinearRing_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(LinearRing& a, LinearRing& b) { a.Swap(&b); } + inline void Swap(LinearRing* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LinearRing* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LinearRing* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const LinearRing& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const LinearRing& from) { LinearRing::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(LinearRing* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.LinearRing"; } + + protected: + explicit LinearRing(::google::protobuf::Arena* arena); + LinearRing(::google::protobuf::Arena* arena, const LinearRing& from); + LinearRing(::google::protobuf::Arena* arena, LinearRing&& from) noexcept + : LinearRing(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPositionsFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.GeoPolygonPosition positions = 2 [json_name = "positions"]; + int positions_size() const; + private: + int _internal_positions_size() const; + + public: + void clear_positions() ; + ::anduril::entitymanager::v1::GeoPolygonPosition* mutable_positions(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>* mutable_positions(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>& _internal_positions() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>* _internal_mutable_positions(); + public: + const ::anduril::entitymanager::v1::GeoPolygonPosition& positions(int index) const; + ::anduril::entitymanager::v1::GeoPolygonPosition* add_positions(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>& positions() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.LinearRing) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const LinearRing& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::GeoPolygonPosition > positions_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoPolygon final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoPolygon) */ { + public: + inline GeoPolygon() : GeoPolygon(nullptr) {} + ~GeoPolygon() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoPolygon* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoPolygon)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoPolygon( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoPolygon(const GeoPolygon& from) : GeoPolygon(nullptr, from) {} + inline GeoPolygon(GeoPolygon&& from) noexcept + : GeoPolygon(nullptr, std::move(from)) {} + inline GeoPolygon& operator=(const GeoPolygon& from) { + CopyFrom(from); + return *this; + } + inline GeoPolygon& operator=(GeoPolygon&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoPolygon& default_instance() { + return *internal_default_instance(); + } + static inline const GeoPolygon* internal_default_instance() { + return reinterpret_cast( + &_GeoPolygon_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(GeoPolygon& a, GeoPolygon& b) { a.Swap(&b); } + inline void Swap(GeoPolygon* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoPolygon* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoPolygon* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoPolygon& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoPolygon& from) { GeoPolygon::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoPolygon* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoPolygon"; } + + protected: + explicit GeoPolygon(::google::protobuf::Arena* arena); + GeoPolygon(::google::protobuf::Arena* arena, const GeoPolygon& from); + GeoPolygon(::google::protobuf::Arena* arena, GeoPolygon&& from) noexcept + : GeoPolygon(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRingsFieldNumber = 1, + kIsRectangleFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.LinearRing rings = 1 [json_name = "rings"]; + int rings_size() const; + private: + int _internal_rings_size() const; + + public: + void clear_rings() ; + ::anduril::entitymanager::v1::LinearRing* mutable_rings(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>* mutable_rings(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>& _internal_rings() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>* _internal_mutable_rings(); + public: + const ::anduril::entitymanager::v1::LinearRing& rings(int index) const; + ::anduril::entitymanager::v1::LinearRing* add_rings(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>& rings() const; + // bool is_rectangle = 2 [json_name = "isRectangle"]; + void clear_is_rectangle() ; + bool is_rectangle() const; + void set_is_rectangle(bool value); + + private: + bool _internal_is_rectangle() const; + void _internal_set_is_rectangle(bool value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoPolygon) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoPolygon& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::LinearRing > rings_; + bool is_rectangle_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GeoShape final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GeoShape) */ { + public: + inline GeoShape() : GeoShape(nullptr) {} + ~GeoShape() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GeoShape* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GeoShape)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GeoShape( + ::google::protobuf::internal::ConstantInitialized); + + inline GeoShape(const GeoShape& from) : GeoShape(nullptr, from) {} + inline GeoShape(GeoShape&& from) noexcept + : GeoShape(nullptr, std::move(from)) {} + inline GeoShape& operator=(const GeoShape& from) { + CopyFrom(from); + return *this; + } + inline GeoShape& operator=(GeoShape&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GeoShape& default_instance() { + return *internal_default_instance(); + } + enum ShapeCase { + kPoint = 1, + kLine = 2, + kPolygon = 3, + kEllipse = 4, + kEllipsoid = 5, + SHAPE_NOT_SET = 0, + }; + static inline const GeoShape* internal_default_instance() { + return reinterpret_cast( + &_GeoShape_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(GeoShape& a, GeoShape& b) { a.Swap(&b); } + inline void Swap(GeoShape* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeoShape* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GeoShape* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GeoShape& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GeoShape& from) { GeoShape::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GeoShape* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GeoShape"; } + + protected: + explicit GeoShape(::google::protobuf::Arena* arena); + GeoShape(::google::protobuf::Arena* arena, const GeoShape& from); + GeoShape(::google::protobuf::Arena* arena, GeoShape&& from) noexcept + : GeoShape(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPointFieldNumber = 1, + kLineFieldNumber = 2, + kPolygonFieldNumber = 3, + kEllipseFieldNumber = 4, + kEllipsoidFieldNumber = 5, + }; + // .anduril.entitymanager.v1.GeoPoint point = 1 [json_name = "point"]; + bool has_point() const; + private: + bool _internal_has_point() const; + + public: + void clear_point() ; + const ::anduril::entitymanager::v1::GeoPoint& point() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoPoint* release_point(); + ::anduril::entitymanager::v1::GeoPoint* mutable_point(); + void set_allocated_point(::anduril::entitymanager::v1::GeoPoint* value); + void unsafe_arena_set_allocated_point(::anduril::entitymanager::v1::GeoPoint* value); + ::anduril::entitymanager::v1::GeoPoint* unsafe_arena_release_point(); + + private: + const ::anduril::entitymanager::v1::GeoPoint& _internal_point() const; + ::anduril::entitymanager::v1::GeoPoint* _internal_mutable_point(); + + public: + // .anduril.entitymanager.v1.GeoLine line = 2 [json_name = "line"]; + bool has_line() const; + private: + bool _internal_has_line() const; + + public: + void clear_line() ; + const ::anduril::entitymanager::v1::GeoLine& line() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoLine* release_line(); + ::anduril::entitymanager::v1::GeoLine* mutable_line(); + void set_allocated_line(::anduril::entitymanager::v1::GeoLine* value); + void unsafe_arena_set_allocated_line(::anduril::entitymanager::v1::GeoLine* value); + ::anduril::entitymanager::v1::GeoLine* unsafe_arena_release_line(); + + private: + const ::anduril::entitymanager::v1::GeoLine& _internal_line() const; + ::anduril::entitymanager::v1::GeoLine* _internal_mutable_line(); + + public: + // .anduril.entitymanager.v1.GeoPolygon polygon = 3 [json_name = "polygon"]; + bool has_polygon() const; + private: + bool _internal_has_polygon() const; + + public: + void clear_polygon() ; + const ::anduril::entitymanager::v1::GeoPolygon& polygon() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoPolygon* release_polygon(); + ::anduril::entitymanager::v1::GeoPolygon* mutable_polygon(); + void set_allocated_polygon(::anduril::entitymanager::v1::GeoPolygon* value); + void unsafe_arena_set_allocated_polygon(::anduril::entitymanager::v1::GeoPolygon* value); + ::anduril::entitymanager::v1::GeoPolygon* unsafe_arena_release_polygon(); + + private: + const ::anduril::entitymanager::v1::GeoPolygon& _internal_polygon() const; + ::anduril::entitymanager::v1::GeoPolygon* _internal_mutable_polygon(); + + public: + // .anduril.entitymanager.v1.GeoEllipse ellipse = 4 [json_name = "ellipse"]; + bool has_ellipse() const; + private: + bool _internal_has_ellipse() const; + + public: + void clear_ellipse() ; + const ::anduril::entitymanager::v1::GeoEllipse& ellipse() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoEllipse* release_ellipse(); + ::anduril::entitymanager::v1::GeoEllipse* mutable_ellipse(); + void set_allocated_ellipse(::anduril::entitymanager::v1::GeoEllipse* value); + void unsafe_arena_set_allocated_ellipse(::anduril::entitymanager::v1::GeoEllipse* value); + ::anduril::entitymanager::v1::GeoEllipse* unsafe_arena_release_ellipse(); + + private: + const ::anduril::entitymanager::v1::GeoEllipse& _internal_ellipse() const; + ::anduril::entitymanager::v1::GeoEllipse* _internal_mutable_ellipse(); + + public: + // .anduril.entitymanager.v1.GeoEllipsoid ellipsoid = 5 [json_name = "ellipsoid"]; + bool has_ellipsoid() const; + private: + bool _internal_has_ellipsoid() const; + + public: + void clear_ellipsoid() ; + const ::anduril::entitymanager::v1::GeoEllipsoid& ellipsoid() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GeoEllipsoid* release_ellipsoid(); + ::anduril::entitymanager::v1::GeoEllipsoid* mutable_ellipsoid(); + void set_allocated_ellipsoid(::anduril::entitymanager::v1::GeoEllipsoid* value); + void unsafe_arena_set_allocated_ellipsoid(::anduril::entitymanager::v1::GeoEllipsoid* value); + ::anduril::entitymanager::v1::GeoEllipsoid* unsafe_arena_release_ellipsoid(); + + private: + const ::anduril::entitymanager::v1::GeoEllipsoid& _internal_ellipsoid() const; + ::anduril::entitymanager::v1::GeoEllipsoid* _internal_mutable_ellipsoid(); + + public: + void clear_shape(); + ShapeCase shape_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GeoShape) + private: + class _Internal; + void set_has_point(); + void set_has_line(); + void set_has_polygon(); + void set_has_ellipse(); + void set_has_ellipsoid(); + inline bool has_shape() const; + inline void clear_has_shape(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 5, 5, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GeoShape& from_msg); + union ShapeUnion { + constexpr ShapeUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::GeoPoint* point_; + ::anduril::entitymanager::v1::GeoLine* line_; + ::anduril::entitymanager::v1::GeoPolygon* polygon_; + ::anduril::entitymanager::v1::GeoEllipse* ellipse_; + ::anduril::entitymanager::v1::GeoEllipsoid* ellipsoid_; + } shape_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// GeoDetails + +// .anduril.entitymanager.v1.GeoType type = 1 [json_name = "type"]; +inline void GeoDetails::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::anduril::entitymanager::v1::GeoType GeoDetails::type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoDetails.type) + return _internal_type(); +} +inline void GeoDetails::set_type(::anduril::entitymanager::v1::GeoType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.GeoDetails.type) +} +inline ::anduril::entitymanager::v1::GeoType GeoDetails::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::GeoType>(_impl_.type_); +} +inline void GeoDetails::_internal_set_type(::anduril::entitymanager::v1::GeoType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +// ------------------------------------------------------------------- + +// GeoShape + +// .anduril.entitymanager.v1.GeoPoint point = 1 [json_name = "point"]; +inline bool GeoShape::has_point() const { + return shape_case() == kPoint; +} +inline bool GeoShape::_internal_has_point() const { + return shape_case() == kPoint; +} +inline void GeoShape::set_has_point() { + _impl_._oneof_case_[0] = kPoint; +} +inline void GeoShape::clear_point() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (shape_case() == kPoint) { + if (GetArena() == nullptr) { + delete _impl_.shape_.point_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.point_); + } + clear_has_shape(); + } +} +inline ::anduril::entitymanager::v1::GeoPoint* GeoShape::release_point() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoShape.point) + if (shape_case() == kPoint) { + clear_has_shape(); + auto* temp = _impl_.shape_.point_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.shape_.point_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GeoPoint& GeoShape::_internal_point() const { + return shape_case() == kPoint ? *_impl_.shape_.point_ : reinterpret_cast<::anduril::entitymanager::v1::GeoPoint&>(::anduril::entitymanager::v1::_GeoPoint_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoPoint& GeoShape::point() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoShape.point) + return _internal_point(); +} +inline ::anduril::entitymanager::v1::GeoPoint* GeoShape::unsafe_arena_release_point() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.GeoShape.point) + if (shape_case() == kPoint) { + clear_has_shape(); + auto* temp = _impl_.shape_.point_; + _impl_.shape_.point_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeoShape::unsafe_arena_set_allocated_point(::anduril::entitymanager::v1::GeoPoint* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_shape(); + if (value) { + set_has_point(); + _impl_.shape_.point_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoShape.point) +} +inline ::anduril::entitymanager::v1::GeoPoint* GeoShape::_internal_mutable_point() { + if (shape_case() != kPoint) { + clear_shape(); + set_has_point(); + _impl_.shape_.point_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoPoint>(GetArena()); + } + return _impl_.shape_.point_; +} +inline ::anduril::entitymanager::v1::GeoPoint* GeoShape::mutable_point() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GeoPoint* _msg = _internal_mutable_point(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoShape.point) + return _msg; +} + +// .anduril.entitymanager.v1.GeoLine line = 2 [json_name = "line"]; +inline bool GeoShape::has_line() const { + return shape_case() == kLine; +} +inline bool GeoShape::_internal_has_line() const { + return shape_case() == kLine; +} +inline void GeoShape::set_has_line() { + _impl_._oneof_case_[0] = kLine; +} +inline void GeoShape::clear_line() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (shape_case() == kLine) { + if (GetArena() == nullptr) { + delete _impl_.shape_.line_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.line_); + } + clear_has_shape(); + } +} +inline ::anduril::entitymanager::v1::GeoLine* GeoShape::release_line() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoShape.line) + if (shape_case() == kLine) { + clear_has_shape(); + auto* temp = _impl_.shape_.line_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.shape_.line_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GeoLine& GeoShape::_internal_line() const { + return shape_case() == kLine ? *_impl_.shape_.line_ : reinterpret_cast<::anduril::entitymanager::v1::GeoLine&>(::anduril::entitymanager::v1::_GeoLine_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoLine& GeoShape::line() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoShape.line) + return _internal_line(); +} +inline ::anduril::entitymanager::v1::GeoLine* GeoShape::unsafe_arena_release_line() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.GeoShape.line) + if (shape_case() == kLine) { + clear_has_shape(); + auto* temp = _impl_.shape_.line_; + _impl_.shape_.line_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeoShape::unsafe_arena_set_allocated_line(::anduril::entitymanager::v1::GeoLine* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_shape(); + if (value) { + set_has_line(); + _impl_.shape_.line_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoShape.line) +} +inline ::anduril::entitymanager::v1::GeoLine* GeoShape::_internal_mutable_line() { + if (shape_case() != kLine) { + clear_shape(); + set_has_line(); + _impl_.shape_.line_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoLine>(GetArena()); + } + return _impl_.shape_.line_; +} +inline ::anduril::entitymanager::v1::GeoLine* GeoShape::mutable_line() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GeoLine* _msg = _internal_mutable_line(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoShape.line) + return _msg; +} + +// .anduril.entitymanager.v1.GeoPolygon polygon = 3 [json_name = "polygon"]; +inline bool GeoShape::has_polygon() const { + return shape_case() == kPolygon; +} +inline bool GeoShape::_internal_has_polygon() const { + return shape_case() == kPolygon; +} +inline void GeoShape::set_has_polygon() { + _impl_._oneof_case_[0] = kPolygon; +} +inline void GeoShape::clear_polygon() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (shape_case() == kPolygon) { + if (GetArena() == nullptr) { + delete _impl_.shape_.polygon_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.polygon_); + } + clear_has_shape(); + } +} +inline ::anduril::entitymanager::v1::GeoPolygon* GeoShape::release_polygon() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoShape.polygon) + if (shape_case() == kPolygon) { + clear_has_shape(); + auto* temp = _impl_.shape_.polygon_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.shape_.polygon_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GeoPolygon& GeoShape::_internal_polygon() const { + return shape_case() == kPolygon ? *_impl_.shape_.polygon_ : reinterpret_cast<::anduril::entitymanager::v1::GeoPolygon&>(::anduril::entitymanager::v1::_GeoPolygon_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoPolygon& GeoShape::polygon() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoShape.polygon) + return _internal_polygon(); +} +inline ::anduril::entitymanager::v1::GeoPolygon* GeoShape::unsafe_arena_release_polygon() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.GeoShape.polygon) + if (shape_case() == kPolygon) { + clear_has_shape(); + auto* temp = _impl_.shape_.polygon_; + _impl_.shape_.polygon_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeoShape::unsafe_arena_set_allocated_polygon(::anduril::entitymanager::v1::GeoPolygon* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_shape(); + if (value) { + set_has_polygon(); + _impl_.shape_.polygon_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoShape.polygon) +} +inline ::anduril::entitymanager::v1::GeoPolygon* GeoShape::_internal_mutable_polygon() { + if (shape_case() != kPolygon) { + clear_shape(); + set_has_polygon(); + _impl_.shape_.polygon_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoPolygon>(GetArena()); + } + return _impl_.shape_.polygon_; +} +inline ::anduril::entitymanager::v1::GeoPolygon* GeoShape::mutable_polygon() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GeoPolygon* _msg = _internal_mutable_polygon(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoShape.polygon) + return _msg; +} + +// .anduril.entitymanager.v1.GeoEllipse ellipse = 4 [json_name = "ellipse"]; +inline bool GeoShape::has_ellipse() const { + return shape_case() == kEllipse; +} +inline bool GeoShape::_internal_has_ellipse() const { + return shape_case() == kEllipse; +} +inline void GeoShape::set_has_ellipse() { + _impl_._oneof_case_[0] = kEllipse; +} +inline void GeoShape::clear_ellipse() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (shape_case() == kEllipse) { + if (GetArena() == nullptr) { + delete _impl_.shape_.ellipse_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.ellipse_); + } + clear_has_shape(); + } +} +inline ::anduril::entitymanager::v1::GeoEllipse* GeoShape::release_ellipse() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoShape.ellipse) + if (shape_case() == kEllipse) { + clear_has_shape(); + auto* temp = _impl_.shape_.ellipse_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.shape_.ellipse_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GeoEllipse& GeoShape::_internal_ellipse() const { + return shape_case() == kEllipse ? *_impl_.shape_.ellipse_ : reinterpret_cast<::anduril::entitymanager::v1::GeoEllipse&>(::anduril::entitymanager::v1::_GeoEllipse_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoEllipse& GeoShape::ellipse() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoShape.ellipse) + return _internal_ellipse(); +} +inline ::anduril::entitymanager::v1::GeoEllipse* GeoShape::unsafe_arena_release_ellipse() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.GeoShape.ellipse) + if (shape_case() == kEllipse) { + clear_has_shape(); + auto* temp = _impl_.shape_.ellipse_; + _impl_.shape_.ellipse_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeoShape::unsafe_arena_set_allocated_ellipse(::anduril::entitymanager::v1::GeoEllipse* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_shape(); + if (value) { + set_has_ellipse(); + _impl_.shape_.ellipse_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoShape.ellipse) +} +inline ::anduril::entitymanager::v1::GeoEllipse* GeoShape::_internal_mutable_ellipse() { + if (shape_case() != kEllipse) { + clear_shape(); + set_has_ellipse(); + _impl_.shape_.ellipse_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoEllipse>(GetArena()); + } + return _impl_.shape_.ellipse_; +} +inline ::anduril::entitymanager::v1::GeoEllipse* GeoShape::mutable_ellipse() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GeoEllipse* _msg = _internal_mutable_ellipse(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoShape.ellipse) + return _msg; +} + +// .anduril.entitymanager.v1.GeoEllipsoid ellipsoid = 5 [json_name = "ellipsoid"]; +inline bool GeoShape::has_ellipsoid() const { + return shape_case() == kEllipsoid; +} +inline bool GeoShape::_internal_has_ellipsoid() const { + return shape_case() == kEllipsoid; +} +inline void GeoShape::set_has_ellipsoid() { + _impl_._oneof_case_[0] = kEllipsoid; +} +inline void GeoShape::clear_ellipsoid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (shape_case() == kEllipsoid) { + if (GetArena() == nullptr) { + delete _impl_.shape_.ellipsoid_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.shape_.ellipsoid_); + } + clear_has_shape(); + } +} +inline ::anduril::entitymanager::v1::GeoEllipsoid* GeoShape::release_ellipsoid() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoShape.ellipsoid) + if (shape_case() == kEllipsoid) { + clear_has_shape(); + auto* temp = _impl_.shape_.ellipsoid_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.shape_.ellipsoid_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GeoEllipsoid& GeoShape::_internal_ellipsoid() const { + return shape_case() == kEllipsoid ? *_impl_.shape_.ellipsoid_ : reinterpret_cast<::anduril::entitymanager::v1::GeoEllipsoid&>(::anduril::entitymanager::v1::_GeoEllipsoid_default_instance_); +} +inline const ::anduril::entitymanager::v1::GeoEllipsoid& GeoShape::ellipsoid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoShape.ellipsoid) + return _internal_ellipsoid(); +} +inline ::anduril::entitymanager::v1::GeoEllipsoid* GeoShape::unsafe_arena_release_ellipsoid() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.GeoShape.ellipsoid) + if (shape_case() == kEllipsoid) { + clear_has_shape(); + auto* temp = _impl_.shape_.ellipsoid_; + _impl_.shape_.ellipsoid_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeoShape::unsafe_arena_set_allocated_ellipsoid(::anduril::entitymanager::v1::GeoEllipsoid* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_shape(); + if (value) { + set_has_ellipsoid(); + _impl_.shape_.ellipsoid_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoShape.ellipsoid) +} +inline ::anduril::entitymanager::v1::GeoEllipsoid* GeoShape::_internal_mutable_ellipsoid() { + if (shape_case() != kEllipsoid) { + clear_shape(); + set_has_ellipsoid(); + _impl_.shape_.ellipsoid_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GeoEllipsoid>(GetArena()); + } + return _impl_.shape_.ellipsoid_; +} +inline ::anduril::entitymanager::v1::GeoEllipsoid* GeoShape::mutable_ellipsoid() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GeoEllipsoid* _msg = _internal_mutable_ellipsoid(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoShape.ellipsoid) + return _msg; +} + +inline bool GeoShape::has_shape() const { + return shape_case() != SHAPE_NOT_SET; +} +inline void GeoShape::clear_has_shape() { + _impl_._oneof_case_[0] = SHAPE_NOT_SET; +} +inline GeoShape::ShapeCase GeoShape::shape_case() const { + return GeoShape::ShapeCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// GeoPoint + +// .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; +inline bool GeoPoint::has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& GeoPoint::_internal_position() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& GeoPoint::position() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoPoint.position) + return _internal_position(); +} +inline void GeoPoint::unsafe_arena_set_allocated_position(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_); + } + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoPoint.position) +} +inline ::anduril::entitymanager::v1::Position* GeoPoint::release_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* released = _impl_.position_; + _impl_.position_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* GeoPoint::unsafe_arena_release_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoPoint.position) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* GeoPoint::_internal_mutable_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.position_; +} +inline ::anduril::entitymanager::v1::Position* GeoPoint::mutable_position() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoPoint.position) + return _msg; +} +inline void GeoPoint::set_allocated_position(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoPoint.position) +} + +// ------------------------------------------------------------------- + +// GeoLine + +// repeated .anduril.entitymanager.v1.Position positions = 1 [json_name = "positions"]; +inline int GeoLine::_internal_positions_size() const { + return _internal_positions().size(); +} +inline int GeoLine::positions_size() const { + return _internal_positions_size(); +} +inline ::anduril::entitymanager::v1::Position* GeoLine::mutable_positions(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoLine.positions) + return _internal_mutable_positions()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>* GeoLine::mutable_positions() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.GeoLine.positions) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_positions(); +} +inline const ::anduril::entitymanager::v1::Position& GeoLine::positions(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoLine.positions) + return _internal_positions().Get(index); +} +inline ::anduril::entitymanager::v1::Position* GeoLine::add_positions() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Position* _add = _internal_mutable_positions()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.GeoLine.positions) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>& GeoLine::positions() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.GeoLine.positions) + return _internal_positions(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>& +GeoLine::_internal_positions() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.positions_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Position>* +GeoLine::_internal_mutable_positions() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.positions_; +} + +// ------------------------------------------------------------------- + +// GeoPolygon + +// repeated .anduril.entitymanager.v1.LinearRing rings = 1 [json_name = "rings"]; +inline int GeoPolygon::_internal_rings_size() const { + return _internal_rings().size(); +} +inline int GeoPolygon::rings_size() const { + return _internal_rings_size(); +} +inline void GeoPolygon::clear_rings() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rings_.Clear(); +} +inline ::anduril::entitymanager::v1::LinearRing* GeoPolygon::mutable_rings(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoPolygon.rings) + return _internal_mutable_rings()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>* GeoPolygon::mutable_rings() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.GeoPolygon.rings) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_rings(); +} +inline const ::anduril::entitymanager::v1::LinearRing& GeoPolygon::rings(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoPolygon.rings) + return _internal_rings().Get(index); +} +inline ::anduril::entitymanager::v1::LinearRing* GeoPolygon::add_rings() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::LinearRing* _add = _internal_mutable_rings()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.GeoPolygon.rings) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>& GeoPolygon::rings() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.GeoPolygon.rings) + return _internal_rings(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>& +GeoPolygon::_internal_rings() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rings_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::LinearRing>* +GeoPolygon::_internal_mutable_rings() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.rings_; +} + +// bool is_rectangle = 2 [json_name = "isRectangle"]; +inline void GeoPolygon::clear_is_rectangle() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_rectangle_ = false; +} +inline bool GeoPolygon::is_rectangle() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoPolygon.is_rectangle) + return _internal_is_rectangle(); +} +inline void GeoPolygon::set_is_rectangle(bool value) { + _internal_set_is_rectangle(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.GeoPolygon.is_rectangle) +} +inline bool GeoPolygon::_internal_is_rectangle() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_rectangle_; +} +inline void GeoPolygon::_internal_set_is_rectangle(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_rectangle_ = value; +} + +// ------------------------------------------------------------------- + +// GeoEllipse + +// .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; +inline bool GeoEllipse::has_semi_major_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.semi_major_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::_internal_semi_major_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.semi_major_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::semi_major_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipse.semi_major_axis_m) + return _internal_semi_major_axis_m(); +} +inline void GeoEllipse::unsafe_arena_set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_major_axis_m_); + } + _impl_.semi_major_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipse.semi_major_axis_m) +} +inline ::google::protobuf::DoubleValue* GeoEllipse::release_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.semi_major_axis_m_; + _impl_.semi_major_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::unsafe_arena_release_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipse.semi_major_axis_m) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.semi_major_axis_m_; + _impl_.semi_major_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::_internal_mutable_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_major_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.semi_major_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.semi_major_axis_m_; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::mutable_semi_major_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_semi_major_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipse.semi_major_axis_m) + return _msg; +} +inline void GeoEllipse::set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_major_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.semi_major_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipse.semi_major_axis_m) +} + +// .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; +inline bool GeoEllipse::has_semi_minor_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.semi_minor_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::_internal_semi_minor_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.semi_minor_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::semi_minor_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipse.semi_minor_axis_m) + return _internal_semi_minor_axis_m(); +} +inline void GeoEllipse::unsafe_arena_set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_minor_axis_m_); + } + _impl_.semi_minor_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipse.semi_minor_axis_m) +} +inline ::google::protobuf::DoubleValue* GeoEllipse::release_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.semi_minor_axis_m_; + _impl_.semi_minor_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::unsafe_arena_release_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipse.semi_minor_axis_m) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.semi_minor_axis_m_; + _impl_.semi_minor_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::_internal_mutable_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_minor_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.semi_minor_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.semi_minor_axis_m_; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::mutable_semi_minor_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_semi_minor_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipse.semi_minor_axis_m) + return _msg; +} +inline void GeoEllipse::set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_minor_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.semi_minor_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipse.semi_minor_axis_m) +} + +// .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; +inline bool GeoEllipse::has_orientation_d() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orientation_d_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::_internal_orientation_d() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.orientation_d_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::orientation_d() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipse.orientation_d) + return _internal_orientation_d(); +} +inline void GeoEllipse::unsafe_arena_set_allocated_orientation_d(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orientation_d_); + } + _impl_.orientation_d_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipse.orientation_d) +} +inline ::google::protobuf::DoubleValue* GeoEllipse::release_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* released = _impl_.orientation_d_; + _impl_.orientation_d_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::unsafe_arena_release_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipse.orientation_d) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* temp = _impl_.orientation_d_; + _impl_.orientation_d_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::_internal_mutable_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orientation_d_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.orientation_d_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.orientation_d_; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::mutable_orientation_d() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_orientation_d(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipse.orientation_d) + return _msg; +} +inline void GeoEllipse::set_allocated_orientation_d(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orientation_d_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.orientation_d_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipse.orientation_d) +} + +// .google.protobuf.DoubleValue height_m = 5 [json_name = "heightM"]; +inline bool GeoEllipse::has_height_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.height_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::_internal_height_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.height_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipse::height_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipse.height_m) + return _internal_height_m(); +} +inline void GeoEllipse::unsafe_arena_set_allocated_height_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.height_m_); + } + _impl_.height_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipse.height_m) +} +inline ::google::protobuf::DoubleValue* GeoEllipse::release_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* released = _impl_.height_m_; + _impl_.height_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::unsafe_arena_release_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipse.height_m) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* temp = _impl_.height_m_; + _impl_.height_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::_internal_mutable_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.height_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.height_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.height_m_; +} +inline ::google::protobuf::DoubleValue* GeoEllipse::mutable_height_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_height_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipse.height_m) + return _msg; +} +inline void GeoEllipse::set_allocated_height_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.height_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.height_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipse.height_m) +} + +// ------------------------------------------------------------------- + +// GeoEllipsoid + +// .google.protobuf.DoubleValue forward_axis_m = 1 [json_name = "forwardAxisM"]; +inline bool GeoEllipsoid::has_forward_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.forward_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipsoid::_internal_forward_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.forward_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipsoid::forward_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipsoid.forward_axis_m) + return _internal_forward_axis_m(); +} +inline void GeoEllipsoid::unsafe_arena_set_allocated_forward_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.forward_axis_m_); + } + _impl_.forward_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipsoid.forward_axis_m) +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::release_forward_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.forward_axis_m_; + _impl_.forward_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::unsafe_arena_release_forward_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipsoid.forward_axis_m) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.forward_axis_m_; + _impl_.forward_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::_internal_mutable_forward_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.forward_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.forward_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.forward_axis_m_; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::mutable_forward_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_forward_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipsoid.forward_axis_m) + return _msg; +} +inline void GeoEllipsoid::set_allocated_forward_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.forward_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.forward_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipsoid.forward_axis_m) +} + +// .google.protobuf.DoubleValue side_axis_m = 2 [json_name = "sideAxisM"]; +inline bool GeoEllipsoid::has_side_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.side_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipsoid::_internal_side_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.side_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipsoid::side_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipsoid.side_axis_m) + return _internal_side_axis_m(); +} +inline void GeoEllipsoid::unsafe_arena_set_allocated_side_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.side_axis_m_); + } + _impl_.side_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipsoid.side_axis_m) +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::release_side_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.side_axis_m_; + _impl_.side_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::unsafe_arena_release_side_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipsoid.side_axis_m) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.side_axis_m_; + _impl_.side_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::_internal_mutable_side_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.side_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.side_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.side_axis_m_; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::mutable_side_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_side_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipsoid.side_axis_m) + return _msg; +} +inline void GeoEllipsoid::set_allocated_side_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.side_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.side_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipsoid.side_axis_m) +} + +// .google.protobuf.DoubleValue up_axis_m = 3 [json_name = "upAxisM"]; +inline bool GeoEllipsoid::has_up_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.up_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& GeoEllipsoid::_internal_up_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.up_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& GeoEllipsoid::up_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoEllipsoid.up_axis_m) + return _internal_up_axis_m(); +} +inline void GeoEllipsoid::unsafe_arena_set_allocated_up_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.up_axis_m_); + } + _impl_.up_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoEllipsoid.up_axis_m) +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::release_up_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* released = _impl_.up_axis_m_; + _impl_.up_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::unsafe_arena_release_up_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoEllipsoid.up_axis_m) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* temp = _impl_.up_axis_m_; + _impl_.up_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::_internal_mutable_up_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.up_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.up_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.up_axis_m_; +} +inline ::google::protobuf::DoubleValue* GeoEllipsoid::mutable_up_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_up_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoEllipsoid.up_axis_m) + return _msg; +} +inline void GeoEllipsoid::set_allocated_up_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.up_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.up_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoEllipsoid.up_axis_m) +} + +// ------------------------------------------------------------------- + +// LinearRing + +// repeated .anduril.entitymanager.v1.GeoPolygonPosition positions = 2 [json_name = "positions"]; +inline int LinearRing::_internal_positions_size() const { + return _internal_positions().size(); +} +inline int LinearRing::positions_size() const { + return _internal_positions_size(); +} +inline void LinearRing::clear_positions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.positions_.Clear(); +} +inline ::anduril::entitymanager::v1::GeoPolygonPosition* LinearRing::mutable_positions(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LinearRing.positions) + return _internal_mutable_positions()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>* LinearRing::mutable_positions() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.LinearRing.positions) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_positions(); +} +inline const ::anduril::entitymanager::v1::GeoPolygonPosition& LinearRing::positions(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LinearRing.positions) + return _internal_positions().Get(index); +} +inline ::anduril::entitymanager::v1::GeoPolygonPosition* LinearRing::add_positions() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::GeoPolygonPosition* _add = _internal_mutable_positions()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.LinearRing.positions) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>& LinearRing::positions() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.LinearRing.positions) + return _internal_positions(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>& +LinearRing::_internal_positions() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.positions_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::GeoPolygonPosition>* +LinearRing::_internal_mutable_positions() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.positions_; +} + +// ------------------------------------------------------------------- + +// GeoPolygonPosition + +// .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; +inline bool GeoPolygonPosition::has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& GeoPolygonPosition::_internal_position() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& GeoPolygonPosition::position() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoPolygonPosition.position) + return _internal_position(); +} +inline void GeoPolygonPosition::unsafe_arena_set_allocated_position(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_); + } + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoPolygonPosition.position) +} +inline ::anduril::entitymanager::v1::Position* GeoPolygonPosition::release_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* released = _impl_.position_; + _impl_.position_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* GeoPolygonPosition::unsafe_arena_release_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoPolygonPosition.position) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* GeoPolygonPosition::_internal_mutable_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.position_; +} +inline ::anduril::entitymanager::v1::Position* GeoPolygonPosition::mutable_position() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoPolygonPosition.position) + return _msg; +} +inline void GeoPolygonPosition::set_allocated_position(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoPolygonPosition.position) +} + +// .google.protobuf.FloatValue height_m = 2 [json_name = "heightM"]; +inline bool GeoPolygonPosition::has_height_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.height_m_ != nullptr); + return value; +} +inline const ::google::protobuf::FloatValue& GeoPolygonPosition::_internal_height_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::FloatValue* p = _impl_.height_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_FloatValue_default_instance_); +} +inline const ::google::protobuf::FloatValue& GeoPolygonPosition::height_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.GeoPolygonPosition.height_m) + return _internal_height_m(); +} +inline void GeoPolygonPosition::unsafe_arena_set_allocated_height_m(::google::protobuf::FloatValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.height_m_); + } + _impl_.height_m_ = reinterpret_cast<::google::protobuf::FloatValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.GeoPolygonPosition.height_m) +} +inline ::google::protobuf::FloatValue* GeoPolygonPosition::release_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::FloatValue* released = _impl_.height_m_; + _impl_.height_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::FloatValue* GeoPolygonPosition::unsafe_arena_release_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.GeoPolygonPosition.height_m) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::FloatValue* temp = _impl_.height_m_; + _impl_.height_m_ = nullptr; + return temp; +} +inline ::google::protobuf::FloatValue* GeoPolygonPosition::_internal_mutable_height_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.height_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FloatValue>(GetArena()); + _impl_.height_m_ = reinterpret_cast<::google::protobuf::FloatValue*>(p); + } + return _impl_.height_m_; +} +inline ::google::protobuf::FloatValue* GeoPolygonPosition::mutable_height_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::FloatValue* _msg = _internal_mutable_height_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.GeoPolygonPosition.height_m) + return _msg; +} +inline void GeoPolygonPosition::set_allocated_height_m(::google::protobuf::FloatValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.height_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.height_m_ = reinterpret_cast<::google::protobuf::FloatValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.GeoPolygonPosition.height_m) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::GeoType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::GeoType>() { + return ::anduril::entitymanager::v1::GeoType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fgeoentity_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/group.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/group.pub.grpc.pb.cc new file mode 100644 index 0000000..a0dcd9f --- /dev/null +++ b/src/anduril/entitymanager/v1/group.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/group.pub.proto + +#include "anduril/entitymanager/v1/group.pub.pb.h" +#include "anduril/entitymanager/v1/group.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/group.pub.grpc.pb.h b/src/anduril/entitymanager/v1/group.pub.grpc.pb.h new file mode 100644 index 0000000..9bb5e7a --- /dev/null +++ b/src/anduril/entitymanager/v1/group.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/group.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/group.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/group.pub.pb.cc b/src/anduril/entitymanager/v1/group.pub.pb.cc new file mode 100644 index 0000000..1554cd5 --- /dev/null +++ b/src/anduril/entitymanager/v1/group.pub.pb.cc @@ -0,0 +1,223 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/group.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/group.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + template +PROTOBUF_CONSTEXPR GroupDetails::GroupDetails(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GroupDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR GroupDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GroupDetailsDefaultTypeInternal() {} + union { + GroupDetails _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupDetailsDefaultTypeInternal _GroupDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GroupDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::GroupDetails)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_GroupDetails_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n(anduril/entitymanager/v1/group.pub.pro" + "to\022\030anduril.entitymanager.v1\"\016\n\014GroupDet" + "ailsB\376\001\n\034com.anduril.entitymanager.v1B\rG" + "roupPubProtoP\001ZMghe.anduril.dev/anduril/" + "andurilapis-go/anduril/entitymanager/v1;" + "entitymanager\242\002\003AEX\252\002\030Anduril.Entitymana" + "ger.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$Andu" + "ril\\Entitymanager\\V1\\GPBMetadata\352\002\032Andur" + "il::Entitymanager::V1b\006proto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto = { + false, + false, + 349, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto, + "anduril/entitymanager/v1/group.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto_once, + nullptr, + 0, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class GroupDetails::_Internal { + public: +}; + +GroupDetails::GroupDetails(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GroupDetails) +} +GroupDetails::GroupDetails( + ::google::protobuf::Arena* arena, + const GroupDetails& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GroupDetails* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GroupDetails) +} + +inline void* GroupDetails::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GroupDetails(arena); +} +constexpr auto GroupDetails::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GroupDetails), + alignof(GroupDetails)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GroupDetails::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GroupDetails_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GroupDetails::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GroupDetails::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GroupDetails::ByteSizeLong, + &GroupDetails::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GroupDetails, _impl_._cached_size_), + false, + }, + &GroupDetails::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GroupDetails::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GroupDetails::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GroupDetails>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata GroupDetails::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/group.pub.pb.h b/src/anduril/entitymanager/v1/group.pub.pb.h new file mode 100644 index 0000000..a6ad430 --- /dev/null +++ b/src/anduril/entitymanager/v1/group.pub.pb.h @@ -0,0 +1,253 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/group.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class GroupDetails; +struct GroupDetailsDefaultTypeInternal; +extern GroupDetailsDefaultTypeInternal _GroupDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class GroupDetails final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GroupDetails) */ { + public: + inline GroupDetails() : GroupDetails(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GroupDetails* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GroupDetails)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GroupDetails( + ::google::protobuf::internal::ConstantInitialized); + + inline GroupDetails(const GroupDetails& from) : GroupDetails(nullptr, from) {} + inline GroupDetails(GroupDetails&& from) noexcept + : GroupDetails(nullptr, std::move(from)) {} + inline GroupDetails& operator=(const GroupDetails& from) { + CopyFrom(from); + return *this; + } + inline GroupDetails& operator=(GroupDetails&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GroupDetails& default_instance() { + return *internal_default_instance(); + } + static inline const GroupDetails* internal_default_instance() { + return reinterpret_cast( + &_GroupDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(GroupDetails& a, GroupDetails& b) { a.Swap(&b); } + inline void Swap(GroupDetails* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GroupDetails* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GroupDetails* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GroupDetails& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GroupDetails& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GroupDetails"; } + + protected: + explicit GroupDetails(::google::protobuf::Arena* arena); + GroupDetails(::google::protobuf::Arena* arena, const GroupDetails& from); + GroupDetails(::google::protobuf::Arena* arena, GroupDetails&& from) noexcept + : GroupDetails(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GroupDetails) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GroupDetails& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// GroupDetails + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fgroup_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/health_status.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/health_status.pub.grpc.pb.cc new file mode 100644 index 0000000..6b28714 --- /dev/null +++ b/src/anduril/entitymanager/v1/health_status.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/health_status.pub.proto + +#include "anduril/entitymanager/v1/health_status.pub.pb.h" +#include "anduril/entitymanager/v1/health_status.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/health_status.pub.grpc.pb.h b/src/anduril/entitymanager/v1/health_status.pub.grpc.pb.h new file mode 100644 index 0000000..bd81368 --- /dev/null +++ b/src/anduril/entitymanager/v1/health_status.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/health_status.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/health_status.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/health_status.pub.pb.cc b/src/anduril/entitymanager/v1/health_status.pub.pb.cc new file mode 100644 index 0000000..3979b2e --- /dev/null +++ b/src/anduril/entitymanager/v1/health_status.pub.pb.cc @@ -0,0 +1,2120 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/health_status.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/health_status.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr ComponentMessage::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : message_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + status_{static_cast< ::anduril::entitymanager::v1::HealthStatus >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ComponentMessage::ComponentMessage(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ComponentMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR ComponentMessageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ComponentMessageDefaultTypeInternal() {} + union { + ComponentMessage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComponentMessageDefaultTypeInternal _ComponentMessage_default_instance_; + +inline constexpr AlertCondition::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : condition_code_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR AlertCondition::AlertCondition(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AlertConditionDefaultTypeInternal { + PROTOBUF_CONSTEXPR AlertConditionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AlertConditionDefaultTypeInternal() {} + union { + AlertCondition _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlertConditionDefaultTypeInternal _AlertCondition_default_instance_; + +inline constexpr ComponentHealth::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + messages_{}, + id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + update_time_{nullptr}, + health_{static_cast< ::anduril::entitymanager::v1::HealthStatus >(0)} {} + +template +PROTOBUF_CONSTEXPR ComponentHealth::ComponentHealth(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ComponentHealthDefaultTypeInternal { + PROTOBUF_CONSTEXPR ComponentHealthDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ComponentHealthDefaultTypeInternal() {} + union { + ComponentHealth _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComponentHealthDefaultTypeInternal _ComponentHealth_default_instance_; + +inline constexpr Alert::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + active_conditions_{}, + alert_code_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + activated_time_{nullptr}, + level_{static_cast< ::anduril::entitymanager::v1::AlertLevel >(0)} {} + +template +PROTOBUF_CONSTEXPR Alert::Alert(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AlertDefaultTypeInternal { + PROTOBUF_CONSTEXPR AlertDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AlertDefaultTypeInternal() {} + union { + Alert _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlertDefaultTypeInternal _Alert_default_instance_; + +inline constexpr Health::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + components_{}, + active_alerts_{}, + update_time_{nullptr}, + connection_status_{static_cast< ::anduril::entitymanager::v1::ConnectionStatus >(0)}, + health_status_{static_cast< ::anduril::entitymanager::v1::HealthStatus >(0)} {} + +template +PROTOBUF_CONSTEXPR Health::Health(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct HealthDefaultTypeInternal { + PROTOBUF_CONSTEXPR HealthDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HealthDefaultTypeInternal() {} + union { + Health _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HealthDefaultTypeInternal _Health_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto[3]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentMessage, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentMessage, _impl_.message_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _impl_.health_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _impl_.messages_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ComponentHealth, _impl_.update_time_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _impl_.connection_status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _impl_.health_status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _impl_.components_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _impl_.update_time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Health, _impl_.active_alerts_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _impl_.alert_code_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _impl_.description_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _impl_.level_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _impl_.activated_time_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Alert, _impl_.active_conditions_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AlertCondition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AlertCondition, _impl_.condition_code_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AlertCondition, _impl_.description_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::ComponentMessage)}, + {10, 23, -1, sizeof(::anduril::entitymanager::v1::ComponentHealth)}, + {28, 41, -1, sizeof(::anduril::entitymanager::v1::Health)}, + {46, 59, -1, sizeof(::anduril::entitymanager::v1::Alert)}, + {64, -1, -1, sizeof(::anduril::entitymanager::v1::AlertCondition)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_ComponentMessage_default_instance_._instance, + &::anduril::entitymanager::v1::_ComponentHealth_default_instance_._instance, + &::anduril::entitymanager::v1::_Health_default_instance_._instance, + &::anduril::entitymanager::v1::_Alert_default_instance_._instance, + &::anduril::entitymanager::v1::_AlertCondition_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n0anduril/entitymanager/v1/health_status" + ".pub.proto\022\030anduril.entitymanager.v1\032\037go" + "ogle/protobuf/timestamp.proto\"l\n\020Compone" + "ntMessage\022>\n\006status\030\001 \001(\0162&.anduril.enti" + "tymanager.v1.HealthStatusR\006status\022\030\n\007mes" + "sage\030\002 \001(\tR\007message\"\372\001\n\017ComponentHealth\022" + "\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\022>\n\006h" + "ealth\030\003 \001(\0162&.anduril.entitymanager.v1.H" + "ealthStatusR\006health\022F\n\010messages\030\004 \003(\0132*." + "anduril.entitymanager.v1.ComponentMessag" + "eR\010messages\022;\n\013update_time\030\005 \001(\0132\032.googl" + "e.protobuf.TimestampR\nupdateTime\"\374\002\n\006Hea" + "lth\022W\n\021connection_status\030\001 \001(\0162*.anduril" + ".entitymanager.v1.ConnectionStatusR\020conn" + "ectionStatus\022K\n\rhealth_status\030\002 \001(\0162&.an" + "duril.entitymanager.v1.HealthStatusR\014hea" + "lthStatus\022I\n\ncomponents\030\003 \003(\0132).anduril." + "entitymanager.v1.ComponentHealthR\ncompon" + "ents\022;\n\013update_time\030\004 \001(\0132\032.google.proto" + "buf.TimestampR\nupdateTime\022D\n\ractive_aler" + "ts\030\005 \003(\0132\037.anduril.entitymanager.v1.Aler" + "tR\014activeAlerts\"\236\002\n\005Alert\022\035\n\nalert_code\030" + "\001 \001(\tR\talertCode\022 \n\013description\030\002 \001(\tR\013d" + "escription\022:\n\005level\030\003 \001(\0162$.anduril.enti" + "tymanager.v1.AlertLevelR\005level\022A\n\016activa" + "ted_time\030\004 \001(\0132\032.google.protobuf.Timesta" + "mpR\ractivatedTime\022U\n\021active_conditions\030\005" + " \003(\0132(.anduril.entitymanager.v1.AlertCon" + "ditionR\020activeConditions\"Y\n\016AlertConditi" + "on\022%\n\016condition_code\030\001 \001(\tR\rconditionCod" + "e\022 \n\013description\030\002 \001(\tR\013description*n\n\020C" + "onnectionStatus\022\035\n\031CONNECTION_STATUS_INV" + "ALID\020\000\022\034\n\030CONNECTION_STATUS_ONLINE\020\001\022\035\n\031" + "CONNECTION_STATUS_OFFLINE\020\002*\254\001\n\014HealthSt" + "atus\022\031\n\025HEALTH_STATUS_INVALID\020\000\022\031\n\025HEALT" + "H_STATUS_HEALTHY\020\001\022\026\n\022HEALTH_STATUS_WARN" + "\020\002\022\026\n\022HEALTH_STATUS_FAIL\020\003\022\031\n\025HEALTH_STA" + "TUS_OFFLINE\020\004\022\033\n\027HEALTH_STATUS_NOT_READY" + "\020\005*q\n\nAlertLevel\022\027\n\023ALERT_LEVEL_INVALID\020" + "\000\022\030\n\024ALERT_LEVEL_ADVISORY\020\001\022\027\n\023ALERT_LEV" + "EL_CAUTION\020\002\022\027\n\023ALERT_LEVEL_WARNING\020\003B\205\002" + "\n\034com.anduril.entitymanager.v1B\024HealthSt" + "atusPubProtoP\001ZMghe.anduril.dev/anduril/" + "andurilapis-go/anduril/entitymanager/v1;" + "entitymanager\242\002\003AEX\252\002\030Anduril.Entitymana" + "ger.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$Andu" + "ril\\Entitymanager\\V1\\GPBMetadata\352\002\032Andur" + "il::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_deps[1] = + { + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto = { + false, + false, + 1909, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + "anduril/entitymanager/v1/health_status.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_deps, + 1, + 5, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* ConnectionStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t ConnectionStatus_internal_data_[] = { + 196608u, 0u, }; +bool ConnectionStatus_IsValid(int value) { + return 0 <= value && value <= 2; +} +const ::google::protobuf::EnumDescriptor* HealthStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t HealthStatus_internal_data_[] = { + 393216u, 0u, }; +bool HealthStatus_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* AlertLevel_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto[2]; +} +PROTOBUF_CONSTINIT const uint32_t AlertLevel_internal_data_[] = { + 262144u, 0u, }; +bool AlertLevel_IsValid(int value) { + return 0 <= value && value <= 3; +} +// =================================================================== + +class ComponentMessage::_Internal { + public: +}; + +ComponentMessage::ComponentMessage(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ComponentMessage) +} +inline PROTOBUF_NDEBUG_INLINE ComponentMessage::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ComponentMessage& from_msg) + : message_(arena, from.message_), + _cached_size_{0} {} + +ComponentMessage::ComponentMessage( + ::google::protobuf::Arena* arena, + const ComponentMessage& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ComponentMessage* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.status_ = from._impl_.status_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ComponentMessage) +} +inline PROTOBUF_NDEBUG_INLINE ComponentMessage::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : message_(arena), + _cached_size_{0} {} + +inline void ComponentMessage::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.status_ = {}; +} +ComponentMessage::~ComponentMessage() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ComponentMessage) + SharedDtor(*this); +} +inline void ComponentMessage::SharedDtor(MessageLite& self) { + ComponentMessage& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.message_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ComponentMessage::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ComponentMessage(arena); +} +constexpr auto ComponentMessage::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ComponentMessage), + alignof(ComponentMessage)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ComponentMessage::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ComponentMessage_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ComponentMessage::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ComponentMessage::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ComponentMessage::ByteSizeLong, + &ComponentMessage::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ComponentMessage, _impl_._cached_size_), + false, + }, + &ComponentMessage::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ComponentMessage::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 57, 2> ComponentMessage::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ComponentMessage>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string message = 2 [json_name = "message"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ComponentMessage, _impl_.message_)}}, + // .anduril.entitymanager.v1.HealthStatus status = 1 [json_name = "status"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ComponentMessage, _impl_.status_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ComponentMessage, _impl_.status_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.HealthStatus status = 1 [json_name = "status"]; + {PROTOBUF_FIELD_OFFSET(ComponentMessage, _impl_.status_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string message = 2 [json_name = "message"]; + {PROTOBUF_FIELD_OFFSET(ComponentMessage, _impl_.message_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\51\0\7\0\0\0\0\0" + "anduril.entitymanager.v1.ComponentMessage" + "message" + }}, +}; + +PROTOBUF_NOINLINE void ComponentMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ComponentMessage) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.message_.ClearToEmpty(); + _impl_.status_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ComponentMessage::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ComponentMessage& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ComponentMessage::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ComponentMessage& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ComponentMessage) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.HealthStatus status = 1 [json_name = "status"]; + if (this_._internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_status(), target); + } + + // string message = 2 [json_name = "message"]; + if (!this_._internal_message().empty()) { + const std::string& _s = this_._internal_message(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ComponentMessage.message"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ComponentMessage) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ComponentMessage::ByteSizeLong(const MessageLite& base) { + const ComponentMessage& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ComponentMessage::ByteSizeLong() const { + const ComponentMessage& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ComponentMessage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string message = 2 [json_name = "message"]; + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + // .anduril.entitymanager.v1.HealthStatus status = 1 [json_name = "status"]; + if (this_._internal_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ComponentMessage::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ComponentMessage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } + if (from._internal_status() != 0) { + _this->_impl_.status_ = from._impl_.status_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ComponentMessage::CopyFrom(const ComponentMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ComponentMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ComponentMessage::InternalSwap(ComponentMessage* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); + swap(_impl_.status_, other->_impl_.status_); +} + +::google::protobuf::Metadata ComponentMessage::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ComponentHealth::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_._has_bits_); +}; + +void ComponentHealth::clear_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.update_time_ != nullptr) _impl_.update_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +ComponentHealth::ComponentHealth(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ComponentHealth) +} +inline PROTOBUF_NDEBUG_INLINE ComponentHealth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ComponentHealth& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + messages_{visibility, arena, from.messages_}, + id_(arena, from.id_), + name_(arena, from.name_) {} + +ComponentHealth::ComponentHealth( + ::google::protobuf::Arena* arena, + const ComponentHealth& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ComponentHealth* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.update_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.update_time_) + : nullptr; + _impl_.health_ = from._impl_.health_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ComponentHealth) +} +inline PROTOBUF_NDEBUG_INLINE ComponentHealth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + messages_{visibility, arena}, + id_(arena), + name_(arena) {} + +inline void ComponentHealth::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, update_time_), + 0, + offsetof(Impl_, health_) - + offsetof(Impl_, update_time_) + + sizeof(Impl_::health_)); +} +ComponentHealth::~ComponentHealth() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ComponentHealth) + SharedDtor(*this); +} +inline void ComponentHealth::SharedDtor(MessageLite& self) { + ComponentHealth& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.id_.Destroy(); + this_._impl_.name_.Destroy(); + delete this_._impl_.update_time_; + this_._impl_.~Impl_(); +} + +inline void* ComponentHealth::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ComponentHealth(arena); +} +constexpr auto ComponentHealth::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.messages_) + + decltype(ComponentHealth::_impl_.messages_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(ComponentHealth), alignof(ComponentHealth), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&ComponentHealth::PlacementNew_, + sizeof(ComponentHealth), + alignof(ComponentHealth)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ComponentHealth::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ComponentHealth_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ComponentHealth::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ComponentHealth::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ComponentHealth::ByteSizeLong, + &ComponentHealth::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_._cached_size_), + false, + }, + &ComponentHealth::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ComponentHealth::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 2, 55, 2> ComponentHealth::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ComponentHealth>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string id = 1 [json_name = "id"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.id_)}}, + // string name = 2 [json_name = "name"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.name_)}}, + // .anduril.entitymanager.v1.HealthStatus health = 3 [json_name = "health"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ComponentHealth, _impl_.health_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.health_)}}, + // repeated .anduril.entitymanager.v1.ComponentMessage messages = 4 [json_name = "messages"]; + {::_pbi::TcParser::FastMtR1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.messages_)}}, + // .google.protobuf.Timestamp update_time = 5 [json_name = "updateTime"]; + {::_pbi::TcParser::FastMtS1, + {42, 0, 1, PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.update_time_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string id = 1 [json_name = "id"]; + {PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string name = 2 [json_name = "name"]; + {PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.name_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.HealthStatus health = 3 [json_name = "health"]; + {PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.health_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // repeated .anduril.entitymanager.v1.ComponentMessage messages = 4 [json_name = "messages"]; + {PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.messages_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp update_time = 5 [json_name = "updateTime"]; + {PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.update_time_), _Internal::kHasBitsOffset + 0, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ComponentMessage>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + "\50\2\4\0\0\0\0\0" + "anduril.entitymanager.v1.ComponentHealth" + "id" + "name" + }}, +}; + +PROTOBUF_NOINLINE void ComponentHealth::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ComponentHealth) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.messages_.Clear(); + _impl_.id_.ClearToEmpty(); + _impl_.name_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.update_time_ != nullptr); + _impl_.update_time_->Clear(); + } + _impl_.health_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ComponentHealth::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ComponentHealth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ComponentHealth::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ComponentHealth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ComponentHealth) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string id = 1 [json_name = "id"]; + if (!this_._internal_id().empty()) { + const std::string& _s = this_._internal_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ComponentHealth.id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string name = 2 [json_name = "name"]; + if (!this_._internal_name().empty()) { + const std::string& _s = this_._internal_name(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ComponentHealth.name"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .anduril.entitymanager.v1.HealthStatus health = 3 [json_name = "health"]; + if (this_._internal_health() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_health(), target); + } + + // repeated .anduril.entitymanager.v1.ComponentMessage messages = 4 [json_name = "messages"]; + for (unsigned i = 0, n = static_cast( + this_._internal_messages_size()); + i < n; i++) { + const auto& repfield = this_._internal_messages().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp update_time = 5 [json_name = "updateTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.update_time_, this_._impl_.update_time_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ComponentHealth) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ComponentHealth::ByteSizeLong(const MessageLite& base) { + const ComponentHealth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ComponentHealth::ByteSizeLong() const { + const ComponentHealth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ComponentHealth) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.ComponentMessage messages = 4 [json_name = "messages"]; + { + total_size += 1UL * this_._internal_messages_size(); + for (const auto& msg : this_._internal_messages()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string id = 1 [json_name = "id"]; + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_id()); + } + // string name = 2 [json_name = "name"]; + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + } + { + // .google.protobuf.Timestamp update_time = 5 [json_name = "updateTime"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.update_time_); + } + } + { + // .anduril.entitymanager.v1.HealthStatus health = 3 [json_name = "health"]; + if (this_._internal_health() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_health()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ComponentHealth::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ComponentHealth) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_messages()->MergeFrom( + from._internal_messages()); + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.update_time_ != nullptr); + if (_this->_impl_.update_time_ == nullptr) { + _this->_impl_.update_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.update_time_); + } else { + _this->_impl_.update_time_->MergeFrom(*from._impl_.update_time_); + } + } + if (from._internal_health() != 0) { + _this->_impl_.health_ = from._impl_.health_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ComponentHealth::CopyFrom(const ComponentHealth& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ComponentHealth) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ComponentHealth::InternalSwap(ComponentHealth* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.messages_.InternalSwap(&other->_impl_.messages_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.health_) + + sizeof(ComponentHealth::_impl_.health_) + - PROTOBUF_FIELD_OFFSET(ComponentHealth, _impl_.update_time_)>( + reinterpret_cast(&_impl_.update_time_), + reinterpret_cast(&other->_impl_.update_time_)); +} + +::google::protobuf::Metadata ComponentHealth::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Health::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Health, _impl_._has_bits_); +}; + +void Health::clear_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.update_time_ != nullptr) _impl_.update_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Health::Health(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Health) +} +inline PROTOBUF_NDEBUG_INLINE Health::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Health& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + components_{visibility, arena, from.components_}, + active_alerts_{visibility, arena, from.active_alerts_} {} + +Health::Health( + ::google::protobuf::Arena* arena, + const Health& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Health* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.update_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.update_time_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, connection_status_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, connection_status_), + offsetof(Impl_, health_status_) - + offsetof(Impl_, connection_status_) + + sizeof(Impl_::health_status_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Health) +} +inline PROTOBUF_NDEBUG_INLINE Health::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + components_{visibility, arena}, + active_alerts_{visibility, arena} {} + +inline void Health::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, update_time_), + 0, + offsetof(Impl_, health_status_) - + offsetof(Impl_, update_time_) + + sizeof(Impl_::health_status_)); +} +Health::~Health() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Health) + SharedDtor(*this); +} +inline void Health::SharedDtor(MessageLite& self) { + Health& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.update_time_; + this_._impl_.~Impl_(); +} + +inline void* Health::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Health(arena); +} +constexpr auto Health::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Health, _impl_.components_) + + decltype(Health::_impl_.components_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Health, _impl_.active_alerts_) + + decltype(Health::_impl_.active_alerts_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Health), alignof(Health), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Health::PlacementNew_, + sizeof(Health), + alignof(Health)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Health::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Health_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Health::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Health::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Health::ByteSizeLong, + &Health::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Health, _impl_._cached_size_), + false, + }, + &Health::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Health::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 3, 0, 2> Health::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Health, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Health>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.ConnectionStatus connection_status = 1 [json_name = "connectionStatus"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Health, _impl_.connection_status_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Health, _impl_.connection_status_)}}, + // .anduril.entitymanager.v1.HealthStatus health_status = 2 [json_name = "healthStatus"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Health, _impl_.health_status_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Health, _impl_.health_status_)}}, + // repeated .anduril.entitymanager.v1.ComponentHealth components = 3 [json_name = "components"]; + {::_pbi::TcParser::FastMtR1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(Health, _impl_.components_)}}, + // .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"]; + {::_pbi::TcParser::FastMtS1, + {34, 0, 1, PROTOBUF_FIELD_OFFSET(Health, _impl_.update_time_)}}, + // repeated .anduril.entitymanager.v1.Alert active_alerts = 5 [json_name = "activeAlerts"]; + {::_pbi::TcParser::FastMtR1, + {42, 63, 2, PROTOBUF_FIELD_OFFSET(Health, _impl_.active_alerts_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.ConnectionStatus connection_status = 1 [json_name = "connectionStatus"]; + {PROTOBUF_FIELD_OFFSET(Health, _impl_.connection_status_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.HealthStatus health_status = 2 [json_name = "healthStatus"]; + {PROTOBUF_FIELD_OFFSET(Health, _impl_.health_status_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // repeated .anduril.entitymanager.v1.ComponentHealth components = 3 [json_name = "components"]; + {PROTOBUF_FIELD_OFFSET(Health, _impl_.components_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"]; + {PROTOBUF_FIELD_OFFSET(Health, _impl_.update_time_), _Internal::kHasBitsOffset + 0, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.Alert active_alerts = 5 [json_name = "activeAlerts"]; + {PROTOBUF_FIELD_OFFSET(Health, _impl_.active_alerts_), -1, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ComponentHealth>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Alert>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Health::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Health) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.components_.Clear(); + _impl_.active_alerts_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.update_time_ != nullptr); + _impl_.update_time_->Clear(); + } + ::memset(&_impl_.connection_status_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.health_status_) - + reinterpret_cast(&_impl_.connection_status_)) + sizeof(_impl_.health_status_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Health::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Health& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Health::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Health& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Health) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.ConnectionStatus connection_status = 1 [json_name = "connectionStatus"]; + if (this_._internal_connection_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_connection_status(), target); + } + + // .anduril.entitymanager.v1.HealthStatus health_status = 2 [json_name = "healthStatus"]; + if (this_._internal_health_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_health_status(), target); + } + + // repeated .anduril.entitymanager.v1.ComponentHealth components = 3 [json_name = "components"]; + for (unsigned i = 0, n = static_cast( + this_._internal_components_size()); + i < n; i++) { + const auto& repfield = this_._internal_components().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.update_time_, this_._impl_.update_time_->GetCachedSize(), target, + stream); + } + + // repeated .anduril.entitymanager.v1.Alert active_alerts = 5 [json_name = "activeAlerts"]; + for (unsigned i = 0, n = static_cast( + this_._internal_active_alerts_size()); + i < n; i++) { + const auto& repfield = this_._internal_active_alerts().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Health) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Health::ByteSizeLong(const MessageLite& base) { + const Health& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Health::ByteSizeLong() const { + const Health& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Health) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.ComponentHealth components = 3 [json_name = "components"]; + { + total_size += 1UL * this_._internal_components_size(); + for (const auto& msg : this_._internal_components()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .anduril.entitymanager.v1.Alert active_alerts = 5 [json_name = "activeAlerts"]; + { + total_size += 1UL * this_._internal_active_alerts_size(); + for (const auto& msg : this_._internal_active_alerts()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.update_time_); + } + } + { + // .anduril.entitymanager.v1.ConnectionStatus connection_status = 1 [json_name = "connectionStatus"]; + if (this_._internal_connection_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_connection_status()); + } + // .anduril.entitymanager.v1.HealthStatus health_status = 2 [json_name = "healthStatus"]; + if (this_._internal_health_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_health_status()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Health::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Health) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_components()->MergeFrom( + from._internal_components()); + _this->_internal_mutable_active_alerts()->MergeFrom( + from._internal_active_alerts()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.update_time_ != nullptr); + if (_this->_impl_.update_time_ == nullptr) { + _this->_impl_.update_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.update_time_); + } else { + _this->_impl_.update_time_->MergeFrom(*from._impl_.update_time_); + } + } + if (from._internal_connection_status() != 0) { + _this->_impl_.connection_status_ = from._impl_.connection_status_; + } + if (from._internal_health_status() != 0) { + _this->_impl_.health_status_ = from._impl_.health_status_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Health::CopyFrom(const Health& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Health) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Health::InternalSwap(Health* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.components_.InternalSwap(&other->_impl_.components_); + _impl_.active_alerts_.InternalSwap(&other->_impl_.active_alerts_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Health, _impl_.health_status_) + + sizeof(Health::_impl_.health_status_) + - PROTOBUF_FIELD_OFFSET(Health, _impl_.update_time_)>( + reinterpret_cast(&_impl_.update_time_), + reinterpret_cast(&other->_impl_.update_time_)); +} + +::google::protobuf::Metadata Health::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Alert::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Alert, _impl_._has_bits_); +}; + +void Alert::clear_activated_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.activated_time_ != nullptr) _impl_.activated_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Alert::Alert(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Alert) +} +inline PROTOBUF_NDEBUG_INLINE Alert::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Alert& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + active_conditions_{visibility, arena, from.active_conditions_}, + alert_code_(arena, from.alert_code_), + description_(arena, from.description_) {} + +Alert::Alert( + ::google::protobuf::Arena* arena, + const Alert& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Alert* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.activated_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.activated_time_) + : nullptr; + _impl_.level_ = from._impl_.level_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Alert) +} +inline PROTOBUF_NDEBUG_INLINE Alert::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + active_conditions_{visibility, arena}, + alert_code_(arena), + description_(arena) {} + +inline void Alert::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, activated_time_), + 0, + offsetof(Impl_, level_) - + offsetof(Impl_, activated_time_) + + sizeof(Impl_::level_)); +} +Alert::~Alert() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Alert) + SharedDtor(*this); +} +inline void Alert::SharedDtor(MessageLite& self) { + Alert& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.alert_code_.Destroy(); + this_._impl_.description_.Destroy(); + delete this_._impl_.activated_time_; + this_._impl_.~Impl_(); +} + +inline void* Alert::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Alert(arena); +} +constexpr auto Alert::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Alert, _impl_.active_conditions_) + + decltype(Alert::_impl_.active_conditions_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Alert), alignof(Alert), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Alert::PlacementNew_, + sizeof(Alert), + alignof(Alert)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Alert::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Alert_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Alert::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Alert::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Alert::ByteSizeLong, + &Alert::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Alert, _impl_._cached_size_), + false, + }, + &Alert::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Alert::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 2, 60, 2> Alert::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Alert, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Alert>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string alert_code = 1 [json_name = "alertCode"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Alert, _impl_.alert_code_)}}, + // string description = 2 [json_name = "description"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Alert, _impl_.description_)}}, + // .anduril.entitymanager.v1.AlertLevel level = 3 [json_name = "level"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Alert, _impl_.level_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(Alert, _impl_.level_)}}, + // .google.protobuf.Timestamp activated_time = 4 [json_name = "activatedTime"]; + {::_pbi::TcParser::FastMtS1, + {34, 0, 0, PROTOBUF_FIELD_OFFSET(Alert, _impl_.activated_time_)}}, + // repeated .anduril.entitymanager.v1.AlertCondition active_conditions = 5 [json_name = "activeConditions"]; + {::_pbi::TcParser::FastMtR1, + {42, 63, 1, PROTOBUF_FIELD_OFFSET(Alert, _impl_.active_conditions_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string alert_code = 1 [json_name = "alertCode"]; + {PROTOBUF_FIELD_OFFSET(Alert, _impl_.alert_code_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string description = 2 [json_name = "description"]; + {PROTOBUF_FIELD_OFFSET(Alert, _impl_.description_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.AlertLevel level = 3 [json_name = "level"]; + {PROTOBUF_FIELD_OFFSET(Alert, _impl_.level_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .google.protobuf.Timestamp activated_time = 4 [json_name = "activatedTime"]; + {PROTOBUF_FIELD_OFFSET(Alert, _impl_.activated_time_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.AlertCondition active_conditions = 5 [json_name = "activeConditions"]; + {PROTOBUF_FIELD_OFFSET(Alert, _impl_.active_conditions_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AlertCondition>()}, + }}, {{ + "\36\12\13\0\0\0\0\0" + "anduril.entitymanager.v1.Alert" + "alert_code" + "description" + }}, +}; + +PROTOBUF_NOINLINE void Alert::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Alert) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.active_conditions_.Clear(); + _impl_.alert_code_.ClearToEmpty(); + _impl_.description_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.activated_time_ != nullptr); + _impl_.activated_time_->Clear(); + } + _impl_.level_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Alert::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Alert& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Alert::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Alert& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Alert) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string alert_code = 1 [json_name = "alertCode"]; + if (!this_._internal_alert_code().empty()) { + const std::string& _s = this_._internal_alert_code(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Alert.alert_code"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string description = 2 [json_name = "description"]; + if (!this_._internal_description().empty()) { + const std::string& _s = this_._internal_description(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Alert.description"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .anduril.entitymanager.v1.AlertLevel level = 3 [json_name = "level"]; + if (this_._internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_level(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp activated_time = 4 [json_name = "activatedTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.activated_time_, this_._impl_.activated_time_->GetCachedSize(), target, + stream); + } + + // repeated .anduril.entitymanager.v1.AlertCondition active_conditions = 5 [json_name = "activeConditions"]; + for (unsigned i = 0, n = static_cast( + this_._internal_active_conditions_size()); + i < n; i++) { + const auto& repfield = this_._internal_active_conditions().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Alert) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Alert::ByteSizeLong(const MessageLite& base) { + const Alert& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Alert::ByteSizeLong() const { + const Alert& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Alert) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.AlertCondition active_conditions = 5 [json_name = "activeConditions"]; + { + total_size += 1UL * this_._internal_active_conditions_size(); + for (const auto& msg : this_._internal_active_conditions()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string alert_code = 1 [json_name = "alertCode"]; + if (!this_._internal_alert_code().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_alert_code()); + } + // string description = 2 [json_name = "description"]; + if (!this_._internal_description().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_description()); + } + } + { + // .google.protobuf.Timestamp activated_time = 4 [json_name = "activatedTime"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.activated_time_); + } + } + { + // .anduril.entitymanager.v1.AlertLevel level = 3 [json_name = "level"]; + if (this_._internal_level() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_level()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Alert::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Alert) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_active_conditions()->MergeFrom( + from._internal_active_conditions()); + if (!from._internal_alert_code().empty()) { + _this->_internal_set_alert_code(from._internal_alert_code()); + } + if (!from._internal_description().empty()) { + _this->_internal_set_description(from._internal_description()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.activated_time_ != nullptr); + if (_this->_impl_.activated_time_ == nullptr) { + _this->_impl_.activated_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.activated_time_); + } else { + _this->_impl_.activated_time_->MergeFrom(*from._impl_.activated_time_); + } + } + if (from._internal_level() != 0) { + _this->_impl_.level_ = from._impl_.level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Alert::CopyFrom(const Alert& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Alert) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Alert::InternalSwap(Alert* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.active_conditions_.InternalSwap(&other->_impl_.active_conditions_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.alert_code_, &other->_impl_.alert_code_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Alert, _impl_.level_) + + sizeof(Alert::_impl_.level_) + - PROTOBUF_FIELD_OFFSET(Alert, _impl_.activated_time_)>( + reinterpret_cast(&_impl_.activated_time_), + reinterpret_cast(&other->_impl_.activated_time_)); +} + +::google::protobuf::Metadata Alert::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class AlertCondition::_Internal { + public: +}; + +AlertCondition::AlertCondition(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.AlertCondition) +} +inline PROTOBUF_NDEBUG_INLINE AlertCondition::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::AlertCondition& from_msg) + : condition_code_(arena, from.condition_code_), + description_(arena, from.description_), + _cached_size_{0} {} + +AlertCondition::AlertCondition( + ::google::protobuf::Arena* arena, + const AlertCondition& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AlertCondition* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.AlertCondition) +} +inline PROTOBUF_NDEBUG_INLINE AlertCondition::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : condition_code_(arena), + description_(arena), + _cached_size_{0} {} + +inline void AlertCondition::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +AlertCondition::~AlertCondition() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.AlertCondition) + SharedDtor(*this); +} +inline void AlertCondition::SharedDtor(MessageLite& self) { + AlertCondition& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.condition_code_.Destroy(); + this_._impl_.description_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* AlertCondition::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AlertCondition(arena); +} +constexpr auto AlertCondition::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AlertCondition), + alignof(AlertCondition)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull AlertCondition::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_AlertCondition_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &AlertCondition::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &AlertCondition::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &AlertCondition::ByteSizeLong, + &AlertCondition::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(AlertCondition, _impl_._cached_size_), + false, + }, + &AlertCondition::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* AlertCondition::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 73, 2> AlertCondition::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AlertCondition>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string description = 2 [json_name = "description"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(AlertCondition, _impl_.description_)}}, + // string condition_code = 1 [json_name = "conditionCode"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(AlertCondition, _impl_.condition_code_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string condition_code = 1 [json_name = "conditionCode"]; + {PROTOBUF_FIELD_OFFSET(AlertCondition, _impl_.condition_code_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string description = 2 [json_name = "description"]; + {PROTOBUF_FIELD_OFFSET(AlertCondition, _impl_.description_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\47\16\13\0\0\0\0\0" + "anduril.entitymanager.v1.AlertCondition" + "condition_code" + "description" + }}, +}; + +PROTOBUF_NOINLINE void AlertCondition::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.AlertCondition) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.condition_code_.ClearToEmpty(); + _impl_.description_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AlertCondition::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AlertCondition& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AlertCondition::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AlertCondition& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.AlertCondition) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string condition_code = 1 [json_name = "conditionCode"]; + if (!this_._internal_condition_code().empty()) { + const std::string& _s = this_._internal_condition_code(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.AlertCondition.condition_code"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string description = 2 [json_name = "description"]; + if (!this_._internal_description().empty()) { + const std::string& _s = this_._internal_description(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.AlertCondition.description"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.AlertCondition) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AlertCondition::ByteSizeLong(const MessageLite& base) { + const AlertCondition& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AlertCondition::ByteSizeLong() const { + const AlertCondition& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.AlertCondition) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string condition_code = 1 [json_name = "conditionCode"]; + if (!this_._internal_condition_code().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_condition_code()); + } + // string description = 2 [json_name = "description"]; + if (!this_._internal_description().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_description()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void AlertCondition::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.AlertCondition) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_condition_code().empty()) { + _this->_internal_set_condition_code(from._internal_condition_code()); + } + if (!from._internal_description().empty()) { + _this->_internal_set_description(from._internal_description()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void AlertCondition::CopyFrom(const AlertCondition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.AlertCondition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void AlertCondition::InternalSwap(AlertCondition* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.condition_code_, &other->_impl_.condition_code_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); +} + +::google::protobuf::Metadata AlertCondition::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/health_status.pub.pb.h b/src/anduril/entitymanager/v1/health_status.pub.pb.h new file mode 100644 index 0000000..79fa0c4 --- /dev/null +++ b/src/anduril/entitymanager/v1/health_status.pub.pb.h @@ -0,0 +1,2393 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/health_status.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Alert; +struct AlertDefaultTypeInternal; +extern AlertDefaultTypeInternal _Alert_default_instance_; +class AlertCondition; +struct AlertConditionDefaultTypeInternal; +extern AlertConditionDefaultTypeInternal _AlertCondition_default_instance_; +class ComponentHealth; +struct ComponentHealthDefaultTypeInternal; +extern ComponentHealthDefaultTypeInternal _ComponentHealth_default_instance_; +class ComponentMessage; +struct ComponentMessageDefaultTypeInternal; +extern ComponentMessageDefaultTypeInternal _ComponentMessage_default_instance_; +class Health; +struct HealthDefaultTypeInternal; +extern HealthDefaultTypeInternal _Health_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum ConnectionStatus : int { + CONNECTION_STATUS_INVALID = 0, + CONNECTION_STATUS_ONLINE = 1, + CONNECTION_STATUS_OFFLINE = 2, + ConnectionStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ConnectionStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ConnectionStatus_IsValid(int value); +extern const uint32_t ConnectionStatus_internal_data_[]; +constexpr ConnectionStatus ConnectionStatus_MIN = static_cast(0); +constexpr ConnectionStatus ConnectionStatus_MAX = static_cast(2); +constexpr int ConnectionStatus_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* +ConnectionStatus_descriptor(); +template +const std::string& ConnectionStatus_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ConnectionStatus_Name()."); + return ConnectionStatus_Name(static_cast(value)); +} +template <> +inline const std::string& ConnectionStatus_Name(ConnectionStatus value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ConnectionStatus_Parse(absl::string_view name, ConnectionStatus* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ConnectionStatus_descriptor(), name, value); +} +enum HealthStatus : int { + HEALTH_STATUS_INVALID = 0, + HEALTH_STATUS_HEALTHY = 1, + HEALTH_STATUS_WARN = 2, + HEALTH_STATUS_FAIL = 3, + HEALTH_STATUS_OFFLINE = 4, + HEALTH_STATUS_NOT_READY = 5, + HealthStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + HealthStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool HealthStatus_IsValid(int value); +extern const uint32_t HealthStatus_internal_data_[]; +constexpr HealthStatus HealthStatus_MIN = static_cast(0); +constexpr HealthStatus HealthStatus_MAX = static_cast(5); +constexpr int HealthStatus_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +HealthStatus_descriptor(); +template +const std::string& HealthStatus_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to HealthStatus_Name()."); + return HealthStatus_Name(static_cast(value)); +} +template <> +inline const std::string& HealthStatus_Name(HealthStatus value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool HealthStatus_Parse(absl::string_view name, HealthStatus* value) { + return ::google::protobuf::internal::ParseNamedEnum( + HealthStatus_descriptor(), name, value); +} +enum AlertLevel : int { + ALERT_LEVEL_INVALID = 0, + ALERT_LEVEL_ADVISORY = 1, + ALERT_LEVEL_CAUTION = 2, + ALERT_LEVEL_WARNING = 3, + AlertLevel_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + AlertLevel_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool AlertLevel_IsValid(int value); +extern const uint32_t AlertLevel_internal_data_[]; +constexpr AlertLevel AlertLevel_MIN = static_cast(0); +constexpr AlertLevel AlertLevel_MAX = static_cast(3); +constexpr int AlertLevel_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* +AlertLevel_descriptor(); +template +const std::string& AlertLevel_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to AlertLevel_Name()."); + return AlertLevel_Name(static_cast(value)); +} +template <> +inline const std::string& AlertLevel_Name(AlertLevel value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool AlertLevel_Parse(absl::string_view name, AlertLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + AlertLevel_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class ComponentMessage final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ComponentMessage) */ { + public: + inline ComponentMessage() : ComponentMessage(nullptr) {} + ~ComponentMessage() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ComponentMessage* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ComponentMessage)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ComponentMessage( + ::google::protobuf::internal::ConstantInitialized); + + inline ComponentMessage(const ComponentMessage& from) : ComponentMessage(nullptr, from) {} + inline ComponentMessage(ComponentMessage&& from) noexcept + : ComponentMessage(nullptr, std::move(from)) {} + inline ComponentMessage& operator=(const ComponentMessage& from) { + CopyFrom(from); + return *this; + } + inline ComponentMessage& operator=(ComponentMessage&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ComponentMessage& default_instance() { + return *internal_default_instance(); + } + static inline const ComponentMessage* internal_default_instance() { + return reinterpret_cast( + &_ComponentMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(ComponentMessage& a, ComponentMessage& b) { a.Swap(&b); } + inline void Swap(ComponentMessage* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ComponentMessage* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ComponentMessage* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ComponentMessage& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ComponentMessage& from) { ComponentMessage::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ComponentMessage* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ComponentMessage"; } + + protected: + explicit ComponentMessage(::google::protobuf::Arena* arena); + ComponentMessage(::google::protobuf::Arena* arena, const ComponentMessage& from); + ComponentMessage(::google::protobuf::Arena* arena, ComponentMessage&& from) noexcept + : ComponentMessage(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMessageFieldNumber = 2, + kStatusFieldNumber = 1, + }; + // string message = 2 [json_name = "message"]; + void clear_message() ; + const std::string& message() const; + template + void set_message(Arg_&& arg, Args_... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* value); + + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message( + const std::string& value); + std::string* _internal_mutable_message(); + + public: + // .anduril.entitymanager.v1.HealthStatus status = 1 [json_name = "status"]; + void clear_status() ; + ::anduril::entitymanager::v1::HealthStatus status() const; + void set_status(::anduril::entitymanager::v1::HealthStatus value); + + private: + ::anduril::entitymanager::v1::HealthStatus _internal_status() const; + void _internal_set_status(::anduril::entitymanager::v1::HealthStatus value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ComponentMessage) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 57, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ComponentMessage& from_msg); + ::google::protobuf::internal::ArenaStringPtr message_; + int status_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class AlertCondition final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.AlertCondition) */ { + public: + inline AlertCondition() : AlertCondition(nullptr) {} + ~AlertCondition() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AlertCondition* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AlertCondition)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR AlertCondition( + ::google::protobuf::internal::ConstantInitialized); + + inline AlertCondition(const AlertCondition& from) : AlertCondition(nullptr, from) {} + inline AlertCondition(AlertCondition&& from) noexcept + : AlertCondition(nullptr, std::move(from)) {} + inline AlertCondition& operator=(const AlertCondition& from) { + CopyFrom(from); + return *this; + } + inline AlertCondition& operator=(AlertCondition&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AlertCondition& default_instance() { + return *internal_default_instance(); + } + static inline const AlertCondition* internal_default_instance() { + return reinterpret_cast( + &_AlertCondition_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(AlertCondition& a, AlertCondition& b) { a.Swap(&b); } + inline void Swap(AlertCondition* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AlertCondition* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AlertCondition* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AlertCondition& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AlertCondition& from) { AlertCondition::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AlertCondition* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.AlertCondition"; } + + protected: + explicit AlertCondition(::google::protobuf::Arena* arena); + AlertCondition(::google::protobuf::Arena* arena, const AlertCondition& from); + AlertCondition(::google::protobuf::Arena* arena, AlertCondition&& from) noexcept + : AlertCondition(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kConditionCodeFieldNumber = 1, + kDescriptionFieldNumber = 2, + }; + // string condition_code = 1 [json_name = "conditionCode"]; + void clear_condition_code() ; + const std::string& condition_code() const; + template + void set_condition_code(Arg_&& arg, Args_... args); + std::string* mutable_condition_code(); + PROTOBUF_NODISCARD std::string* release_condition_code(); + void set_allocated_condition_code(std::string* value); + + private: + const std::string& _internal_condition_code() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_condition_code( + const std::string& value); + std::string* _internal_mutable_condition_code(); + + public: + // string description = 2 [json_name = "description"]; + void clear_description() ; + const std::string& description() const; + template + void set_description(Arg_&& arg, Args_... args); + std::string* mutable_description(); + PROTOBUF_NODISCARD std::string* release_description(); + void set_allocated_description(std::string* value); + + private: + const std::string& _internal_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_description( + const std::string& value); + std::string* _internal_mutable_description(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.AlertCondition) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 73, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AlertCondition& from_msg); + ::google::protobuf::internal::ArenaStringPtr condition_code_; + ::google::protobuf::internal::ArenaStringPtr description_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class ComponentHealth final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ComponentHealth) */ { + public: + inline ComponentHealth() : ComponentHealth(nullptr) {} + ~ComponentHealth() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ComponentHealth* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ComponentHealth)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ComponentHealth( + ::google::protobuf::internal::ConstantInitialized); + + inline ComponentHealth(const ComponentHealth& from) : ComponentHealth(nullptr, from) {} + inline ComponentHealth(ComponentHealth&& from) noexcept + : ComponentHealth(nullptr, std::move(from)) {} + inline ComponentHealth& operator=(const ComponentHealth& from) { + CopyFrom(from); + return *this; + } + inline ComponentHealth& operator=(ComponentHealth&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ComponentHealth& default_instance() { + return *internal_default_instance(); + } + static inline const ComponentHealth* internal_default_instance() { + return reinterpret_cast( + &_ComponentHealth_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(ComponentHealth& a, ComponentHealth& b) { a.Swap(&b); } + inline void Swap(ComponentHealth* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ComponentHealth* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ComponentHealth* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ComponentHealth& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ComponentHealth& from) { ComponentHealth::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ComponentHealth* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ComponentHealth"; } + + protected: + explicit ComponentHealth(::google::protobuf::Arena* arena); + ComponentHealth(::google::protobuf::Arena* arena, const ComponentHealth& from); + ComponentHealth(::google::protobuf::Arena* arena, ComponentHealth&& from) noexcept + : ComponentHealth(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMessagesFieldNumber = 4, + kIdFieldNumber = 1, + kNameFieldNumber = 2, + kUpdateTimeFieldNumber = 5, + kHealthFieldNumber = 3, + }; + // repeated .anduril.entitymanager.v1.ComponentMessage messages = 4 [json_name = "messages"]; + int messages_size() const; + private: + int _internal_messages_size() const; + + public: + void clear_messages() ; + ::anduril::entitymanager::v1::ComponentMessage* mutable_messages(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>* mutable_messages(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>& _internal_messages() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>* _internal_mutable_messages(); + public: + const ::anduril::entitymanager::v1::ComponentMessage& messages(int index) const; + ::anduril::entitymanager::v1::ComponentMessage* add_messages(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>& messages() const; + // string id = 1 [json_name = "id"]; + void clear_id() ; + const std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* value); + + private: + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( + const std::string& value); + std::string* _internal_mutable_id(); + + public: + // string name = 2 [json_name = "name"]; + void clear_name() ; + const std::string& name() const; + template + void set_name(Arg_&& arg, Args_... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* value); + + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( + const std::string& value); + std::string* _internal_mutable_name(); + + public: + // .google.protobuf.Timestamp update_time = 5 [json_name = "updateTime"]; + bool has_update_time() const; + void clear_update_time() ; + const ::google::protobuf::Timestamp& update_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_update_time(); + ::google::protobuf::Timestamp* mutable_update_time(); + void set_allocated_update_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_update_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_update_time(); + + private: + const ::google::protobuf::Timestamp& _internal_update_time() const; + ::google::protobuf::Timestamp* _internal_mutable_update_time(); + + public: + // .anduril.entitymanager.v1.HealthStatus health = 3 [json_name = "health"]; + void clear_health() ; + ::anduril::entitymanager::v1::HealthStatus health() const; + void set_health(::anduril::entitymanager::v1::HealthStatus value); + + private: + ::anduril::entitymanager::v1::HealthStatus _internal_health() const; + void _internal_set_health(::anduril::entitymanager::v1::HealthStatus value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ComponentHealth) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 2, + 55, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ComponentHealth& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::ComponentMessage > messages_; + ::google::protobuf::internal::ArenaStringPtr id_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::Timestamp* update_time_; + int health_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Alert final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Alert) */ { + public: + inline Alert() : Alert(nullptr) {} + ~Alert() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Alert* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Alert)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Alert( + ::google::protobuf::internal::ConstantInitialized); + + inline Alert(const Alert& from) : Alert(nullptr, from) {} + inline Alert(Alert&& from) noexcept + : Alert(nullptr, std::move(from)) {} + inline Alert& operator=(const Alert& from) { + CopyFrom(from); + return *this; + } + inline Alert& operator=(Alert&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Alert& default_instance() { + return *internal_default_instance(); + } + static inline const Alert* internal_default_instance() { + return reinterpret_cast( + &_Alert_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(Alert& a, Alert& b) { a.Swap(&b); } + inline void Swap(Alert* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Alert* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Alert* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Alert& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Alert& from) { Alert::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Alert* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Alert"; } + + protected: + explicit Alert(::google::protobuf::Arena* arena); + Alert(::google::protobuf::Arena* arena, const Alert& from); + Alert(::google::protobuf::Arena* arena, Alert&& from) noexcept + : Alert(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActiveConditionsFieldNumber = 5, + kAlertCodeFieldNumber = 1, + kDescriptionFieldNumber = 2, + kActivatedTimeFieldNumber = 4, + kLevelFieldNumber = 3, + }; + // repeated .anduril.entitymanager.v1.AlertCondition active_conditions = 5 [json_name = "activeConditions"]; + int active_conditions_size() const; + private: + int _internal_active_conditions_size() const; + + public: + void clear_active_conditions() ; + ::anduril::entitymanager::v1::AlertCondition* mutable_active_conditions(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>* mutable_active_conditions(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>& _internal_active_conditions() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>* _internal_mutable_active_conditions(); + public: + const ::anduril::entitymanager::v1::AlertCondition& active_conditions(int index) const; + ::anduril::entitymanager::v1::AlertCondition* add_active_conditions(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>& active_conditions() const; + // string alert_code = 1 [json_name = "alertCode"]; + void clear_alert_code() ; + const std::string& alert_code() const; + template + void set_alert_code(Arg_&& arg, Args_... args); + std::string* mutable_alert_code(); + PROTOBUF_NODISCARD std::string* release_alert_code(); + void set_allocated_alert_code(std::string* value); + + private: + const std::string& _internal_alert_code() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_alert_code( + const std::string& value); + std::string* _internal_mutable_alert_code(); + + public: + // string description = 2 [json_name = "description"]; + void clear_description() ; + const std::string& description() const; + template + void set_description(Arg_&& arg, Args_... args); + std::string* mutable_description(); + PROTOBUF_NODISCARD std::string* release_description(); + void set_allocated_description(std::string* value); + + private: + const std::string& _internal_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_description( + const std::string& value); + std::string* _internal_mutable_description(); + + public: + // .google.protobuf.Timestamp activated_time = 4 [json_name = "activatedTime"]; + bool has_activated_time() const; + void clear_activated_time() ; + const ::google::protobuf::Timestamp& activated_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_activated_time(); + ::google::protobuf::Timestamp* mutable_activated_time(); + void set_allocated_activated_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_activated_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_activated_time(); + + private: + const ::google::protobuf::Timestamp& _internal_activated_time() const; + ::google::protobuf::Timestamp* _internal_mutable_activated_time(); + + public: + // .anduril.entitymanager.v1.AlertLevel level = 3 [json_name = "level"]; + void clear_level() ; + ::anduril::entitymanager::v1::AlertLevel level() const; + void set_level(::anduril::entitymanager::v1::AlertLevel value); + + private: + ::anduril::entitymanager::v1::AlertLevel _internal_level() const; + void _internal_set_level(::anduril::entitymanager::v1::AlertLevel value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Alert) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 2, + 60, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Alert& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::AlertCondition > active_conditions_; + ::google::protobuf::internal::ArenaStringPtr alert_code_; + ::google::protobuf::internal::ArenaStringPtr description_; + ::google::protobuf::Timestamp* activated_time_; + int level_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Health final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Health) */ { + public: + inline Health() : Health(nullptr) {} + ~Health() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Health* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Health)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Health( + ::google::protobuf::internal::ConstantInitialized); + + inline Health(const Health& from) : Health(nullptr, from) {} + inline Health(Health&& from) noexcept + : Health(nullptr, std::move(from)) {} + inline Health& operator=(const Health& from) { + CopyFrom(from); + return *this; + } + inline Health& operator=(Health&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Health& default_instance() { + return *internal_default_instance(); + } + static inline const Health* internal_default_instance() { + return reinterpret_cast( + &_Health_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Health& a, Health& b) { a.Swap(&b); } + inline void Swap(Health* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Health* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Health* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Health& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Health& from) { Health::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Health* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Health"; } + + protected: + explicit Health(::google::protobuf::Arena* arena); + Health(::google::protobuf::Arena* arena, const Health& from); + Health(::google::protobuf::Arena* arena, Health&& from) noexcept + : Health(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kComponentsFieldNumber = 3, + kActiveAlertsFieldNumber = 5, + kUpdateTimeFieldNumber = 4, + kConnectionStatusFieldNumber = 1, + kHealthStatusFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.ComponentHealth components = 3 [json_name = "components"]; + int components_size() const; + private: + int _internal_components_size() const; + + public: + void clear_components() ; + ::anduril::entitymanager::v1::ComponentHealth* mutable_components(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>* mutable_components(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>& _internal_components() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>* _internal_mutable_components(); + public: + const ::anduril::entitymanager::v1::ComponentHealth& components(int index) const; + ::anduril::entitymanager::v1::ComponentHealth* add_components(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>& components() const; + // repeated .anduril.entitymanager.v1.Alert active_alerts = 5 [json_name = "activeAlerts"]; + int active_alerts_size() const; + private: + int _internal_active_alerts_size() const; + + public: + void clear_active_alerts() ; + ::anduril::entitymanager::v1::Alert* mutable_active_alerts(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>* mutable_active_alerts(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>& _internal_active_alerts() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>* _internal_mutable_active_alerts(); + public: + const ::anduril::entitymanager::v1::Alert& active_alerts(int index) const; + ::anduril::entitymanager::v1::Alert* add_active_alerts(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>& active_alerts() const; + // .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"]; + bool has_update_time() const; + void clear_update_time() ; + const ::google::protobuf::Timestamp& update_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_update_time(); + ::google::protobuf::Timestamp* mutable_update_time(); + void set_allocated_update_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_update_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_update_time(); + + private: + const ::google::protobuf::Timestamp& _internal_update_time() const; + ::google::protobuf::Timestamp* _internal_mutable_update_time(); + + public: + // .anduril.entitymanager.v1.ConnectionStatus connection_status = 1 [json_name = "connectionStatus"]; + void clear_connection_status() ; + ::anduril::entitymanager::v1::ConnectionStatus connection_status() const; + void set_connection_status(::anduril::entitymanager::v1::ConnectionStatus value); + + private: + ::anduril::entitymanager::v1::ConnectionStatus _internal_connection_status() const; + void _internal_set_connection_status(::anduril::entitymanager::v1::ConnectionStatus value); + + public: + // .anduril.entitymanager.v1.HealthStatus health_status = 2 [json_name = "healthStatus"]; + void clear_health_status() ; + ::anduril::entitymanager::v1::HealthStatus health_status() const; + void set_health_status(::anduril::entitymanager::v1::HealthStatus value); + + private: + ::anduril::entitymanager::v1::HealthStatus _internal_health_status() const; + void _internal_set_health_status(::anduril::entitymanager::v1::HealthStatus value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Health) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Health& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::ComponentHealth > components_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Alert > active_alerts_; + ::google::protobuf::Timestamp* update_time_; + int connection_status_; + int health_status_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ComponentMessage + +// .anduril.entitymanager.v1.HealthStatus status = 1 [json_name = "status"]; +inline void ComponentMessage::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = 0; +} +inline ::anduril::entitymanager::v1::HealthStatus ComponentMessage::status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentMessage.status) + return _internal_status(); +} +inline void ComponentMessage::set_status(::anduril::entitymanager::v1::HealthStatus value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ComponentMessage.status) +} +inline ::anduril::entitymanager::v1::HealthStatus ComponentMessage::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::HealthStatus>(_impl_.status_); +} +inline void ComponentMessage::_internal_set_status(::anduril::entitymanager::v1::HealthStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_ = value; +} + +// string message = 2 [json_name = "message"]; +inline void ComponentMessage::clear_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.ClearToEmpty(); +} +inline const std::string& ComponentMessage::message() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentMessage.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ComponentMessage::set_message(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ComponentMessage.message) +} +inline std::string* ComponentMessage::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ComponentMessage.message) + return _s; +} +inline const std::string& ComponentMessage::_internal_message() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.message_.Get(); +} +inline void ComponentMessage::_internal_set_message(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.Set(value, GetArena()); +} +inline std::string* ComponentMessage::_internal_mutable_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.message_.Mutable( GetArena()); +} +inline std::string* ComponentMessage::release_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ComponentMessage.message) + return _impl_.message_.Release(); +} +inline void ComponentMessage::set_allocated_message(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ComponentMessage.message) +} + +// ------------------------------------------------------------------- + +// ComponentHealth + +// string id = 1 [json_name = "id"]; +inline void ComponentHealth::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.ClearToEmpty(); +} +inline const std::string& ComponentHealth::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentHealth.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ComponentHealth::set_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ComponentHealth.id) +} +inline std::string* ComponentHealth::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ComponentHealth.id) + return _s; +} +inline const std::string& ComponentHealth::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_.Get(); +} +inline void ComponentHealth::_internal_set_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(value, GetArena()); +} +inline std::string* ComponentHealth::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.id_.Mutable( GetArena()); +} +inline std::string* ComponentHealth::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ComponentHealth.id) + return _impl_.id_.Release(); +} +inline void ComponentHealth::set_allocated_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ComponentHealth.id) +} + +// string name = 2 [json_name = "name"]; +inline void ComponentHealth::clear_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.ClearToEmpty(); +} +inline const std::string& ComponentHealth::name() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentHealth.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ComponentHealth::set_name(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ComponentHealth.name) +} +inline std::string* ComponentHealth::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ComponentHealth.name) + return _s; +} +inline const std::string& ComponentHealth::_internal_name() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.name_.Get(); +} +inline void ComponentHealth::_internal_set_name(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(value, GetArena()); +} +inline std::string* ComponentHealth::_internal_mutable_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.name_.Mutable( GetArena()); +} +inline std::string* ComponentHealth::release_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ComponentHealth.name) + return _impl_.name_.Release(); +} +inline void ComponentHealth::set_allocated_name(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ComponentHealth.name) +} + +// .anduril.entitymanager.v1.HealthStatus health = 3 [json_name = "health"]; +inline void ComponentHealth::clear_health() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.health_ = 0; +} +inline ::anduril::entitymanager::v1::HealthStatus ComponentHealth::health() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentHealth.health) + return _internal_health(); +} +inline void ComponentHealth::set_health(::anduril::entitymanager::v1::HealthStatus value) { + _internal_set_health(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ComponentHealth.health) +} +inline ::anduril::entitymanager::v1::HealthStatus ComponentHealth::_internal_health() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::HealthStatus>(_impl_.health_); +} +inline void ComponentHealth::_internal_set_health(::anduril::entitymanager::v1::HealthStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.health_ = value; +} + +// repeated .anduril.entitymanager.v1.ComponentMessage messages = 4 [json_name = "messages"]; +inline int ComponentHealth::_internal_messages_size() const { + return _internal_messages().size(); +} +inline int ComponentHealth::messages_size() const { + return _internal_messages_size(); +} +inline void ComponentHealth::clear_messages() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.messages_.Clear(); +} +inline ::anduril::entitymanager::v1::ComponentMessage* ComponentHealth::mutable_messages(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ComponentHealth.messages) + return _internal_mutable_messages()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>* ComponentHealth::mutable_messages() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.ComponentHealth.messages) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_messages(); +} +inline const ::anduril::entitymanager::v1::ComponentMessage& ComponentHealth::messages(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentHealth.messages) + return _internal_messages().Get(index); +} +inline ::anduril::entitymanager::v1::ComponentMessage* ComponentHealth::add_messages() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::ComponentMessage* _add = _internal_mutable_messages()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.ComponentHealth.messages) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>& ComponentHealth::messages() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.ComponentHealth.messages) + return _internal_messages(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>& +ComponentHealth::_internal_messages() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.messages_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentMessage>* +ComponentHealth::_internal_mutable_messages() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.messages_; +} + +// .google.protobuf.Timestamp update_time = 5 [json_name = "updateTime"]; +inline bool ComponentHealth::has_update_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& ComponentHealth::_internal_update_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.update_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& ComponentHealth::update_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ComponentHealth.update_time) + return _internal_update_time(); +} +inline void ComponentHealth::unsafe_arena_set_allocated_update_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_time_); + } + _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ComponentHealth.update_time) +} +inline ::google::protobuf::Timestamp* ComponentHealth::release_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.update_time_; + _impl_.update_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* ComponentHealth::unsafe_arena_release_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ComponentHealth.update_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.update_time_; + _impl_.update_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* ComponentHealth::_internal_mutable_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.update_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.update_time_; +} +inline ::google::protobuf::Timestamp* ComponentHealth::mutable_update_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_update_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ComponentHealth.update_time) + return _msg; +} +inline void ComponentHealth::set_allocated_update_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ComponentHealth.update_time) +} + +// ------------------------------------------------------------------- + +// Health + +// .anduril.entitymanager.v1.ConnectionStatus connection_status = 1 [json_name = "connectionStatus"]; +inline void Health::clear_connection_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.connection_status_ = 0; +} +inline ::anduril::entitymanager::v1::ConnectionStatus Health::connection_status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Health.connection_status) + return _internal_connection_status(); +} +inline void Health::set_connection_status(::anduril::entitymanager::v1::ConnectionStatus value) { + _internal_set_connection_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Health.connection_status) +} +inline ::anduril::entitymanager::v1::ConnectionStatus Health::_internal_connection_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::ConnectionStatus>(_impl_.connection_status_); +} +inline void Health::_internal_set_connection_status(::anduril::entitymanager::v1::ConnectionStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.connection_status_ = value; +} + +// .anduril.entitymanager.v1.HealthStatus health_status = 2 [json_name = "healthStatus"]; +inline void Health::clear_health_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.health_status_ = 0; +} +inline ::anduril::entitymanager::v1::HealthStatus Health::health_status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Health.health_status) + return _internal_health_status(); +} +inline void Health::set_health_status(::anduril::entitymanager::v1::HealthStatus value) { + _internal_set_health_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Health.health_status) +} +inline ::anduril::entitymanager::v1::HealthStatus Health::_internal_health_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::HealthStatus>(_impl_.health_status_); +} +inline void Health::_internal_set_health_status(::anduril::entitymanager::v1::HealthStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.health_status_ = value; +} + +// repeated .anduril.entitymanager.v1.ComponentHealth components = 3 [json_name = "components"]; +inline int Health::_internal_components_size() const { + return _internal_components().size(); +} +inline int Health::components_size() const { + return _internal_components_size(); +} +inline void Health::clear_components() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.components_.Clear(); +} +inline ::anduril::entitymanager::v1::ComponentHealth* Health::mutable_components(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Health.components) + return _internal_mutable_components()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>* Health::mutable_components() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Health.components) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_components(); +} +inline const ::anduril::entitymanager::v1::ComponentHealth& Health::components(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Health.components) + return _internal_components().Get(index); +} +inline ::anduril::entitymanager::v1::ComponentHealth* Health::add_components() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::ComponentHealth* _add = _internal_mutable_components()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Health.components) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>& Health::components() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Health.components) + return _internal_components(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>& +Health::_internal_components() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.components_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::ComponentHealth>* +Health::_internal_mutable_components() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.components_; +} + +// .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"]; +inline bool Health::has_update_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Health::_internal_update_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.update_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Health::update_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Health.update_time) + return _internal_update_time(); +} +inline void Health::unsafe_arena_set_allocated_update_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_time_); + } + _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Health.update_time) +} +inline ::google::protobuf::Timestamp* Health::release_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.update_time_; + _impl_.update_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Health::unsafe_arena_release_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Health.update_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.update_time_; + _impl_.update_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Health::_internal_mutable_update_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.update_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.update_time_; +} +inline ::google::protobuf::Timestamp* Health::mutable_update_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_update_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Health.update_time) + return _msg; +} +inline void Health::set_allocated_update_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Health.update_time) +} + +// repeated .anduril.entitymanager.v1.Alert active_alerts = 5 [json_name = "activeAlerts"]; +inline int Health::_internal_active_alerts_size() const { + return _internal_active_alerts().size(); +} +inline int Health::active_alerts_size() const { + return _internal_active_alerts_size(); +} +inline void Health::clear_active_alerts() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.active_alerts_.Clear(); +} +inline ::anduril::entitymanager::v1::Alert* Health::mutable_active_alerts(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Health.active_alerts) + return _internal_mutable_active_alerts()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>* Health::mutable_active_alerts() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Health.active_alerts) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_active_alerts(); +} +inline const ::anduril::entitymanager::v1::Alert& Health::active_alerts(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Health.active_alerts) + return _internal_active_alerts().Get(index); +} +inline ::anduril::entitymanager::v1::Alert* Health::add_active_alerts() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Alert* _add = _internal_mutable_active_alerts()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Health.active_alerts) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>& Health::active_alerts() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Health.active_alerts) + return _internal_active_alerts(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>& +Health::_internal_active_alerts() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.active_alerts_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Alert>* +Health::_internal_mutable_active_alerts() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.active_alerts_; +} + +// ------------------------------------------------------------------- + +// Alert + +// string alert_code = 1 [json_name = "alertCode"]; +inline void Alert::clear_alert_code() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.alert_code_.ClearToEmpty(); +} +inline const std::string& Alert::alert_code() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Alert.alert_code) + return _internal_alert_code(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Alert::set_alert_code(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.alert_code_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Alert.alert_code) +} +inline std::string* Alert::mutable_alert_code() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_alert_code(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Alert.alert_code) + return _s; +} +inline const std::string& Alert::_internal_alert_code() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.alert_code_.Get(); +} +inline void Alert::_internal_set_alert_code(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.alert_code_.Set(value, GetArena()); +} +inline std::string* Alert::_internal_mutable_alert_code() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.alert_code_.Mutable( GetArena()); +} +inline std::string* Alert::release_alert_code() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Alert.alert_code) + return _impl_.alert_code_.Release(); +} +inline void Alert::set_allocated_alert_code(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.alert_code_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.alert_code_.IsDefault()) { + _impl_.alert_code_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Alert.alert_code) +} + +// string description = 2 [json_name = "description"]; +inline void Alert::clear_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.ClearToEmpty(); +} +inline const std::string& Alert::description() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Alert.description) + return _internal_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Alert::set_description(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Alert.description) +} +inline std::string* Alert::mutable_description() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_description(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Alert.description) + return _s; +} +inline const std::string& Alert::_internal_description() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.description_.Get(); +} +inline void Alert::_internal_set_description(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.Set(value, GetArena()); +} +inline std::string* Alert::_internal_mutable_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.description_.Mutable( GetArena()); +} +inline std::string* Alert::release_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Alert.description) + return _impl_.description_.Release(); +} +inline void Alert::set_allocated_description(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { + _impl_.description_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Alert.description) +} + +// .anduril.entitymanager.v1.AlertLevel level = 3 [json_name = "level"]; +inline void Alert::clear_level() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.level_ = 0; +} +inline ::anduril::entitymanager::v1::AlertLevel Alert::level() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Alert.level) + return _internal_level(); +} +inline void Alert::set_level(::anduril::entitymanager::v1::AlertLevel value) { + _internal_set_level(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Alert.level) +} +inline ::anduril::entitymanager::v1::AlertLevel Alert::_internal_level() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::AlertLevel>(_impl_.level_); +} +inline void Alert::_internal_set_level(::anduril::entitymanager::v1::AlertLevel value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.level_ = value; +} + +// .google.protobuf.Timestamp activated_time = 4 [json_name = "activatedTime"]; +inline bool Alert::has_activated_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.activated_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Alert::_internal_activated_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.activated_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Alert::activated_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Alert.activated_time) + return _internal_activated_time(); +} +inline void Alert::unsafe_arena_set_allocated_activated_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.activated_time_); + } + _impl_.activated_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Alert.activated_time) +} +inline ::google::protobuf::Timestamp* Alert::release_activated_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.activated_time_; + _impl_.activated_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Alert::unsafe_arena_release_activated_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Alert.activated_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.activated_time_; + _impl_.activated_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Alert::_internal_mutable_activated_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.activated_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.activated_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.activated_time_; +} +inline ::google::protobuf::Timestamp* Alert::mutable_activated_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_activated_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Alert.activated_time) + return _msg; +} +inline void Alert::set_allocated_activated_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.activated_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.activated_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Alert.activated_time) +} + +// repeated .anduril.entitymanager.v1.AlertCondition active_conditions = 5 [json_name = "activeConditions"]; +inline int Alert::_internal_active_conditions_size() const { + return _internal_active_conditions().size(); +} +inline int Alert::active_conditions_size() const { + return _internal_active_conditions_size(); +} +inline void Alert::clear_active_conditions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.active_conditions_.Clear(); +} +inline ::anduril::entitymanager::v1::AlertCondition* Alert::mutable_active_conditions(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Alert.active_conditions) + return _internal_mutable_active_conditions()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>* Alert::mutable_active_conditions() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Alert.active_conditions) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_active_conditions(); +} +inline const ::anduril::entitymanager::v1::AlertCondition& Alert::active_conditions(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Alert.active_conditions) + return _internal_active_conditions().Get(index); +} +inline ::anduril::entitymanager::v1::AlertCondition* Alert::add_active_conditions() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::AlertCondition* _add = _internal_mutable_active_conditions()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Alert.active_conditions) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>& Alert::active_conditions() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Alert.active_conditions) + return _internal_active_conditions(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>& +Alert::_internal_active_conditions() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.active_conditions_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::AlertCondition>* +Alert::_internal_mutable_active_conditions() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.active_conditions_; +} + +// ------------------------------------------------------------------- + +// AlertCondition + +// string condition_code = 1 [json_name = "conditionCode"]; +inline void AlertCondition::clear_condition_code() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.condition_code_.ClearToEmpty(); +} +inline const std::string& AlertCondition::condition_code() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AlertCondition.condition_code) + return _internal_condition_code(); +} +template +inline PROTOBUF_ALWAYS_INLINE void AlertCondition::set_condition_code(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.condition_code_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.AlertCondition.condition_code) +} +inline std::string* AlertCondition::mutable_condition_code() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_condition_code(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AlertCondition.condition_code) + return _s; +} +inline const std::string& AlertCondition::_internal_condition_code() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.condition_code_.Get(); +} +inline void AlertCondition::_internal_set_condition_code(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.condition_code_.Set(value, GetArena()); +} +inline std::string* AlertCondition::_internal_mutable_condition_code() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.condition_code_.Mutable( GetArena()); +} +inline std::string* AlertCondition::release_condition_code() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AlertCondition.condition_code) + return _impl_.condition_code_.Release(); +} +inline void AlertCondition::set_allocated_condition_code(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.condition_code_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.condition_code_.IsDefault()) { + _impl_.condition_code_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AlertCondition.condition_code) +} + +// string description = 2 [json_name = "description"]; +inline void AlertCondition::clear_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.ClearToEmpty(); +} +inline const std::string& AlertCondition::description() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AlertCondition.description) + return _internal_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE void AlertCondition::set_description(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.AlertCondition.description) +} +inline std::string* AlertCondition::mutable_description() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_description(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AlertCondition.description) + return _s; +} +inline const std::string& AlertCondition::_internal_description() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.description_.Get(); +} +inline void AlertCondition::_internal_set_description(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.Set(value, GetArena()); +} +inline std::string* AlertCondition::_internal_mutable_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.description_.Mutable( GetArena()); +} +inline std::string* AlertCondition::release_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AlertCondition.description) + return _impl_.description_.Release(); +} +inline void AlertCondition::set_allocated_description(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.description_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { + _impl_.description_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AlertCondition.description) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::ConnectionStatus> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::ConnectionStatus>() { + return ::anduril::entitymanager::v1::ConnectionStatus_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::HealthStatus> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::HealthStatus>() { + return ::anduril::entitymanager::v1::HealthStatus_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::AlertLevel> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::AlertLevel>() { + return ::anduril::entitymanager::v1::AlertLevel_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fhealth_5fstatus_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/location.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/location.pub.grpc.pb.cc new file mode 100644 index 0000000..8f58ef7 --- /dev/null +++ b/src/anduril/entitymanager/v1/location.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/location.pub.proto + +#include "anduril/entitymanager/v1/location.pub.pb.h" +#include "anduril/entitymanager/v1/location.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/location.pub.grpc.pb.h b/src/anduril/entitymanager/v1/location.pub.grpc.pb.h new file mode 100644 index 0000000..fb725e2 --- /dev/null +++ b/src/anduril/entitymanager/v1/location.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/location.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/location.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/location.pub.pb.cc b/src/anduril/entitymanager/v1/location.pub.pb.cc new file mode 100644 index 0000000..1293db9 --- /dev/null +++ b/src/anduril/entitymanager/v1/location.pub.pb.cc @@ -0,0 +1,2650 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/location.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/location.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr TMat3::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : mxx_{0}, + mxy_{0}, + mxz_{0}, + myy_{0}, + myz_{0}, + mzz_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR TMat3::TMat3(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TMat3DefaultTypeInternal { + PROTOBUF_CONSTEXPR TMat3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TMat3DefaultTypeInternal() {} + union { + TMat3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TMat3DefaultTypeInternal _TMat3_default_instance_; + +inline constexpr Position::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + altitude_hae_meters_{nullptr}, + altitude_agl_meters_{nullptr}, + altitude_asf_meters_{nullptr}, + pressure_depth_meters_{nullptr}, + latitude_degrees_{0}, + longitude_degrees_{0} {} + +template +PROTOBUF_CONSTEXPR Position::Position(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PositionDefaultTypeInternal { + PROTOBUF_CONSTEXPR PositionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PositionDefaultTypeInternal() {} + union { + Position _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PositionDefaultTypeInternal _Position_default_instance_; + +inline constexpr ErrorEllipse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + probability_{nullptr}, + semi_major_axis_m_{nullptr}, + semi_minor_axis_m_{nullptr}, + orientation_d_{nullptr} {} + +template +PROTOBUF_CONSTEXPR ErrorEllipse::ErrorEllipse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ErrorEllipseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ErrorEllipseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ErrorEllipseDefaultTypeInternal() {} + union { + ErrorEllipse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ErrorEllipseDefaultTypeInternal _ErrorEllipse_default_instance_; + +inline constexpr Pose::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + pos_{nullptr}, + orientation_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Pose::Pose(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PoseDefaultTypeInternal { + PROTOBUF_CONSTEXPR PoseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PoseDefaultTypeInternal() {} + union { + Pose _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PoseDefaultTypeInternal _Pose_default_instance_; + +inline constexpr LocationUncertainty::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + position_enu_cov_{nullptr}, + velocity_enu_cov_{nullptr}, + position_error_ellipse_{nullptr} {} + +template +PROTOBUF_CONSTEXPR LocationUncertainty::LocationUncertainty(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct LocationUncertaintyDefaultTypeInternal { + PROTOBUF_CONSTEXPR LocationUncertaintyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LocationUncertaintyDefaultTypeInternal() {} + union { + LocationUncertainty _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocationUncertaintyDefaultTypeInternal _LocationUncertainty_default_instance_; + +inline constexpr Location::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + position_{nullptr}, + velocity_enu_{nullptr}, + attitude_enu_{nullptr}, + acceleration_{nullptr}, + speed_mps_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Location::Location(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct LocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR LocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LocationDefaultTypeInternal() {} + union { + Location _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocationDefaultTypeInternal _Location_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _impl_.velocity_enu_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _impl_.speed_mps_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _impl_.acceleration_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Location, _impl_.attitude_enu_), + 0, + 1, + 4, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_.latitude_degrees_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_.longitude_degrees_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_.altitude_hae_meters_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_.altitude_agl_meters_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_.altitude_asf_meters_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Position, _impl_.pressure_depth_meters_), + ~0u, + ~0u, + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LocationUncertainty, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LocationUncertainty, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LocationUncertainty, _impl_.position_enu_cov_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LocationUncertainty, _impl_.velocity_enu_cov_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LocationUncertainty, _impl_.position_error_ellipse_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ErrorEllipse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ErrorEllipse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ErrorEllipse, _impl_.probability_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ErrorEllipse, _impl_.semi_major_axis_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ErrorEllipse, _impl_.semi_minor_axis_m_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ErrorEllipse, _impl_.orientation_d_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Pose, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Pose, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Pose, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Pose, _impl_.orientation_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _impl_.mxx_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _impl_.mxy_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _impl_.mxz_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _impl_.myy_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _impl_.myz_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TMat3, _impl_.mzz_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 13, -1, sizeof(::anduril::entitymanager::v1::Location)}, + {18, 32, -1, sizeof(::anduril::entitymanager::v1::Position)}, + {38, 49, -1, sizeof(::anduril::entitymanager::v1::LocationUncertainty)}, + {52, 64, -1, sizeof(::anduril::entitymanager::v1::ErrorEllipse)}, + {68, 78, -1, sizeof(::anduril::entitymanager::v1::Pose)}, + {80, -1, -1, sizeof(::anduril::entitymanager::v1::TMat3)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Location_default_instance_._instance, + &::anduril::entitymanager::v1::_Position_default_instance_._instance, + &::anduril::entitymanager::v1::_LocationUncertainty_default_instance_._instance, + &::anduril::entitymanager::v1::_ErrorEllipse_default_instance_._instance, + &::anduril::entitymanager::v1::_Pose_default_instance_._instance, + &::anduril::entitymanager::v1::_TMat3_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n+anduril/entitymanager/v1/location.pub." + "proto\022\030anduril.entitymanager.v1\032\035anduril" + "/type/coords.pub.proto\032\036google/protobuf/" + "wrappers.proto\"\257\002\n\010Location\022>\n\010position\030" + "\001 \001(\0132\".anduril.entitymanager.v1.Positio" + "nR\010position\0224\n\014velocity_enu\030\002 \001(\0132\021.andu" + "ril.type.ENUR\013velocityEnu\0229\n\tspeed_mps\030\005" + " \001(\0132\034.google.protobuf.DoubleValueR\010spee" + "dMps\0225\n\014acceleration\030\004 \001(\0132\021.anduril.typ" + "e.ENUR\014acceleration\022;\n\014attitude_enu\030\003 \001(" + "\0132\030.anduril.type.QuaternionR\013attitudeEnu" + "\"\236\003\n\010Position\022)\n\020latitude_degrees\030\001 \001(\001R" + "\017latitudeDegrees\022+\n\021longitude_degrees\030\002 " + "\001(\001R\020longitudeDegrees\022L\n\023altitude_hae_me" + "ters\030\003 \001(\0132\034.google.protobuf.DoubleValue" + "R\021altitudeHaeMeters\022L\n\023altitude_agl_mete" + "rs\030\004 \001(\0132\034.google.protobuf.DoubleValueR\021" + "altitudeAglMeters\022L\n\023altitude_asf_meters" + "\030\005 \001(\0132\034.google.protobuf.DoubleValueR\021al" + "titudeAsfMeters\022P\n\025pressure_depth_meters" + "\030\006 \001(\0132\034.google.protobuf.DoubleValueR\023pr" + "essureDepthMeters\"\211\002\n\023LocationUncertaint" + "y\022I\n\020position_enu_cov\030\001 \001(\0132\037.anduril.en" + "titymanager.v1.TMat3R\016positionEnuCov\022I\n\020" + "velocity_enu_cov\030\002 \001(\0132\037.anduril.entitym" + "anager.v1.TMat3R\016velocityEnuCov\022\\\n\026posit" + "ion_error_ellipse\030\003 \001(\0132&.anduril.entity" + "manager.v1.ErrorEllipseR\024positionErrorEl" + "lipse\"\243\002\n\014ErrorEllipse\022>\n\013probability\030\001 " + "\001(\0132\034.google.protobuf.DoubleValueR\013proba" + "bility\022G\n\021semi_major_axis_m\030\002 \001(\0132\034.goog" + "le.protobuf.DoubleValueR\016semiMajorAxisM\022" + "G\n\021semi_minor_axis_m\030\003 \001(\0132\034.google.prot" + "obuf.DoubleValueR\016semiMinorAxisM\022A\n\rorie" + "ntation_d\030\004 \001(\0132\034.google.protobuf.Double" + "ValueR\014orientationD\"x\n\004Pose\0224\n\003pos\030\001 \001(\013" + "2\".anduril.entitymanager.v1.PositionR\003po" + "s\022:\n\013orientation\030\002 \001(\0132\030.anduril.type.Qu" + "aternionR\013orientation\"s\n\005TMat3\022\020\n\003mxx\030\001 " + "\001(\002R\003mxx\022\020\n\003mxy\030\002 \001(\002R\003mxy\022\020\n\003mxz\030\003 \001(\002R" + "\003mxz\022\020\n\003myy\030\004 \001(\002R\003myy\022\020\n\003myz\030\005 \001(\002R\003myz" + "\022\020\n\003mzz\030\006 \001(\002R\003mzzB\201\002\n\034com.anduril.entit" + "ymanager.v1B\020LocationPubProtoP\001ZMghe.and" + "uril.dev/anduril/andurilapis-go/anduril/" + "entitymanager/v1;entitymanager\242\002\003AEX\252\002\030A" + "nduril.Entitymanager.V1\312\002\030Anduril\\Entity" + "manager\\V1\342\002$Anduril\\Entitymanager\\V1\\GP" + "BMetadata\352\002\032Anduril::Entitymanager::V1b\006" + "proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_deps[2] = + { + &::descriptor_table_anduril_2ftype_2fcoords_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto = { + false, + false, + 1926, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + "anduril/entitymanager/v1/location.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_deps, + 2, + 6, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class Location::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Location, _impl_._has_bits_); +}; + +void Location::clear_velocity_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.velocity_enu_ != nullptr) _impl_.velocity_enu_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void Location::clear_speed_mps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.speed_mps_ != nullptr) _impl_.speed_mps_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +void Location::clear_acceleration() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.acceleration_ != nullptr) _impl_.acceleration_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void Location::clear_attitude_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.attitude_enu_ != nullptr) _impl_.attitude_enu_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +Location::Location(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Location) +} +inline PROTOBUF_NDEBUG_INLINE Location::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Location& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Location::Location( + ::google::protobuf::Arena* arena, + const Location& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Location* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.position_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.position_) + : nullptr; + _impl_.velocity_enu_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::ENU>( + arena, *from._impl_.velocity_enu_) + : nullptr; + _impl_.attitude_enu_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::Quaternion>( + arena, *from._impl_.attitude_enu_) + : nullptr; + _impl_.acceleration_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::ENU>( + arena, *from._impl_.acceleration_) + : nullptr; + _impl_.speed_mps_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.speed_mps_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Location) +} +inline PROTOBUF_NDEBUG_INLINE Location::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Location::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, position_), + 0, + offsetof(Impl_, speed_mps_) - + offsetof(Impl_, position_) + + sizeof(Impl_::speed_mps_)); +} +Location::~Location() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Location) + SharedDtor(*this); +} +inline void Location::SharedDtor(MessageLite& self) { + Location& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.position_; + delete this_._impl_.velocity_enu_; + delete this_._impl_.attitude_enu_; + delete this_._impl_.acceleration_; + delete this_._impl_.speed_mps_; + this_._impl_.~Impl_(); +} + +inline void* Location::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Location(arena); +} +constexpr auto Location::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Location), + alignof(Location)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Location::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Location_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Location::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Location::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Location::ByteSizeLong, + &Location::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Location, _impl_._cached_size_), + false, + }, + &Location::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Location::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 5, 0, 2> Location::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Location, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Location>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Location, _impl_.position_)}}, + // .anduril.type.ENU velocity_enu = 2 [json_name = "velocityEnu"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Location, _impl_.velocity_enu_)}}, + // .anduril.type.Quaternion attitude_enu = 3 [json_name = "attitudeEnu"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(Location, _impl_.attitude_enu_)}}, + // .anduril.type.ENU acceleration = 4 [json_name = "acceleration"]; + {::_pbi::TcParser::FastMtS1, + {34, 3, 3, PROTOBUF_FIELD_OFFSET(Location, _impl_.acceleration_)}}, + // .google.protobuf.DoubleValue speed_mps = 5 [json_name = "speedMps"]; + {::_pbi::TcParser::FastMtS1, + {42, 4, 4, PROTOBUF_FIELD_OFFSET(Location, _impl_.speed_mps_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + {PROTOBUF_FIELD_OFFSET(Location, _impl_.position_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.type.ENU velocity_enu = 2 [json_name = "velocityEnu"]; + {PROTOBUF_FIELD_OFFSET(Location, _impl_.velocity_enu_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.type.Quaternion attitude_enu = 3 [json_name = "attitudeEnu"]; + {PROTOBUF_FIELD_OFFSET(Location, _impl_.attitude_enu_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.type.ENU acceleration = 4 [json_name = "acceleration"]; + {PROTOBUF_FIELD_OFFSET(Location, _impl_.acceleration_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue speed_mps = 5 [json_name = "speedMps"]; + {PROTOBUF_FIELD_OFFSET(Location, _impl_.speed_mps_), _Internal::kHasBitsOffset + 4, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::anduril::type::ENU>()}, + {::_pbi::TcParser::GetTable<::anduril::type::Quaternion>()}, + {::_pbi::TcParser::GetTable<::anduril::type::ENU>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Location::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Location) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.velocity_enu_ != nullptr); + _impl_.velocity_enu_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.attitude_enu_ != nullptr); + _impl_.attitude_enu_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.acceleration_ != nullptr); + _impl_.acceleration_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(_impl_.speed_mps_ != nullptr); + _impl_.speed_mps_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Location::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Location& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Location::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Location& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Location) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.position_, this_._impl_.position_->GetCachedSize(), target, + stream); + } + + // .anduril.type.ENU velocity_enu = 2 [json_name = "velocityEnu"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.velocity_enu_, this_._impl_.velocity_enu_->GetCachedSize(), target, + stream); + } + + // .anduril.type.Quaternion attitude_enu = 3 [json_name = "attitudeEnu"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.attitude_enu_, this_._impl_.attitude_enu_->GetCachedSize(), target, + stream); + } + + // .anduril.type.ENU acceleration = 4 [json_name = "acceleration"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.acceleration_, this_._impl_.acceleration_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue speed_mps = 5 [json_name = "speedMps"]; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.speed_mps_, this_._impl_.speed_mps_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Location) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Location::ByteSizeLong(const MessageLite& base) { + const Location& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Location::ByteSizeLong() const { + const Location& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Location) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.position_); + } + // .anduril.type.ENU velocity_enu = 2 [json_name = "velocityEnu"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.velocity_enu_); + } + // .anduril.type.Quaternion attitude_enu = 3 [json_name = "attitudeEnu"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attitude_enu_); + } + // .anduril.type.ENU acceleration = 4 [json_name = "acceleration"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.acceleration_); + } + // .google.protobuf.DoubleValue speed_mps = 5 [json_name = "speedMps"]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.speed_mps_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Location::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Location) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.position_ != nullptr); + if (_this->_impl_.position_ == nullptr) { + _this->_impl_.position_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.position_); + } else { + _this->_impl_.position_->MergeFrom(*from._impl_.position_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.velocity_enu_ != nullptr); + if (_this->_impl_.velocity_enu_ == nullptr) { + _this->_impl_.velocity_enu_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::ENU>(arena, *from._impl_.velocity_enu_); + } else { + _this->_impl_.velocity_enu_->MergeFrom(*from._impl_.velocity_enu_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.attitude_enu_ != nullptr); + if (_this->_impl_.attitude_enu_ == nullptr) { + _this->_impl_.attitude_enu_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::Quaternion>(arena, *from._impl_.attitude_enu_); + } else { + _this->_impl_.attitude_enu_->MergeFrom(*from._impl_.attitude_enu_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.acceleration_ != nullptr); + if (_this->_impl_.acceleration_ == nullptr) { + _this->_impl_.acceleration_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::ENU>(arena, *from._impl_.acceleration_); + } else { + _this->_impl_.acceleration_->MergeFrom(*from._impl_.acceleration_); + } + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(from._impl_.speed_mps_ != nullptr); + if (_this->_impl_.speed_mps_ == nullptr) { + _this->_impl_.speed_mps_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.speed_mps_); + } else { + _this->_impl_.speed_mps_->MergeFrom(*from._impl_.speed_mps_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Location::CopyFrom(const Location& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Location) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Location::InternalSwap(Location* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Location, _impl_.speed_mps_) + + sizeof(Location::_impl_.speed_mps_) + - PROTOBUF_FIELD_OFFSET(Location, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::google::protobuf::Metadata Location::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Position::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Position, _impl_._has_bits_); +}; + +void Position::clear_altitude_hae_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.altitude_hae_meters_ != nullptr) _impl_.altitude_hae_meters_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Position::clear_altitude_agl_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.altitude_agl_meters_ != nullptr) _impl_.altitude_agl_meters_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void Position::clear_altitude_asf_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.altitude_asf_meters_ != nullptr) _impl_.altitude_asf_meters_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void Position::clear_pressure_depth_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pressure_depth_meters_ != nullptr) _impl_.pressure_depth_meters_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +Position::Position(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Position) +} +inline PROTOBUF_NDEBUG_INLINE Position::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Position& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Position::Position( + ::google::protobuf::Arena* arena, + const Position& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Position* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.altitude_hae_meters_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.altitude_hae_meters_) + : nullptr; + _impl_.altitude_agl_meters_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.altitude_agl_meters_) + : nullptr; + _impl_.altitude_asf_meters_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.altitude_asf_meters_) + : nullptr; + _impl_.pressure_depth_meters_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.pressure_depth_meters_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, latitude_degrees_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, latitude_degrees_), + offsetof(Impl_, longitude_degrees_) - + offsetof(Impl_, latitude_degrees_) + + sizeof(Impl_::longitude_degrees_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Position) +} +inline PROTOBUF_NDEBUG_INLINE Position::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Position::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, altitude_hae_meters_), + 0, + offsetof(Impl_, longitude_degrees_) - + offsetof(Impl_, altitude_hae_meters_) + + sizeof(Impl_::longitude_degrees_)); +} +Position::~Position() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Position) + SharedDtor(*this); +} +inline void Position::SharedDtor(MessageLite& self) { + Position& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.altitude_hae_meters_; + delete this_._impl_.altitude_agl_meters_; + delete this_._impl_.altitude_asf_meters_; + delete this_._impl_.pressure_depth_meters_; + this_._impl_.~Impl_(); +} + +inline void* Position::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Position(arena); +} +constexpr auto Position::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Position), + alignof(Position)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Position::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Position_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Position::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Position::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Position::ByteSizeLong, + &Position::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Position, _impl_._cached_size_), + false, + }, + &Position::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Position::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 4, 0, 2> Position::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Position, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // double latitude_degrees = 1 [json_name = "latitudeDegrees"]; + {::_pbi::TcParser::FastF64S1, + {9, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_degrees_)}}, + // double longitude_degrees = 2 [json_name = "longitudeDegrees"]; + {::_pbi::TcParser::FastF64S1, + {17, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_degrees_)}}, + // .google.protobuf.DoubleValue altitude_hae_meters = 3 [json_name = "altitudeHaeMeters"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_hae_meters_)}}, + // .google.protobuf.DoubleValue altitude_agl_meters = 4 [json_name = "altitudeAglMeters"]; + {::_pbi::TcParser::FastMtS1, + {34, 1, 1, PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_agl_meters_)}}, + // .google.protobuf.DoubleValue altitude_asf_meters = 5 [json_name = "altitudeAsfMeters"]; + {::_pbi::TcParser::FastMtS1, + {42, 2, 2, PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_asf_meters_)}}, + // .google.protobuf.DoubleValue pressure_depth_meters = 6 [json_name = "pressureDepthMeters"]; + {::_pbi::TcParser::FastMtS1, + {50, 3, 3, PROTOBUF_FIELD_OFFSET(Position, _impl_.pressure_depth_meters_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // double latitude_degrees = 1 [json_name = "latitudeDegrees"]; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_degrees_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // double longitude_degrees = 2 [json_name = "longitudeDegrees"]; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_degrees_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // .google.protobuf.DoubleValue altitude_hae_meters = 3 [json_name = "altitudeHaeMeters"]; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_hae_meters_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue altitude_agl_meters = 4 [json_name = "altitudeAglMeters"]; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_agl_meters_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue altitude_asf_meters = 5 [json_name = "altitudeAsfMeters"]; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_asf_meters_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue pressure_depth_meters = 6 [json_name = "pressureDepthMeters"]; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.pressure_depth_meters_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Position::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Position) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.altitude_hae_meters_ != nullptr); + _impl_.altitude_hae_meters_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.altitude_agl_meters_ != nullptr); + _impl_.altitude_agl_meters_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.altitude_asf_meters_ != nullptr); + _impl_.altitude_asf_meters_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.pressure_depth_meters_ != nullptr); + _impl_.pressure_depth_meters_->Clear(); + } + } + ::memset(&_impl_.latitude_degrees_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.longitude_degrees_) - + reinterpret_cast(&_impl_.latitude_degrees_)) + sizeof(_impl_.longitude_degrees_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Position::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Position& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Position::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Position& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Position) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // double latitude_degrees = 1 [json_name = "latitudeDegrees"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_degrees()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 1, this_._internal_latitude_degrees(), target); + } + + // double longitude_degrees = 2 [json_name = "longitudeDegrees"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_degrees()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 2, this_._internal_longitude_degrees(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue altitude_hae_meters = 3 [json_name = "altitudeHaeMeters"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.altitude_hae_meters_, this_._impl_.altitude_hae_meters_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue altitude_agl_meters = 4 [json_name = "altitudeAglMeters"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.altitude_agl_meters_, this_._impl_.altitude_agl_meters_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue altitude_asf_meters = 5 [json_name = "altitudeAsfMeters"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.altitude_asf_meters_, this_._impl_.altitude_asf_meters_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue pressure_depth_meters = 6 [json_name = "pressureDepthMeters"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.pressure_depth_meters_, this_._impl_.pressure_depth_meters_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Position) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Position::ByteSizeLong(const MessageLite& base) { + const Position& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Position::ByteSizeLong() const { + const Position& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Position) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // .google.protobuf.DoubleValue altitude_hae_meters = 3 [json_name = "altitudeHaeMeters"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.altitude_hae_meters_); + } + // .google.protobuf.DoubleValue altitude_agl_meters = 4 [json_name = "altitudeAglMeters"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.altitude_agl_meters_); + } + // .google.protobuf.DoubleValue altitude_asf_meters = 5 [json_name = "altitudeAsfMeters"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.altitude_asf_meters_); + } + // .google.protobuf.DoubleValue pressure_depth_meters = 6 [json_name = "pressureDepthMeters"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pressure_depth_meters_); + } + } + { + // double latitude_degrees = 1 [json_name = "latitudeDegrees"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_degrees()) != 0) { + total_size += 9; + } + // double longitude_degrees = 2 [json_name = "longitudeDegrees"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_degrees()) != 0) { + total_size += 9; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Position::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Position) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.altitude_hae_meters_ != nullptr); + if (_this->_impl_.altitude_hae_meters_ == nullptr) { + _this->_impl_.altitude_hae_meters_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.altitude_hae_meters_); + } else { + _this->_impl_.altitude_hae_meters_->MergeFrom(*from._impl_.altitude_hae_meters_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.altitude_agl_meters_ != nullptr); + if (_this->_impl_.altitude_agl_meters_ == nullptr) { + _this->_impl_.altitude_agl_meters_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.altitude_agl_meters_); + } else { + _this->_impl_.altitude_agl_meters_->MergeFrom(*from._impl_.altitude_agl_meters_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.altitude_asf_meters_ != nullptr); + if (_this->_impl_.altitude_asf_meters_ == nullptr) { + _this->_impl_.altitude_asf_meters_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.altitude_asf_meters_); + } else { + _this->_impl_.altitude_asf_meters_->MergeFrom(*from._impl_.altitude_asf_meters_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.pressure_depth_meters_ != nullptr); + if (_this->_impl_.pressure_depth_meters_ == nullptr) { + _this->_impl_.pressure_depth_meters_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.pressure_depth_meters_); + } else { + _this->_impl_.pressure_depth_meters_->MergeFrom(*from._impl_.pressure_depth_meters_); + } + } + } + if (::absl::bit_cast<::uint64_t>(from._internal_latitude_degrees()) != 0) { + _this->_impl_.latitude_degrees_ = from._impl_.latitude_degrees_; + } + if (::absl::bit_cast<::uint64_t>(from._internal_longitude_degrees()) != 0) { + _this->_impl_.longitude_degrees_ = from._impl_.longitude_degrees_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Position::CopyFrom(const Position& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Position) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Position::InternalSwap(Position* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_degrees_) + + sizeof(Position::_impl_.longitude_degrees_) + - PROTOBUF_FIELD_OFFSET(Position, _impl_.altitude_hae_meters_)>( + reinterpret_cast(&_impl_.altitude_hae_meters_), + reinterpret_cast(&other->_impl_.altitude_hae_meters_)); +} + +::google::protobuf::Metadata Position::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class LocationUncertainty::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_._has_bits_); +}; + +LocationUncertainty::LocationUncertainty(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.LocationUncertainty) +} +inline PROTOBUF_NDEBUG_INLINE LocationUncertainty::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::LocationUncertainty& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +LocationUncertainty::LocationUncertainty( + ::google::protobuf::Arena* arena, + const LocationUncertainty& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LocationUncertainty* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.position_enu_cov_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TMat3>( + arena, *from._impl_.position_enu_cov_) + : nullptr; + _impl_.velocity_enu_cov_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TMat3>( + arena, *from._impl_.velocity_enu_cov_) + : nullptr; + _impl_.position_error_ellipse_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ErrorEllipse>( + arena, *from._impl_.position_error_ellipse_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.LocationUncertainty) +} +inline PROTOBUF_NDEBUG_INLINE LocationUncertainty::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void LocationUncertainty::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, position_enu_cov_), + 0, + offsetof(Impl_, position_error_ellipse_) - + offsetof(Impl_, position_enu_cov_) + + sizeof(Impl_::position_error_ellipse_)); +} +LocationUncertainty::~LocationUncertainty() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.LocationUncertainty) + SharedDtor(*this); +} +inline void LocationUncertainty::SharedDtor(MessageLite& self) { + LocationUncertainty& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.position_enu_cov_; + delete this_._impl_.velocity_enu_cov_; + delete this_._impl_.position_error_ellipse_; + this_._impl_.~Impl_(); +} + +inline void* LocationUncertainty::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) LocationUncertainty(arena); +} +constexpr auto LocationUncertainty::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LocationUncertainty), + alignof(LocationUncertainty)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull LocationUncertainty::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_LocationUncertainty_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &LocationUncertainty::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &LocationUncertainty::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &LocationUncertainty::ByteSizeLong, + &LocationUncertainty::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_._cached_size_), + false, + }, + &LocationUncertainty::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* LocationUncertainty::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> LocationUncertainty::_table_ = { + { + PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LocationUncertainty>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.TMat3 position_enu_cov = 1 [json_name = "positionEnuCov"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.position_enu_cov_)}}, + // .anduril.entitymanager.v1.TMat3 velocity_enu_cov = 2 [json_name = "velocityEnuCov"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.velocity_enu_cov_)}}, + // .anduril.entitymanager.v1.ErrorEllipse position_error_ellipse = 3 [json_name = "positionErrorEllipse"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.position_error_ellipse_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.TMat3 position_enu_cov = 1 [json_name = "positionEnuCov"]; + {PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.position_enu_cov_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.TMat3 velocity_enu_cov = 2 [json_name = "velocityEnuCov"]; + {PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.velocity_enu_cov_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.ErrorEllipse position_error_ellipse = 3 [json_name = "positionErrorEllipse"]; + {PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.position_error_ellipse_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TMat3>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TMat3>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ErrorEllipse>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void LocationUncertainty::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.LocationUncertainty) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.position_enu_cov_ != nullptr); + _impl_.position_enu_cov_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.velocity_enu_cov_ != nullptr); + _impl_.velocity_enu_cov_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.position_error_ellipse_ != nullptr); + _impl_.position_error_ellipse_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* LocationUncertainty::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const LocationUncertainty& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* LocationUncertainty::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const LocationUncertainty& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.LocationUncertainty) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.TMat3 position_enu_cov = 1 [json_name = "positionEnuCov"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.position_enu_cov_, this_._impl_.position_enu_cov_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.TMat3 velocity_enu_cov = 2 [json_name = "velocityEnuCov"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.velocity_enu_cov_, this_._impl_.velocity_enu_cov_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.ErrorEllipse position_error_ellipse = 3 [json_name = "positionErrorEllipse"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.position_error_ellipse_, this_._impl_.position_error_ellipse_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.LocationUncertainty) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t LocationUncertainty::ByteSizeLong(const MessageLite& base) { + const LocationUncertainty& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t LocationUncertainty::ByteSizeLong() const { + const LocationUncertainty& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.LocationUncertainty) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .anduril.entitymanager.v1.TMat3 position_enu_cov = 1 [json_name = "positionEnuCov"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.position_enu_cov_); + } + // .anduril.entitymanager.v1.TMat3 velocity_enu_cov = 2 [json_name = "velocityEnuCov"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.velocity_enu_cov_); + } + // .anduril.entitymanager.v1.ErrorEllipse position_error_ellipse = 3 [json_name = "positionErrorEllipse"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.position_error_ellipse_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void LocationUncertainty::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.LocationUncertainty) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.position_enu_cov_ != nullptr); + if (_this->_impl_.position_enu_cov_ == nullptr) { + _this->_impl_.position_enu_cov_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TMat3>(arena, *from._impl_.position_enu_cov_); + } else { + _this->_impl_.position_enu_cov_->MergeFrom(*from._impl_.position_enu_cov_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.velocity_enu_cov_ != nullptr); + if (_this->_impl_.velocity_enu_cov_ == nullptr) { + _this->_impl_.velocity_enu_cov_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TMat3>(arena, *from._impl_.velocity_enu_cov_); + } else { + _this->_impl_.velocity_enu_cov_->MergeFrom(*from._impl_.velocity_enu_cov_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.position_error_ellipse_ != nullptr); + if (_this->_impl_.position_error_ellipse_ == nullptr) { + _this->_impl_.position_error_ellipse_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ErrorEllipse>(arena, *from._impl_.position_error_ellipse_); + } else { + _this->_impl_.position_error_ellipse_->MergeFrom(*from._impl_.position_error_ellipse_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void LocationUncertainty::CopyFrom(const LocationUncertainty& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.LocationUncertainty) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void LocationUncertainty::InternalSwap(LocationUncertainty* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.position_error_ellipse_) + + sizeof(LocationUncertainty::_impl_.position_error_ellipse_) + - PROTOBUF_FIELD_OFFSET(LocationUncertainty, _impl_.position_enu_cov_)>( + reinterpret_cast(&_impl_.position_enu_cov_), + reinterpret_cast(&other->_impl_.position_enu_cov_)); +} + +::google::protobuf::Metadata LocationUncertainty::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ErrorEllipse::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_._has_bits_); +}; + +void ErrorEllipse::clear_probability() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.probability_ != nullptr) _impl_.probability_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void ErrorEllipse::clear_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_major_axis_m_ != nullptr) _impl_.semi_major_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void ErrorEllipse::clear_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_minor_axis_m_ != nullptr) _impl_.semi_minor_axis_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void ErrorEllipse::clear_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orientation_d_ != nullptr) _impl_.orientation_d_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +ErrorEllipse::ErrorEllipse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ErrorEllipse) +} +inline PROTOBUF_NDEBUG_INLINE ErrorEllipse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ErrorEllipse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ErrorEllipse::ErrorEllipse( + ::google::protobuf::Arena* arena, + const ErrorEllipse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ErrorEllipse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.probability_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.probability_) + : nullptr; + _impl_.semi_major_axis_m_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.semi_major_axis_m_) + : nullptr; + _impl_.semi_minor_axis_m_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.semi_minor_axis_m_) + : nullptr; + _impl_.orientation_d_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.orientation_d_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ErrorEllipse) +} +inline PROTOBUF_NDEBUG_INLINE ErrorEllipse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ErrorEllipse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, probability_), + 0, + offsetof(Impl_, orientation_d_) - + offsetof(Impl_, probability_) + + sizeof(Impl_::orientation_d_)); +} +ErrorEllipse::~ErrorEllipse() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ErrorEllipse) + SharedDtor(*this); +} +inline void ErrorEllipse::SharedDtor(MessageLite& self) { + ErrorEllipse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.probability_; + delete this_._impl_.semi_major_axis_m_; + delete this_._impl_.semi_minor_axis_m_; + delete this_._impl_.orientation_d_; + this_._impl_.~Impl_(); +} + +inline void* ErrorEllipse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ErrorEllipse(arena); +} +constexpr auto ErrorEllipse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ErrorEllipse), + alignof(ErrorEllipse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ErrorEllipse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ErrorEllipse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ErrorEllipse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ErrorEllipse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ErrorEllipse::ByteSizeLong, + &ErrorEllipse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_._cached_size_), + false, + }, + &ErrorEllipse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ErrorEllipse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 4, 0, 2> ErrorEllipse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ErrorEllipse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + {::_pbi::TcParser::FastMtS1, + {34, 3, 3, PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.orientation_d_)}}, + // .google.protobuf.DoubleValue probability = 1 [json_name = "probability"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.probability_)}}, + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.semi_major_axis_m_)}}, + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.semi_minor_axis_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.DoubleValue probability = 1 [json_name = "probability"]; + {PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.probability_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + {PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.semi_major_axis_m_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + {PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.semi_minor_axis_m_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + {PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.orientation_d_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ErrorEllipse::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ErrorEllipse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.probability_ != nullptr); + _impl_.probability_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.semi_major_axis_m_ != nullptr); + _impl_.semi_major_axis_m_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.semi_minor_axis_m_ != nullptr); + _impl_.semi_minor_axis_m_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.orientation_d_ != nullptr); + _impl_.orientation_d_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ErrorEllipse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ErrorEllipse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ErrorEllipse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ErrorEllipse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ErrorEllipse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue probability = 1 [json_name = "probability"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.probability_, this_._impl_.probability_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.semi_major_axis_m_, this_._impl_.semi_major_axis_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.semi_minor_axis_m_, this_._impl_.semi_minor_axis_m_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.orientation_d_, this_._impl_.orientation_d_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ErrorEllipse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ErrorEllipse::ByteSizeLong(const MessageLite& base) { + const ErrorEllipse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ErrorEllipse::ByteSizeLong() const { + const ErrorEllipse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ErrorEllipse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // .google.protobuf.DoubleValue probability = 1 [json_name = "probability"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.probability_); + } + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.semi_major_axis_m_); + } + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.semi_minor_axis_m_); + } + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.orientation_d_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ErrorEllipse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ErrorEllipse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.probability_ != nullptr); + if (_this->_impl_.probability_ == nullptr) { + _this->_impl_.probability_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.probability_); + } else { + _this->_impl_.probability_->MergeFrom(*from._impl_.probability_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.semi_major_axis_m_ != nullptr); + if (_this->_impl_.semi_major_axis_m_ == nullptr) { + _this->_impl_.semi_major_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.semi_major_axis_m_); + } else { + _this->_impl_.semi_major_axis_m_->MergeFrom(*from._impl_.semi_major_axis_m_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.semi_minor_axis_m_ != nullptr); + if (_this->_impl_.semi_minor_axis_m_ == nullptr) { + _this->_impl_.semi_minor_axis_m_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.semi_minor_axis_m_); + } else { + _this->_impl_.semi_minor_axis_m_->MergeFrom(*from._impl_.semi_minor_axis_m_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.orientation_d_ != nullptr); + if (_this->_impl_.orientation_d_ == nullptr) { + _this->_impl_.orientation_d_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.orientation_d_); + } else { + _this->_impl_.orientation_d_->MergeFrom(*from._impl_.orientation_d_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ErrorEllipse::CopyFrom(const ErrorEllipse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ErrorEllipse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ErrorEllipse::InternalSwap(ErrorEllipse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.orientation_d_) + + sizeof(ErrorEllipse::_impl_.orientation_d_) + - PROTOBUF_FIELD_OFFSET(ErrorEllipse, _impl_.probability_)>( + reinterpret_cast(&_impl_.probability_), + reinterpret_cast(&other->_impl_.probability_)); +} + +::google::protobuf::Metadata ErrorEllipse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Pose::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Pose, _impl_._has_bits_); +}; + +void Pose::clear_orientation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orientation_ != nullptr) _impl_.orientation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +Pose::Pose(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Pose) +} +inline PROTOBUF_NDEBUG_INLINE Pose::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Pose& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Pose::Pose( + ::google::protobuf::Arena* arena, + const Pose& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Pose* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.pos_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.pos_) + : nullptr; + _impl_.orientation_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::Quaternion>( + arena, *from._impl_.orientation_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Pose) +} +inline PROTOBUF_NDEBUG_INLINE Pose::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Pose::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, pos_), + 0, + offsetof(Impl_, orientation_) - + offsetof(Impl_, pos_) + + sizeof(Impl_::orientation_)); +} +Pose::~Pose() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Pose) + SharedDtor(*this); +} +inline void Pose::SharedDtor(MessageLite& self) { + Pose& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.pos_; + delete this_._impl_.orientation_; + this_._impl_.~Impl_(); +} + +inline void* Pose::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Pose(arena); +} +constexpr auto Pose::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Pose), + alignof(Pose)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Pose::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Pose_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Pose::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Pose::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Pose::ByteSizeLong, + &Pose::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Pose, _impl_._cached_size_), + false, + }, + &Pose::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Pose::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Pose::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Pose, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Pose>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.type.Quaternion orientation = 2 [json_name = "orientation"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Pose, _impl_.orientation_)}}, + // .anduril.entitymanager.v1.Position pos = 1 [json_name = "pos"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Pose, _impl_.pos_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Position pos = 1 [json_name = "pos"]; + {PROTOBUF_FIELD_OFFSET(Pose, _impl_.pos_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.type.Quaternion orientation = 2 [json_name = "orientation"]; + {PROTOBUF_FIELD_OFFSET(Pose, _impl_.orientation_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::anduril::type::Quaternion>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Pose::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Pose) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.pos_ != nullptr); + _impl_.pos_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.orientation_ != nullptr); + _impl_.orientation_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Pose::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Pose& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Pose::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Pose& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Pose) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Position pos = 1 [json_name = "pos"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.pos_, this_._impl_.pos_->GetCachedSize(), target, + stream); + } + + // .anduril.type.Quaternion orientation = 2 [json_name = "orientation"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.orientation_, this_._impl_.orientation_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Pose) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Pose::ByteSizeLong(const MessageLite& base) { + const Pose& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Pose::ByteSizeLong() const { + const Pose& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Pose) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Position pos = 1 [json_name = "pos"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pos_); + } + // .anduril.type.Quaternion orientation = 2 [json_name = "orientation"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.orientation_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Pose::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Pose) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.pos_ != nullptr); + if (_this->_impl_.pos_ == nullptr) { + _this->_impl_.pos_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.pos_); + } else { + _this->_impl_.pos_->MergeFrom(*from._impl_.pos_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.orientation_ != nullptr); + if (_this->_impl_.orientation_ == nullptr) { + _this->_impl_.orientation_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::Quaternion>(arena, *from._impl_.orientation_); + } else { + _this->_impl_.orientation_->MergeFrom(*from._impl_.orientation_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Pose::CopyFrom(const Pose& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Pose) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Pose::InternalSwap(Pose* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Pose, _impl_.orientation_) + + sizeof(Pose::_impl_.orientation_) + - PROTOBUF_FIELD_OFFSET(Pose, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); +} + +::google::protobuf::Metadata Pose::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class TMat3::_Internal { + public: +}; + +TMat3::TMat3(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.TMat3) +} +TMat3::TMat3( + ::google::protobuf::Arena* arena, const TMat3& from) + : TMat3(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE TMat3::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TMat3::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, mxx_), + 0, + offsetof(Impl_, mzz_) - + offsetof(Impl_, mxx_) + + sizeof(Impl_::mzz_)); +} +TMat3::~TMat3() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.TMat3) + SharedDtor(*this); +} +inline void TMat3::SharedDtor(MessageLite& self) { + TMat3& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* TMat3::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TMat3(arena); +} +constexpr auto TMat3::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TMat3), + alignof(TMat3)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull TMat3::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_TMat3_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TMat3::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TMat3::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &TMat3::ByteSizeLong, + &TMat3::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TMat3, _impl_._cached_size_), + false, + }, + &TMat3::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TMat3::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 0, 0, 2> TMat3::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TMat3>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // float mxx = 1 [json_name = "mxx"]; + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxx_)}}, + // float mxy = 2 [json_name = "mxy"]; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxy_)}}, + // float mxz = 3 [json_name = "mxz"]; + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxz_)}}, + // float myy = 4 [json_name = "myy"]; + {::_pbi::TcParser::FastF32S1, + {37, 63, 0, PROTOBUF_FIELD_OFFSET(TMat3, _impl_.myy_)}}, + // float myz = 5 [json_name = "myz"]; + {::_pbi::TcParser::FastF32S1, + {45, 63, 0, PROTOBUF_FIELD_OFFSET(TMat3, _impl_.myz_)}}, + // float mzz = 6 [json_name = "mzz"]; + {::_pbi::TcParser::FastF32S1, + {53, 63, 0, PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mzz_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // float mxx = 1 [json_name = "mxx"]; + {PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxx_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float mxy = 2 [json_name = "mxy"]; + {PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxy_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float mxz = 3 [json_name = "mxz"]; + {PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxz_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float myy = 4 [json_name = "myy"]; + {PROTOBUF_FIELD_OFFSET(TMat3, _impl_.myy_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float myz = 5 [json_name = "myz"]; + {PROTOBUF_FIELD_OFFSET(TMat3, _impl_.myz_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float mzz = 6 [json_name = "mzz"]; + {PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mzz_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void TMat3::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.TMat3) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.mxx_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.mzz_) - + reinterpret_cast(&_impl_.mxx_)) + sizeof(_impl_.mzz_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TMat3::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TMat3& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TMat3::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TMat3& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.TMat3) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float mxx = 1 [json_name = "mxx"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mxx()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_mxx(), target); + } + + // float mxy = 2 [json_name = "mxy"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mxy()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_mxy(), target); + } + + // float mxz = 3 [json_name = "mxz"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mxz()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_mxz(), target); + } + + // float myy = 4 [json_name = "myy"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_myy()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this_._internal_myy(), target); + } + + // float myz = 5 [json_name = "myz"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_myz()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 5, this_._internal_myz(), target); + } + + // float mzz = 6 [json_name = "mzz"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mzz()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this_._internal_mzz(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.TMat3) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t TMat3::ByteSizeLong(const MessageLite& base) { + const TMat3& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TMat3::ByteSizeLong() const { + const TMat3& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.TMat3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float mxx = 1 [json_name = "mxx"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mxx()) != 0) { + total_size += 5; + } + // float mxy = 2 [json_name = "mxy"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mxy()) != 0) { + total_size += 5; + } + // float mxz = 3 [json_name = "mxz"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mxz()) != 0) { + total_size += 5; + } + // float myy = 4 [json_name = "myy"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_myy()) != 0) { + total_size += 5; + } + // float myz = 5 [json_name = "myz"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_myz()) != 0) { + total_size += 5; + } + // float mzz = 6 [json_name = "mzz"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_mzz()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void TMat3::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.TMat3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint32_t>(from._internal_mxx()) != 0) { + _this->_impl_.mxx_ = from._impl_.mxx_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_mxy()) != 0) { + _this->_impl_.mxy_ = from._impl_.mxy_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_mxz()) != 0) { + _this->_impl_.mxz_ = from._impl_.mxz_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_myy()) != 0) { + _this->_impl_.myy_ = from._impl_.myy_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_myz()) != 0) { + _this->_impl_.myz_ = from._impl_.myz_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_mzz()) != 0) { + _this->_impl_.mzz_ = from._impl_.mzz_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TMat3::CopyFrom(const TMat3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.TMat3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TMat3::InternalSwap(TMat3* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mzz_) + + sizeof(TMat3::_impl_.mzz_) + - PROTOBUF_FIELD_OFFSET(TMat3, _impl_.mxx_)>( + reinterpret_cast(&_impl_.mxx_), + reinterpret_cast(&other->_impl_.mxx_)); +} + +::google::protobuf::Metadata TMat3::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/location.pub.pb.h b/src/anduril/entitymanager/v1/location.pub.pb.h new file mode 100644 index 0000000..32c896f --- /dev/null +++ b/src/anduril/entitymanager/v1/location.pub.pb.h @@ -0,0 +1,3463 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/location.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/type/coords.pub.pb.h" +#include "google/protobuf/wrappers.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class ErrorEllipse; +struct ErrorEllipseDefaultTypeInternal; +extern ErrorEllipseDefaultTypeInternal _ErrorEllipse_default_instance_; +class Location; +struct LocationDefaultTypeInternal; +extern LocationDefaultTypeInternal _Location_default_instance_; +class LocationUncertainty; +struct LocationUncertaintyDefaultTypeInternal; +extern LocationUncertaintyDefaultTypeInternal _LocationUncertainty_default_instance_; +class Pose; +struct PoseDefaultTypeInternal; +extern PoseDefaultTypeInternal _Pose_default_instance_; +class Position; +struct PositionDefaultTypeInternal; +extern PositionDefaultTypeInternal _Position_default_instance_; +class TMat3; +struct TMat3DefaultTypeInternal; +extern TMat3DefaultTypeInternal _TMat3_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class TMat3 final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.TMat3) */ { + public: + inline TMat3() : TMat3(nullptr) {} + ~TMat3() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TMat3* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TMat3)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TMat3( + ::google::protobuf::internal::ConstantInitialized); + + inline TMat3(const TMat3& from) : TMat3(nullptr, from) {} + inline TMat3(TMat3&& from) noexcept + : TMat3(nullptr, std::move(from)) {} + inline TMat3& operator=(const TMat3& from) { + CopyFrom(from); + return *this; + } + inline TMat3& operator=(TMat3&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TMat3& default_instance() { + return *internal_default_instance(); + } + static inline const TMat3* internal_default_instance() { + return reinterpret_cast( + &_TMat3_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(TMat3& a, TMat3& b) { a.Swap(&b); } + inline void Swap(TMat3* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TMat3* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TMat3* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TMat3& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TMat3& from) { TMat3::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TMat3* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.TMat3"; } + + protected: + explicit TMat3(::google::protobuf::Arena* arena); + TMat3(::google::protobuf::Arena* arena, const TMat3& from); + TMat3(::google::protobuf::Arena* arena, TMat3&& from) noexcept + : TMat3(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMxxFieldNumber = 1, + kMxyFieldNumber = 2, + kMxzFieldNumber = 3, + kMyyFieldNumber = 4, + kMyzFieldNumber = 5, + kMzzFieldNumber = 6, + }; + // float mxx = 1 [json_name = "mxx"]; + void clear_mxx() ; + float mxx() const; + void set_mxx(float value); + + private: + float _internal_mxx() const; + void _internal_set_mxx(float value); + + public: + // float mxy = 2 [json_name = "mxy"]; + void clear_mxy() ; + float mxy() const; + void set_mxy(float value); + + private: + float _internal_mxy() const; + void _internal_set_mxy(float value); + + public: + // float mxz = 3 [json_name = "mxz"]; + void clear_mxz() ; + float mxz() const; + void set_mxz(float value); + + private: + float _internal_mxz() const; + void _internal_set_mxz(float value); + + public: + // float myy = 4 [json_name = "myy"]; + void clear_myy() ; + float myy() const; + void set_myy(float value); + + private: + float _internal_myy() const; + void _internal_set_myy(float value); + + public: + // float myz = 5 [json_name = "myz"]; + void clear_myz() ; + float myz() const; + void set_myz(float value); + + private: + float _internal_myz() const; + void _internal_set_myz(float value); + + public: + // float mzz = 6 [json_name = "mzz"]; + void clear_mzz() ; + float mzz() const; + void set_mzz(float value); + + private: + float _internal_mzz() const; + void _internal_set_mzz(float value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.TMat3) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TMat3& from_msg); + float mxx_; + float mxy_; + float mxz_; + float myy_; + float myz_; + float mzz_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Position final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Position) */ { + public: + inline Position() : Position(nullptr) {} + ~Position() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Position* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Position)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Position( + ::google::protobuf::internal::ConstantInitialized); + + inline Position(const Position& from) : Position(nullptr, from) {} + inline Position(Position&& from) noexcept + : Position(nullptr, std::move(from)) {} + inline Position& operator=(const Position& from) { + CopyFrom(from); + return *this; + } + inline Position& operator=(Position&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Position& default_instance() { + return *internal_default_instance(); + } + static inline const Position* internal_default_instance() { + return reinterpret_cast( + &_Position_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Position& a, Position& b) { a.Swap(&b); } + inline void Swap(Position* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Position* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Position* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Position& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Position& from) { Position::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Position* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Position"; } + + protected: + explicit Position(::google::protobuf::Arena* arena); + Position(::google::protobuf::Arena* arena, const Position& from); + Position(::google::protobuf::Arena* arena, Position&& from) noexcept + : Position(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAltitudeHaeMetersFieldNumber = 3, + kAltitudeAglMetersFieldNumber = 4, + kAltitudeAsfMetersFieldNumber = 5, + kPressureDepthMetersFieldNumber = 6, + kLatitudeDegreesFieldNumber = 1, + kLongitudeDegreesFieldNumber = 2, + }; + // .google.protobuf.DoubleValue altitude_hae_meters = 3 [json_name = "altitudeHaeMeters"]; + bool has_altitude_hae_meters() const; + void clear_altitude_hae_meters() ; + const ::google::protobuf::DoubleValue& altitude_hae_meters() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_altitude_hae_meters(); + ::google::protobuf::DoubleValue* mutable_altitude_hae_meters(); + void set_allocated_altitude_hae_meters(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_altitude_hae_meters(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_altitude_hae_meters(); + + private: + const ::google::protobuf::DoubleValue& _internal_altitude_hae_meters() const; + ::google::protobuf::DoubleValue* _internal_mutable_altitude_hae_meters(); + + public: + // .google.protobuf.DoubleValue altitude_agl_meters = 4 [json_name = "altitudeAglMeters"]; + bool has_altitude_agl_meters() const; + void clear_altitude_agl_meters() ; + const ::google::protobuf::DoubleValue& altitude_agl_meters() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_altitude_agl_meters(); + ::google::protobuf::DoubleValue* mutable_altitude_agl_meters(); + void set_allocated_altitude_agl_meters(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_altitude_agl_meters(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_altitude_agl_meters(); + + private: + const ::google::protobuf::DoubleValue& _internal_altitude_agl_meters() const; + ::google::protobuf::DoubleValue* _internal_mutable_altitude_agl_meters(); + + public: + // .google.protobuf.DoubleValue altitude_asf_meters = 5 [json_name = "altitudeAsfMeters"]; + bool has_altitude_asf_meters() const; + void clear_altitude_asf_meters() ; + const ::google::protobuf::DoubleValue& altitude_asf_meters() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_altitude_asf_meters(); + ::google::protobuf::DoubleValue* mutable_altitude_asf_meters(); + void set_allocated_altitude_asf_meters(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_altitude_asf_meters(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_altitude_asf_meters(); + + private: + const ::google::protobuf::DoubleValue& _internal_altitude_asf_meters() const; + ::google::protobuf::DoubleValue* _internal_mutable_altitude_asf_meters(); + + public: + // .google.protobuf.DoubleValue pressure_depth_meters = 6 [json_name = "pressureDepthMeters"]; + bool has_pressure_depth_meters() const; + void clear_pressure_depth_meters() ; + const ::google::protobuf::DoubleValue& pressure_depth_meters() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_pressure_depth_meters(); + ::google::protobuf::DoubleValue* mutable_pressure_depth_meters(); + void set_allocated_pressure_depth_meters(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_pressure_depth_meters(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_pressure_depth_meters(); + + private: + const ::google::protobuf::DoubleValue& _internal_pressure_depth_meters() const; + ::google::protobuf::DoubleValue* _internal_mutable_pressure_depth_meters(); + + public: + // double latitude_degrees = 1 [json_name = "latitudeDegrees"]; + void clear_latitude_degrees() ; + double latitude_degrees() const; + void set_latitude_degrees(double value); + + private: + double _internal_latitude_degrees() const; + void _internal_set_latitude_degrees(double value); + + public: + // double longitude_degrees = 2 [json_name = "longitudeDegrees"]; + void clear_longitude_degrees() ; + double longitude_degrees() const; + void set_longitude_degrees(double value); + + private: + double _internal_longitude_degrees() const; + void _internal_set_longitude_degrees(double value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Position) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Position& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* altitude_hae_meters_; + ::google::protobuf::DoubleValue* altitude_agl_meters_; + ::google::protobuf::DoubleValue* altitude_asf_meters_; + ::google::protobuf::DoubleValue* pressure_depth_meters_; + double latitude_degrees_; + double longitude_degrees_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class ErrorEllipse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ErrorEllipse) */ { + public: + inline ErrorEllipse() : ErrorEllipse(nullptr) {} + ~ErrorEllipse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ErrorEllipse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ErrorEllipse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ErrorEllipse( + ::google::protobuf::internal::ConstantInitialized); + + inline ErrorEllipse(const ErrorEllipse& from) : ErrorEllipse(nullptr, from) {} + inline ErrorEllipse(ErrorEllipse&& from) noexcept + : ErrorEllipse(nullptr, std::move(from)) {} + inline ErrorEllipse& operator=(const ErrorEllipse& from) { + CopyFrom(from); + return *this; + } + inline ErrorEllipse& operator=(ErrorEllipse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ErrorEllipse& default_instance() { + return *internal_default_instance(); + } + static inline const ErrorEllipse* internal_default_instance() { + return reinterpret_cast( + &_ErrorEllipse_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(ErrorEllipse& a, ErrorEllipse& b) { a.Swap(&b); } + inline void Swap(ErrorEllipse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ErrorEllipse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ErrorEllipse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ErrorEllipse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ErrorEllipse& from) { ErrorEllipse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ErrorEllipse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ErrorEllipse"; } + + protected: + explicit ErrorEllipse(::google::protobuf::Arena* arena); + ErrorEllipse(::google::protobuf::Arena* arena, const ErrorEllipse& from); + ErrorEllipse(::google::protobuf::Arena* arena, ErrorEllipse&& from) noexcept + : ErrorEllipse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kProbabilityFieldNumber = 1, + kSemiMajorAxisMFieldNumber = 2, + kSemiMinorAxisMFieldNumber = 3, + kOrientationDFieldNumber = 4, + }; + // .google.protobuf.DoubleValue probability = 1 [json_name = "probability"]; + bool has_probability() const; + void clear_probability() ; + const ::google::protobuf::DoubleValue& probability() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_probability(); + ::google::protobuf::DoubleValue* mutable_probability(); + void set_allocated_probability(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_probability(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_probability(); + + private: + const ::google::protobuf::DoubleValue& _internal_probability() const; + ::google::protobuf::DoubleValue* _internal_mutable_probability(); + + public: + // .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; + bool has_semi_major_axis_m() const; + void clear_semi_major_axis_m() ; + const ::google::protobuf::DoubleValue& semi_major_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_semi_major_axis_m(); + ::google::protobuf::DoubleValue* mutable_semi_major_axis_m(); + void set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_semi_major_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_semi_major_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_semi_major_axis_m(); + + public: + // .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; + bool has_semi_minor_axis_m() const; + void clear_semi_minor_axis_m() ; + const ::google::protobuf::DoubleValue& semi_minor_axis_m() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_semi_minor_axis_m(); + ::google::protobuf::DoubleValue* mutable_semi_minor_axis_m(); + void set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_semi_minor_axis_m(); + + private: + const ::google::protobuf::DoubleValue& _internal_semi_minor_axis_m() const; + ::google::protobuf::DoubleValue* _internal_mutable_semi_minor_axis_m(); + + public: + // .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; + bool has_orientation_d() const; + void clear_orientation_d() ; + const ::google::protobuf::DoubleValue& orientation_d() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_orientation_d(); + ::google::protobuf::DoubleValue* mutable_orientation_d(); + void set_allocated_orientation_d(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_orientation_d(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_orientation_d(); + + private: + const ::google::protobuf::DoubleValue& _internal_orientation_d() const; + ::google::protobuf::DoubleValue* _internal_mutable_orientation_d(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ErrorEllipse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ErrorEllipse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* probability_; + ::google::protobuf::DoubleValue* semi_major_axis_m_; + ::google::protobuf::DoubleValue* semi_minor_axis_m_; + ::google::protobuf::DoubleValue* orientation_d_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Pose final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Pose) */ { + public: + inline Pose() : Pose(nullptr) {} + ~Pose() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Pose* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Pose)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Pose( + ::google::protobuf::internal::ConstantInitialized); + + inline Pose(const Pose& from) : Pose(nullptr, from) {} + inline Pose(Pose&& from) noexcept + : Pose(nullptr, std::move(from)) {} + inline Pose& operator=(const Pose& from) { + CopyFrom(from); + return *this; + } + inline Pose& operator=(Pose&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Pose& default_instance() { + return *internal_default_instance(); + } + static inline const Pose* internal_default_instance() { + return reinterpret_cast( + &_Pose_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(Pose& a, Pose& b) { a.Swap(&b); } + inline void Swap(Pose* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Pose* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Pose* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Pose& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Pose& from) { Pose::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Pose* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Pose"; } + + protected: + explicit Pose(::google::protobuf::Arena* arena); + Pose(::google::protobuf::Arena* arena, const Pose& from); + Pose(::google::protobuf::Arena* arena, Pose&& from) noexcept + : Pose(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPosFieldNumber = 1, + kOrientationFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Position pos = 1 [json_name = "pos"]; + bool has_pos() const; + void clear_pos() ; + const ::anduril::entitymanager::v1::Position& pos() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_pos(); + ::anduril::entitymanager::v1::Position* mutable_pos(); + void set_allocated_pos(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_pos(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_pos(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_pos() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_pos(); + + public: + // .anduril.type.Quaternion orientation = 2 [json_name = "orientation"]; + bool has_orientation() const; + void clear_orientation() ; + const ::anduril::type::Quaternion& orientation() const; + PROTOBUF_NODISCARD ::anduril::type::Quaternion* release_orientation(); + ::anduril::type::Quaternion* mutable_orientation(); + void set_allocated_orientation(::anduril::type::Quaternion* value); + void unsafe_arena_set_allocated_orientation(::anduril::type::Quaternion* value); + ::anduril::type::Quaternion* unsafe_arena_release_orientation(); + + private: + const ::anduril::type::Quaternion& _internal_orientation() const; + ::anduril::type::Quaternion* _internal_mutable_orientation(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Pose) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Pose& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Position* pos_; + ::anduril::type::Quaternion* orientation_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class LocationUncertainty final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.LocationUncertainty) */ { + public: + inline LocationUncertainty() : LocationUncertainty(nullptr) {} + ~LocationUncertainty() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(LocationUncertainty* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LocationUncertainty)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR LocationUncertainty( + ::google::protobuf::internal::ConstantInitialized); + + inline LocationUncertainty(const LocationUncertainty& from) : LocationUncertainty(nullptr, from) {} + inline LocationUncertainty(LocationUncertainty&& from) noexcept + : LocationUncertainty(nullptr, std::move(from)) {} + inline LocationUncertainty& operator=(const LocationUncertainty& from) { + CopyFrom(from); + return *this; + } + inline LocationUncertainty& operator=(LocationUncertainty&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LocationUncertainty& default_instance() { + return *internal_default_instance(); + } + static inline const LocationUncertainty* internal_default_instance() { + return reinterpret_cast( + &_LocationUncertainty_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(LocationUncertainty& a, LocationUncertainty& b) { a.Swap(&b); } + inline void Swap(LocationUncertainty* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LocationUncertainty* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LocationUncertainty* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const LocationUncertainty& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const LocationUncertainty& from) { LocationUncertainty::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(LocationUncertainty* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.LocationUncertainty"; } + + protected: + explicit LocationUncertainty(::google::protobuf::Arena* arena); + LocationUncertainty(::google::protobuf::Arena* arena, const LocationUncertainty& from); + LocationUncertainty(::google::protobuf::Arena* arena, LocationUncertainty&& from) noexcept + : LocationUncertainty(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPositionEnuCovFieldNumber = 1, + kVelocityEnuCovFieldNumber = 2, + kPositionErrorEllipseFieldNumber = 3, + }; + // .anduril.entitymanager.v1.TMat3 position_enu_cov = 1 [json_name = "positionEnuCov"]; + bool has_position_enu_cov() const; + void clear_position_enu_cov() ; + const ::anduril::entitymanager::v1::TMat3& position_enu_cov() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::TMat3* release_position_enu_cov(); + ::anduril::entitymanager::v1::TMat3* mutable_position_enu_cov(); + void set_allocated_position_enu_cov(::anduril::entitymanager::v1::TMat3* value); + void unsafe_arena_set_allocated_position_enu_cov(::anduril::entitymanager::v1::TMat3* value); + ::anduril::entitymanager::v1::TMat3* unsafe_arena_release_position_enu_cov(); + + private: + const ::anduril::entitymanager::v1::TMat3& _internal_position_enu_cov() const; + ::anduril::entitymanager::v1::TMat3* _internal_mutable_position_enu_cov(); + + public: + // .anduril.entitymanager.v1.TMat3 velocity_enu_cov = 2 [json_name = "velocityEnuCov"]; + bool has_velocity_enu_cov() const; + void clear_velocity_enu_cov() ; + const ::anduril::entitymanager::v1::TMat3& velocity_enu_cov() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::TMat3* release_velocity_enu_cov(); + ::anduril::entitymanager::v1::TMat3* mutable_velocity_enu_cov(); + void set_allocated_velocity_enu_cov(::anduril::entitymanager::v1::TMat3* value); + void unsafe_arena_set_allocated_velocity_enu_cov(::anduril::entitymanager::v1::TMat3* value); + ::anduril::entitymanager::v1::TMat3* unsafe_arena_release_velocity_enu_cov(); + + private: + const ::anduril::entitymanager::v1::TMat3& _internal_velocity_enu_cov() const; + ::anduril::entitymanager::v1::TMat3* _internal_mutable_velocity_enu_cov(); + + public: + // .anduril.entitymanager.v1.ErrorEllipse position_error_ellipse = 3 [json_name = "positionErrorEllipse"]; + bool has_position_error_ellipse() const; + void clear_position_error_ellipse() ; + const ::anduril::entitymanager::v1::ErrorEllipse& position_error_ellipse() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ErrorEllipse* release_position_error_ellipse(); + ::anduril::entitymanager::v1::ErrorEllipse* mutable_position_error_ellipse(); + void set_allocated_position_error_ellipse(::anduril::entitymanager::v1::ErrorEllipse* value); + void unsafe_arena_set_allocated_position_error_ellipse(::anduril::entitymanager::v1::ErrorEllipse* value); + ::anduril::entitymanager::v1::ErrorEllipse* unsafe_arena_release_position_error_ellipse(); + + private: + const ::anduril::entitymanager::v1::ErrorEllipse& _internal_position_error_ellipse() const; + ::anduril::entitymanager::v1::ErrorEllipse* _internal_mutable_position_error_ellipse(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.LocationUncertainty) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const LocationUncertainty& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::TMat3* position_enu_cov_; + ::anduril::entitymanager::v1::TMat3* velocity_enu_cov_; + ::anduril::entitymanager::v1::ErrorEllipse* position_error_ellipse_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Location final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Location) */ { + public: + inline Location() : Location(nullptr) {} + ~Location() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Location* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Location)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Location( + ::google::protobuf::internal::ConstantInitialized); + + inline Location(const Location& from) : Location(nullptr, from) {} + inline Location(Location&& from) noexcept + : Location(nullptr, std::move(from)) {} + inline Location& operator=(const Location& from) { + CopyFrom(from); + return *this; + } + inline Location& operator=(Location&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Location& default_instance() { + return *internal_default_instance(); + } + static inline const Location* internal_default_instance() { + return reinterpret_cast( + &_Location_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Location& a, Location& b) { a.Swap(&b); } + inline void Swap(Location* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Location* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Location* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Location& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Location& from) { Location::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Location* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Location"; } + + protected: + explicit Location(::google::protobuf::Arena* arena); + Location(::google::protobuf::Arena* arena, const Location& from); + Location(::google::protobuf::Arena* arena, Location&& from) noexcept + : Location(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPositionFieldNumber = 1, + kVelocityEnuFieldNumber = 2, + kAttitudeEnuFieldNumber = 3, + kAccelerationFieldNumber = 4, + kSpeedMpsFieldNumber = 5, + }; + // .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; + bool has_position() const; + void clear_position() ; + const ::anduril::entitymanager::v1::Position& position() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_position(); + ::anduril::entitymanager::v1::Position* mutable_position(); + void set_allocated_position(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_position(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_position(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_position() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_position(); + + public: + // .anduril.type.ENU velocity_enu = 2 [json_name = "velocityEnu"]; + bool has_velocity_enu() const; + void clear_velocity_enu() ; + const ::anduril::type::ENU& velocity_enu() const; + PROTOBUF_NODISCARD ::anduril::type::ENU* release_velocity_enu(); + ::anduril::type::ENU* mutable_velocity_enu(); + void set_allocated_velocity_enu(::anduril::type::ENU* value); + void unsafe_arena_set_allocated_velocity_enu(::anduril::type::ENU* value); + ::anduril::type::ENU* unsafe_arena_release_velocity_enu(); + + private: + const ::anduril::type::ENU& _internal_velocity_enu() const; + ::anduril::type::ENU* _internal_mutable_velocity_enu(); + + public: + // .anduril.type.Quaternion attitude_enu = 3 [json_name = "attitudeEnu"]; + bool has_attitude_enu() const; + void clear_attitude_enu() ; + const ::anduril::type::Quaternion& attitude_enu() const; + PROTOBUF_NODISCARD ::anduril::type::Quaternion* release_attitude_enu(); + ::anduril::type::Quaternion* mutable_attitude_enu(); + void set_allocated_attitude_enu(::anduril::type::Quaternion* value); + void unsafe_arena_set_allocated_attitude_enu(::anduril::type::Quaternion* value); + ::anduril::type::Quaternion* unsafe_arena_release_attitude_enu(); + + private: + const ::anduril::type::Quaternion& _internal_attitude_enu() const; + ::anduril::type::Quaternion* _internal_mutable_attitude_enu(); + + public: + // .anduril.type.ENU acceleration = 4 [json_name = "acceleration"]; + bool has_acceleration() const; + void clear_acceleration() ; + const ::anduril::type::ENU& acceleration() const; + PROTOBUF_NODISCARD ::anduril::type::ENU* release_acceleration(); + ::anduril::type::ENU* mutable_acceleration(); + void set_allocated_acceleration(::anduril::type::ENU* value); + void unsafe_arena_set_allocated_acceleration(::anduril::type::ENU* value); + ::anduril::type::ENU* unsafe_arena_release_acceleration(); + + private: + const ::anduril::type::ENU& _internal_acceleration() const; + ::anduril::type::ENU* _internal_mutable_acceleration(); + + public: + // .google.protobuf.DoubleValue speed_mps = 5 [json_name = "speedMps"]; + bool has_speed_mps() const; + void clear_speed_mps() ; + const ::google::protobuf::DoubleValue& speed_mps() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_speed_mps(); + ::google::protobuf::DoubleValue* mutable_speed_mps(); + void set_allocated_speed_mps(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_speed_mps(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_speed_mps(); + + private: + const ::google::protobuf::DoubleValue& _internal_speed_mps() const; + ::google::protobuf::DoubleValue* _internal_mutable_speed_mps(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Location) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 5, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Location& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Position* position_; + ::anduril::type::ENU* velocity_enu_; + ::anduril::type::Quaternion* attitude_enu_; + ::anduril::type::ENU* acceleration_; + ::google::protobuf::DoubleValue* speed_mps_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Location + +// .anduril.entitymanager.v1.Position position = 1 [json_name = "position"]; +inline bool Location::has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline void Location::clear_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Position& Location::_internal_position() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& Location::position() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Location.position) + return _internal_position(); +} +inline void Location::unsafe_arena_set_allocated_position(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_); + } + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Location.position) +} +inline ::anduril::entitymanager::v1::Position* Location::release_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* released = _impl_.position_; + _impl_.position_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* Location::unsafe_arena_release_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Location.position) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* Location::_internal_mutable_position() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.position_; +} +inline ::anduril::entitymanager::v1::Position* Location::mutable_position() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Location.position) + return _msg; +} +inline void Location::set_allocated_position(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.position_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.position_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Location.position) +} + +// .anduril.type.ENU velocity_enu = 2 [json_name = "velocityEnu"]; +inline bool Location::has_velocity_enu() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.velocity_enu_ != nullptr); + return value; +} +inline const ::anduril::type::ENU& Location::_internal_velocity_enu() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::ENU* p = _impl_.velocity_enu_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_ENU_default_instance_); +} +inline const ::anduril::type::ENU& Location::velocity_enu() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Location.velocity_enu) + return _internal_velocity_enu(); +} +inline void Location::unsafe_arena_set_allocated_velocity_enu(::anduril::type::ENU* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.velocity_enu_); + } + _impl_.velocity_enu_ = reinterpret_cast<::anduril::type::ENU*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Location.velocity_enu) +} +inline ::anduril::type::ENU* Location::release_velocity_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::type::ENU* released = _impl_.velocity_enu_; + _impl_.velocity_enu_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::ENU* Location::unsafe_arena_release_velocity_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Location.velocity_enu) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::type::ENU* temp = _impl_.velocity_enu_; + _impl_.velocity_enu_ = nullptr; + return temp; +} +inline ::anduril::type::ENU* Location::_internal_mutable_velocity_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.velocity_enu_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::ENU>(GetArena()); + _impl_.velocity_enu_ = reinterpret_cast<::anduril::type::ENU*>(p); + } + return _impl_.velocity_enu_; +} +inline ::anduril::type::ENU* Location::mutable_velocity_enu() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::type::ENU* _msg = _internal_mutable_velocity_enu(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Location.velocity_enu) + return _msg; +} +inline void Location::set_allocated_velocity_enu(::anduril::type::ENU* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.velocity_enu_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.velocity_enu_ = reinterpret_cast<::anduril::type::ENU*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Location.velocity_enu) +} + +// .google.protobuf.DoubleValue speed_mps = 5 [json_name = "speedMps"]; +inline bool Location::has_speed_mps() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.speed_mps_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Location::_internal_speed_mps() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.speed_mps_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Location::speed_mps() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Location.speed_mps) + return _internal_speed_mps(); +} +inline void Location::unsafe_arena_set_allocated_speed_mps(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.speed_mps_); + } + _impl_.speed_mps_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Location.speed_mps) +} +inline ::google::protobuf::DoubleValue* Location::release_speed_mps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000010u; + ::google::protobuf::DoubleValue* released = _impl_.speed_mps_; + _impl_.speed_mps_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Location::unsafe_arena_release_speed_mps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Location.speed_mps) + + _impl_._has_bits_[0] &= ~0x00000010u; + ::google::protobuf::DoubleValue* temp = _impl_.speed_mps_; + _impl_.speed_mps_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Location::_internal_mutable_speed_mps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.speed_mps_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.speed_mps_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.speed_mps_; +} +inline ::google::protobuf::DoubleValue* Location::mutable_speed_mps() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_speed_mps(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Location.speed_mps) + return _msg; +} +inline void Location::set_allocated_speed_mps(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.speed_mps_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + + _impl_.speed_mps_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Location.speed_mps) +} + +// .anduril.type.ENU acceleration = 4 [json_name = "acceleration"]; +inline bool Location::has_acceleration() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.acceleration_ != nullptr); + return value; +} +inline const ::anduril::type::ENU& Location::_internal_acceleration() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::ENU* p = _impl_.acceleration_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_ENU_default_instance_); +} +inline const ::anduril::type::ENU& Location::acceleration() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Location.acceleration) + return _internal_acceleration(); +} +inline void Location::unsafe_arena_set_allocated_acceleration(::anduril::type::ENU* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.acceleration_); + } + _impl_.acceleration_ = reinterpret_cast<::anduril::type::ENU*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Location.acceleration) +} +inline ::anduril::type::ENU* Location::release_acceleration() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::type::ENU* released = _impl_.acceleration_; + _impl_.acceleration_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::ENU* Location::unsafe_arena_release_acceleration() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Location.acceleration) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::type::ENU* temp = _impl_.acceleration_; + _impl_.acceleration_ = nullptr; + return temp; +} +inline ::anduril::type::ENU* Location::_internal_mutable_acceleration() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.acceleration_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::ENU>(GetArena()); + _impl_.acceleration_ = reinterpret_cast<::anduril::type::ENU*>(p); + } + return _impl_.acceleration_; +} +inline ::anduril::type::ENU* Location::mutable_acceleration() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::anduril::type::ENU* _msg = _internal_mutable_acceleration(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Location.acceleration) + return _msg; +} +inline void Location::set_allocated_acceleration(::anduril::type::ENU* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.acceleration_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.acceleration_ = reinterpret_cast<::anduril::type::ENU*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Location.acceleration) +} + +// .anduril.type.Quaternion attitude_enu = 3 [json_name = "attitudeEnu"]; +inline bool Location::has_attitude_enu() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.attitude_enu_ != nullptr); + return value; +} +inline const ::anduril::type::Quaternion& Location::_internal_attitude_enu() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::Quaternion* p = _impl_.attitude_enu_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_Quaternion_default_instance_); +} +inline const ::anduril::type::Quaternion& Location::attitude_enu() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Location.attitude_enu) + return _internal_attitude_enu(); +} +inline void Location::unsafe_arena_set_allocated_attitude_enu(::anduril::type::Quaternion* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attitude_enu_); + } + _impl_.attitude_enu_ = reinterpret_cast<::anduril::type::Quaternion*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Location.attitude_enu) +} +inline ::anduril::type::Quaternion* Location::release_attitude_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::type::Quaternion* released = _impl_.attitude_enu_; + _impl_.attitude_enu_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::Quaternion* Location::unsafe_arena_release_attitude_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Location.attitude_enu) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::type::Quaternion* temp = _impl_.attitude_enu_; + _impl_.attitude_enu_ = nullptr; + return temp; +} +inline ::anduril::type::Quaternion* Location::_internal_mutable_attitude_enu() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.attitude_enu_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::Quaternion>(GetArena()); + _impl_.attitude_enu_ = reinterpret_cast<::anduril::type::Quaternion*>(p); + } + return _impl_.attitude_enu_; +} +inline ::anduril::type::Quaternion* Location::mutable_attitude_enu() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::type::Quaternion* _msg = _internal_mutable_attitude_enu(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Location.attitude_enu) + return _msg; +} +inline void Location::set_allocated_attitude_enu(::anduril::type::Quaternion* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attitude_enu_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.attitude_enu_ = reinterpret_cast<::anduril::type::Quaternion*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Location.attitude_enu) +} + +// ------------------------------------------------------------------- + +// Position + +// double latitude_degrees = 1 [json_name = "latitudeDegrees"]; +inline void Position::clear_latitude_degrees() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.latitude_degrees_ = 0; +} +inline double Position::latitude_degrees() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Position.latitude_degrees) + return _internal_latitude_degrees(); +} +inline void Position::set_latitude_degrees(double value) { + _internal_set_latitude_degrees(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Position.latitude_degrees) +} +inline double Position::_internal_latitude_degrees() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.latitude_degrees_; +} +inline void Position::_internal_set_latitude_degrees(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.latitude_degrees_ = value; +} + +// double longitude_degrees = 2 [json_name = "longitudeDegrees"]; +inline void Position::clear_longitude_degrees() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.longitude_degrees_ = 0; +} +inline double Position::longitude_degrees() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Position.longitude_degrees) + return _internal_longitude_degrees(); +} +inline void Position::set_longitude_degrees(double value) { + _internal_set_longitude_degrees(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Position.longitude_degrees) +} +inline double Position::_internal_longitude_degrees() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.longitude_degrees_; +} +inline void Position::_internal_set_longitude_degrees(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.longitude_degrees_ = value; +} + +// .google.protobuf.DoubleValue altitude_hae_meters = 3 [json_name = "altitudeHaeMeters"]; +inline bool Position::has_altitude_hae_meters() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.altitude_hae_meters_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Position::_internal_altitude_hae_meters() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.altitude_hae_meters_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Position::altitude_hae_meters() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Position.altitude_hae_meters) + return _internal_altitude_hae_meters(); +} +inline void Position::unsafe_arena_set_allocated_altitude_hae_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.altitude_hae_meters_); + } + _impl_.altitude_hae_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Position.altitude_hae_meters) +} +inline ::google::protobuf::DoubleValue* Position::release_altitude_hae_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.altitude_hae_meters_; + _impl_.altitude_hae_meters_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Position::unsafe_arena_release_altitude_hae_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Position.altitude_hae_meters) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.altitude_hae_meters_; + _impl_.altitude_hae_meters_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Position::_internal_mutable_altitude_hae_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.altitude_hae_meters_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.altitude_hae_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.altitude_hae_meters_; +} +inline ::google::protobuf::DoubleValue* Position::mutable_altitude_hae_meters() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_altitude_hae_meters(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Position.altitude_hae_meters) + return _msg; +} +inline void Position::set_allocated_altitude_hae_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.altitude_hae_meters_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.altitude_hae_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Position.altitude_hae_meters) +} + +// .google.protobuf.DoubleValue altitude_agl_meters = 4 [json_name = "altitudeAglMeters"]; +inline bool Position::has_altitude_agl_meters() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.altitude_agl_meters_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Position::_internal_altitude_agl_meters() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.altitude_agl_meters_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Position::altitude_agl_meters() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Position.altitude_agl_meters) + return _internal_altitude_agl_meters(); +} +inline void Position::unsafe_arena_set_allocated_altitude_agl_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.altitude_agl_meters_); + } + _impl_.altitude_agl_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Position.altitude_agl_meters) +} +inline ::google::protobuf::DoubleValue* Position::release_altitude_agl_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.altitude_agl_meters_; + _impl_.altitude_agl_meters_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Position::unsafe_arena_release_altitude_agl_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Position.altitude_agl_meters) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.altitude_agl_meters_; + _impl_.altitude_agl_meters_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Position::_internal_mutable_altitude_agl_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.altitude_agl_meters_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.altitude_agl_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.altitude_agl_meters_; +} +inline ::google::protobuf::DoubleValue* Position::mutable_altitude_agl_meters() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_altitude_agl_meters(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Position.altitude_agl_meters) + return _msg; +} +inline void Position::set_allocated_altitude_agl_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.altitude_agl_meters_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.altitude_agl_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Position.altitude_agl_meters) +} + +// .google.protobuf.DoubleValue altitude_asf_meters = 5 [json_name = "altitudeAsfMeters"]; +inline bool Position::has_altitude_asf_meters() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.altitude_asf_meters_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Position::_internal_altitude_asf_meters() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.altitude_asf_meters_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Position::altitude_asf_meters() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Position.altitude_asf_meters) + return _internal_altitude_asf_meters(); +} +inline void Position::unsafe_arena_set_allocated_altitude_asf_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.altitude_asf_meters_); + } + _impl_.altitude_asf_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Position.altitude_asf_meters) +} +inline ::google::protobuf::DoubleValue* Position::release_altitude_asf_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* released = _impl_.altitude_asf_meters_; + _impl_.altitude_asf_meters_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Position::unsafe_arena_release_altitude_asf_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Position.altitude_asf_meters) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* temp = _impl_.altitude_asf_meters_; + _impl_.altitude_asf_meters_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Position::_internal_mutable_altitude_asf_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.altitude_asf_meters_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.altitude_asf_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.altitude_asf_meters_; +} +inline ::google::protobuf::DoubleValue* Position::mutable_altitude_asf_meters() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_altitude_asf_meters(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Position.altitude_asf_meters) + return _msg; +} +inline void Position::set_allocated_altitude_asf_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.altitude_asf_meters_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.altitude_asf_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Position.altitude_asf_meters) +} + +// .google.protobuf.DoubleValue pressure_depth_meters = 6 [json_name = "pressureDepthMeters"]; +inline bool Position::has_pressure_depth_meters() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pressure_depth_meters_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Position::_internal_pressure_depth_meters() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.pressure_depth_meters_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Position::pressure_depth_meters() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Position.pressure_depth_meters) + return _internal_pressure_depth_meters(); +} +inline void Position::unsafe_arena_set_allocated_pressure_depth_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pressure_depth_meters_); + } + _impl_.pressure_depth_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Position.pressure_depth_meters) +} +inline ::google::protobuf::DoubleValue* Position::release_pressure_depth_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* released = _impl_.pressure_depth_meters_; + _impl_.pressure_depth_meters_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Position::unsafe_arena_release_pressure_depth_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Position.pressure_depth_meters) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* temp = _impl_.pressure_depth_meters_; + _impl_.pressure_depth_meters_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Position::_internal_mutable_pressure_depth_meters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pressure_depth_meters_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.pressure_depth_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.pressure_depth_meters_; +} +inline ::google::protobuf::DoubleValue* Position::mutable_pressure_depth_meters() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_pressure_depth_meters(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Position.pressure_depth_meters) + return _msg; +} +inline void Position::set_allocated_pressure_depth_meters(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pressure_depth_meters_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.pressure_depth_meters_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Position.pressure_depth_meters) +} + +// ------------------------------------------------------------------- + +// LocationUncertainty + +// .anduril.entitymanager.v1.TMat3 position_enu_cov = 1 [json_name = "positionEnuCov"]; +inline bool LocationUncertainty::has_position_enu_cov() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_enu_cov_ != nullptr); + return value; +} +inline void LocationUncertainty::clear_position_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_enu_cov_ != nullptr) _impl_.position_enu_cov_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::TMat3& LocationUncertainty::_internal_position_enu_cov() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::TMat3* p = _impl_.position_enu_cov_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_TMat3_default_instance_); +} +inline const ::anduril::entitymanager::v1::TMat3& LocationUncertainty::position_enu_cov() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LocationUncertainty.position_enu_cov) + return _internal_position_enu_cov(); +} +inline void LocationUncertainty::unsafe_arena_set_allocated_position_enu_cov(::anduril::entitymanager::v1::TMat3* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_enu_cov_); + } + _impl_.position_enu_cov_ = reinterpret_cast<::anduril::entitymanager::v1::TMat3*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.LocationUncertainty.position_enu_cov) +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::release_position_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::TMat3* released = _impl_.position_enu_cov_; + _impl_.position_enu_cov_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::unsafe_arena_release_position_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.LocationUncertainty.position_enu_cov) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::TMat3* temp = _impl_.position_enu_cov_; + _impl_.position_enu_cov_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::_internal_mutable_position_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_enu_cov_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::TMat3>(GetArena()); + _impl_.position_enu_cov_ = reinterpret_cast<::anduril::entitymanager::v1::TMat3*>(p); + } + return _impl_.position_enu_cov_; +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::mutable_position_enu_cov() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::TMat3* _msg = _internal_mutable_position_enu_cov(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LocationUncertainty.position_enu_cov) + return _msg; +} +inline void LocationUncertainty::set_allocated_position_enu_cov(::anduril::entitymanager::v1::TMat3* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.position_enu_cov_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.position_enu_cov_ = reinterpret_cast<::anduril::entitymanager::v1::TMat3*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.LocationUncertainty.position_enu_cov) +} + +// .anduril.entitymanager.v1.TMat3 velocity_enu_cov = 2 [json_name = "velocityEnuCov"]; +inline bool LocationUncertainty::has_velocity_enu_cov() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.velocity_enu_cov_ != nullptr); + return value; +} +inline void LocationUncertainty::clear_velocity_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.velocity_enu_cov_ != nullptr) _impl_.velocity_enu_cov_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::TMat3& LocationUncertainty::_internal_velocity_enu_cov() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::TMat3* p = _impl_.velocity_enu_cov_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_TMat3_default_instance_); +} +inline const ::anduril::entitymanager::v1::TMat3& LocationUncertainty::velocity_enu_cov() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LocationUncertainty.velocity_enu_cov) + return _internal_velocity_enu_cov(); +} +inline void LocationUncertainty::unsafe_arena_set_allocated_velocity_enu_cov(::anduril::entitymanager::v1::TMat3* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.velocity_enu_cov_); + } + _impl_.velocity_enu_cov_ = reinterpret_cast<::anduril::entitymanager::v1::TMat3*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.LocationUncertainty.velocity_enu_cov) +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::release_velocity_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::TMat3* released = _impl_.velocity_enu_cov_; + _impl_.velocity_enu_cov_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::unsafe_arena_release_velocity_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.LocationUncertainty.velocity_enu_cov) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::TMat3* temp = _impl_.velocity_enu_cov_; + _impl_.velocity_enu_cov_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::_internal_mutable_velocity_enu_cov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.velocity_enu_cov_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::TMat3>(GetArena()); + _impl_.velocity_enu_cov_ = reinterpret_cast<::anduril::entitymanager::v1::TMat3*>(p); + } + return _impl_.velocity_enu_cov_; +} +inline ::anduril::entitymanager::v1::TMat3* LocationUncertainty::mutable_velocity_enu_cov() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::TMat3* _msg = _internal_mutable_velocity_enu_cov(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LocationUncertainty.velocity_enu_cov) + return _msg; +} +inline void LocationUncertainty::set_allocated_velocity_enu_cov(::anduril::entitymanager::v1::TMat3* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.velocity_enu_cov_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.velocity_enu_cov_ = reinterpret_cast<::anduril::entitymanager::v1::TMat3*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.LocationUncertainty.velocity_enu_cov) +} + +// .anduril.entitymanager.v1.ErrorEllipse position_error_ellipse = 3 [json_name = "positionErrorEllipse"]; +inline bool LocationUncertainty::has_position_error_ellipse() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_error_ellipse_ != nullptr); + return value; +} +inline void LocationUncertainty::clear_position_error_ellipse() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_error_ellipse_ != nullptr) _impl_.position_error_ellipse_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::anduril::entitymanager::v1::ErrorEllipse& LocationUncertainty::_internal_position_error_ellipse() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::ErrorEllipse* p = _impl_.position_error_ellipse_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_ErrorEllipse_default_instance_); +} +inline const ::anduril::entitymanager::v1::ErrorEllipse& LocationUncertainty::position_error_ellipse() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LocationUncertainty.position_error_ellipse) + return _internal_position_error_ellipse(); +} +inline void LocationUncertainty::unsafe_arena_set_allocated_position_error_ellipse(::anduril::entitymanager::v1::ErrorEllipse* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.position_error_ellipse_); + } + _impl_.position_error_ellipse_ = reinterpret_cast<::anduril::entitymanager::v1::ErrorEllipse*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.LocationUncertainty.position_error_ellipse) +} +inline ::anduril::entitymanager::v1::ErrorEllipse* LocationUncertainty::release_position_error_ellipse() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::ErrorEllipse* released = _impl_.position_error_ellipse_; + _impl_.position_error_ellipse_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::ErrorEllipse* LocationUncertainty::unsafe_arena_release_position_error_ellipse() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.LocationUncertainty.position_error_ellipse) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::ErrorEllipse* temp = _impl_.position_error_ellipse_; + _impl_.position_error_ellipse_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::ErrorEllipse* LocationUncertainty::_internal_mutable_position_error_ellipse() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.position_error_ellipse_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ErrorEllipse>(GetArena()); + _impl_.position_error_ellipse_ = reinterpret_cast<::anduril::entitymanager::v1::ErrorEllipse*>(p); + } + return _impl_.position_error_ellipse_; +} +inline ::anduril::entitymanager::v1::ErrorEllipse* LocationUncertainty::mutable_position_error_ellipse() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::entitymanager::v1::ErrorEllipse* _msg = _internal_mutable_position_error_ellipse(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LocationUncertainty.position_error_ellipse) + return _msg; +} +inline void LocationUncertainty::set_allocated_position_error_ellipse(::anduril::entitymanager::v1::ErrorEllipse* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.position_error_ellipse_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.position_error_ellipse_ = reinterpret_cast<::anduril::entitymanager::v1::ErrorEllipse*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.LocationUncertainty.position_error_ellipse) +} + +// ------------------------------------------------------------------- + +// ErrorEllipse + +// .google.protobuf.DoubleValue probability = 1 [json_name = "probability"]; +inline bool ErrorEllipse::has_probability() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.probability_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::_internal_probability() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.probability_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::probability() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ErrorEllipse.probability) + return _internal_probability(); +} +inline void ErrorEllipse::unsafe_arena_set_allocated_probability(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.probability_); + } + _impl_.probability_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ErrorEllipse.probability) +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::release_probability() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.probability_; + _impl_.probability_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::unsafe_arena_release_probability() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ErrorEllipse.probability) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.probability_; + _impl_.probability_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::_internal_mutable_probability() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.probability_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.probability_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.probability_; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::mutable_probability() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_probability(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ErrorEllipse.probability) + return _msg; +} +inline void ErrorEllipse::set_allocated_probability(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.probability_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.probability_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ErrorEllipse.probability) +} + +// .google.protobuf.DoubleValue semi_major_axis_m = 2 [json_name = "semiMajorAxisM"]; +inline bool ErrorEllipse::has_semi_major_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.semi_major_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::_internal_semi_major_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.semi_major_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::semi_major_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ErrorEllipse.semi_major_axis_m) + return _internal_semi_major_axis_m(); +} +inline void ErrorEllipse::unsafe_arena_set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_major_axis_m_); + } + _impl_.semi_major_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ErrorEllipse.semi_major_axis_m) +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::release_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.semi_major_axis_m_; + _impl_.semi_major_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::unsafe_arena_release_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ErrorEllipse.semi_major_axis_m) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.semi_major_axis_m_; + _impl_.semi_major_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::_internal_mutable_semi_major_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_major_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.semi_major_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.semi_major_axis_m_; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::mutable_semi_major_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_semi_major_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ErrorEllipse.semi_major_axis_m) + return _msg; +} +inline void ErrorEllipse::set_allocated_semi_major_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_major_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.semi_major_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ErrorEllipse.semi_major_axis_m) +} + +// .google.protobuf.DoubleValue semi_minor_axis_m = 3 [json_name = "semiMinorAxisM"]; +inline bool ErrorEllipse::has_semi_minor_axis_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.semi_minor_axis_m_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::_internal_semi_minor_axis_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.semi_minor_axis_m_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::semi_minor_axis_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ErrorEllipse.semi_minor_axis_m) + return _internal_semi_minor_axis_m(); +} +inline void ErrorEllipse::unsafe_arena_set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_minor_axis_m_); + } + _impl_.semi_minor_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ErrorEllipse.semi_minor_axis_m) +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::release_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* released = _impl_.semi_minor_axis_m_; + _impl_.semi_minor_axis_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::unsafe_arena_release_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ErrorEllipse.semi_minor_axis_m) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* temp = _impl_.semi_minor_axis_m_; + _impl_.semi_minor_axis_m_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::_internal_mutable_semi_minor_axis_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.semi_minor_axis_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.semi_minor_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.semi_minor_axis_m_; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::mutable_semi_minor_axis_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_semi_minor_axis_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ErrorEllipse.semi_minor_axis_m) + return _msg; +} +inline void ErrorEllipse::set_allocated_semi_minor_axis_m(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.semi_minor_axis_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.semi_minor_axis_m_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ErrorEllipse.semi_minor_axis_m) +} + +// .google.protobuf.DoubleValue orientation_d = 4 [json_name = "orientationD"]; +inline bool ErrorEllipse::has_orientation_d() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orientation_d_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::_internal_orientation_d() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.orientation_d_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& ErrorEllipse::orientation_d() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ErrorEllipse.orientation_d) + return _internal_orientation_d(); +} +inline void ErrorEllipse::unsafe_arena_set_allocated_orientation_d(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orientation_d_); + } + _impl_.orientation_d_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ErrorEllipse.orientation_d) +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::release_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* released = _impl_.orientation_d_; + _impl_.orientation_d_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::unsafe_arena_release_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ErrorEllipse.orientation_d) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* temp = _impl_.orientation_d_; + _impl_.orientation_d_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::_internal_mutable_orientation_d() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orientation_d_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.orientation_d_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.orientation_d_; +} +inline ::google::protobuf::DoubleValue* ErrorEllipse::mutable_orientation_d() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_orientation_d(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ErrorEllipse.orientation_d) + return _msg; +} +inline void ErrorEllipse::set_allocated_orientation_d(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orientation_d_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.orientation_d_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ErrorEllipse.orientation_d) +} + +// ------------------------------------------------------------------- + +// Pose + +// .anduril.entitymanager.v1.Position pos = 1 [json_name = "pos"]; +inline bool Pose::has_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); + return value; +} +inline void Pose::clear_pos() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Position& Pose::_internal_pos() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& Pose::pos() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Pose.pos) + return _internal_pos(); +} +inline void Pose::unsafe_arena_set_allocated_pos(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Pose.pos) +} +inline ::anduril::entitymanager::v1::Position* Pose::release_pos() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* released = _impl_.pos_; + _impl_.pos_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* Pose::unsafe_arena_release_pos() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Pose.pos) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* Pose::_internal_mutable_pos() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pos_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.pos_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.pos_; +} +inline ::anduril::entitymanager::v1::Position* Pose::mutable_pos() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Pose.pos) + return _msg; +} +inline void Pose::set_allocated_pos(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.pos_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.pos_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Pose.pos) +} + +// .anduril.type.Quaternion orientation = 2 [json_name = "orientation"]; +inline bool Pose::has_orientation() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orientation_ != nullptr); + return value; +} +inline const ::anduril::type::Quaternion& Pose::_internal_orientation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::Quaternion* p = _impl_.orientation_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_Quaternion_default_instance_); +} +inline const ::anduril::type::Quaternion& Pose::orientation() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Pose.orientation) + return _internal_orientation(); +} +inline void Pose::unsafe_arena_set_allocated_orientation(::anduril::type::Quaternion* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orientation_); + } + _impl_.orientation_ = reinterpret_cast<::anduril::type::Quaternion*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Pose.orientation) +} +inline ::anduril::type::Quaternion* Pose::release_orientation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::type::Quaternion* released = _impl_.orientation_; + _impl_.orientation_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::Quaternion* Pose::unsafe_arena_release_orientation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Pose.orientation) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::type::Quaternion* temp = _impl_.orientation_; + _impl_.orientation_ = nullptr; + return temp; +} +inline ::anduril::type::Quaternion* Pose::_internal_mutable_orientation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orientation_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::Quaternion>(GetArena()); + _impl_.orientation_ = reinterpret_cast<::anduril::type::Quaternion*>(p); + } + return _impl_.orientation_; +} +inline ::anduril::type::Quaternion* Pose::mutable_orientation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::type::Quaternion* _msg = _internal_mutable_orientation(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Pose.orientation) + return _msg; +} +inline void Pose::set_allocated_orientation(::anduril::type::Quaternion* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orientation_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.orientation_ = reinterpret_cast<::anduril::type::Quaternion*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Pose.orientation) +} + +// ------------------------------------------------------------------- + +// TMat3 + +// float mxx = 1 [json_name = "mxx"]; +inline void TMat3::clear_mxx() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mxx_ = 0; +} +inline float TMat3::mxx() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TMat3.mxx) + return _internal_mxx(); +} +inline void TMat3::set_mxx(float value) { + _internal_set_mxx(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TMat3.mxx) +} +inline float TMat3::_internal_mxx() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mxx_; +} +inline void TMat3::_internal_set_mxx(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mxx_ = value; +} + +// float mxy = 2 [json_name = "mxy"]; +inline void TMat3::clear_mxy() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mxy_ = 0; +} +inline float TMat3::mxy() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TMat3.mxy) + return _internal_mxy(); +} +inline void TMat3::set_mxy(float value) { + _internal_set_mxy(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TMat3.mxy) +} +inline float TMat3::_internal_mxy() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mxy_; +} +inline void TMat3::_internal_set_mxy(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mxy_ = value; +} + +// float mxz = 3 [json_name = "mxz"]; +inline void TMat3::clear_mxz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mxz_ = 0; +} +inline float TMat3::mxz() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TMat3.mxz) + return _internal_mxz(); +} +inline void TMat3::set_mxz(float value) { + _internal_set_mxz(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TMat3.mxz) +} +inline float TMat3::_internal_mxz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mxz_; +} +inline void TMat3::_internal_set_mxz(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mxz_ = value; +} + +// float myy = 4 [json_name = "myy"]; +inline void TMat3::clear_myy() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.myy_ = 0; +} +inline float TMat3::myy() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TMat3.myy) + return _internal_myy(); +} +inline void TMat3::set_myy(float value) { + _internal_set_myy(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TMat3.myy) +} +inline float TMat3::_internal_myy() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.myy_; +} +inline void TMat3::_internal_set_myy(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.myy_ = value; +} + +// float myz = 5 [json_name = "myz"]; +inline void TMat3::clear_myz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.myz_ = 0; +} +inline float TMat3::myz() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TMat3.myz) + return _internal_myz(); +} +inline void TMat3::set_myz(float value) { + _internal_set_myz(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TMat3.myz) +} +inline float TMat3::_internal_myz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.myz_; +} +inline void TMat3::_internal_set_myz(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.myz_ = value; +} + +// float mzz = 6 [json_name = "mzz"]; +inline void TMat3::clear_mzz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mzz_ = 0; +} +inline float TMat3::mzz() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TMat3.mzz) + return _internal_mzz(); +} +inline void TMat3::set_mzz(float value) { + _internal_set_mzz(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TMat3.mzz) +} +inline float TMat3::_internal_mzz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mzz_; +} +inline void TMat3::_internal_set_mzz(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mzz_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/media.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/media.pub.grpc.pb.cc new file mode 100644 index 0000000..cecbd23 --- /dev/null +++ b/src/anduril/entitymanager/v1/media.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/media.pub.proto + +#include "anduril/entitymanager/v1/media.pub.pb.h" +#include "anduril/entitymanager/v1/media.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/media.pub.grpc.pb.h b/src/anduril/entitymanager/v1/media.pub.grpc.pb.h new file mode 100644 index 0000000..4c24e2e --- /dev/null +++ b/src/anduril/entitymanager/v1/media.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/media.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/media.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/media.pub.pb.cc b/src/anduril/entitymanager/v1/media.pub.pb.cc new file mode 100644 index 0000000..2702a87 --- /dev/null +++ b/src/anduril/entitymanager/v1/media.pub.pb.cc @@ -0,0 +1,721 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/media.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/media.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr MediaItem::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : url_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + relative_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + type_{static_cast< ::anduril::entitymanager::v1::MediaType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR MediaItem::MediaItem(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MediaItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR MediaItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MediaItemDefaultTypeInternal() {} + union { + MediaItem _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MediaItemDefaultTypeInternal _MediaItem_default_instance_; + +inline constexpr Media::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : media_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Media::Media(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MediaDefaultTypeInternal { + PROTOBUF_CONSTEXPR MediaDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MediaDefaultTypeInternal() {} + union { + Media _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MediaDefaultTypeInternal _Media_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Media, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Media, _impl_.media_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MediaItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MediaItem, _impl_.url_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MediaItem, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MediaItem, _impl_.relative_path_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Media)}, + {9, -1, -1, sizeof(::anduril::entitymanager::v1::MediaItem)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Media_default_instance_._instance, + &::anduril::entitymanager::v1::_MediaItem_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n(anduril/entitymanager/v1/media.pub.pro" + "to\022\030anduril.entitymanager.v1\032*anduril/en" + "titymanager/v1/options.pub.proto\"G\n\005Medi" + "a\022>\n\005media\030\001 \003(\0132#.anduril.entitymanager" + ".v1.MediaItemB\003\310>\001R\005media\"{\n\tMediaItem\022\020" + "\n\003url\030\001 \001(\tR\003url\0227\n\004type\030\002 \001(\0162#.anduril" + ".entitymanager.v1.MediaTypeR\004type\022#\n\rrel" + "ative_path\030\003 \001(\tR\014relativePath*\206\001\n\tMedia" + "Type\022\026\n\022MEDIA_TYPE_INVALID\020\000\022\030\n\024MEDIA_TY" + "PE_THUMBNAIL\020\001\022\024\n\020MEDIA_TYPE_IMAGE\020\002\022\024\n\020" + "MEDIA_TYPE_VIDEO\020\003\022\033\n\027MEDIA_TYPE_SLIPPY_" + "TILES\020\004B\376\001\n\034com.anduril.entitymanager.v1" + "B\rMediaPubProtoP\001ZMghe.anduril.dev/andur" + "il/andurilapis-go/anduril/entitymanager/" + "v1;entitymanager\242\002\003AEX\252\002\030Anduril.Entitym" + "anager.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$A" + "nduril\\Entitymanager\\V1\\GPBMetadata\352\002\032An" + "duril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_deps[1] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto = { + false, + false, + 712, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto, + "anduril/entitymanager/v1/media.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_deps, + 1, + 2, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* MediaType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t MediaType_internal_data_[] = { + 327680u, 0u, }; +bool MediaType_IsValid(int value) { + return 0 <= value && value <= 4; +} +// =================================================================== + +class Media::_Internal { + public: +}; + +Media::Media(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Media) +} +inline PROTOBUF_NDEBUG_INLINE Media::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Media& from_msg) + : media_{visibility, arena, from.media_}, + _cached_size_{0} {} + +Media::Media( + ::google::protobuf::Arena* arena, + const Media& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Media* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Media) +} +inline PROTOBUF_NDEBUG_INLINE Media::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : media_{visibility, arena}, + _cached_size_{0} {} + +inline void Media::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Media::~Media() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Media) + SharedDtor(*this); +} +inline void Media::SharedDtor(MessageLite& self) { + Media& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Media::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Media(arena); +} +constexpr auto Media::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Media, _impl_.media_) + + decltype(Media::_impl_.media_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Media), alignof(Media), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Media::PlacementNew_, + sizeof(Media), + alignof(Media)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Media::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Media_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Media::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Media::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Media::ByteSizeLong, + &Media::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Media, _impl_._cached_size_), + false, + }, + &Media::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Media::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Media::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Media>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.MediaItem media = 1 [json_name = "media", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Media, _impl_.media_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.MediaItem media = 1 [json_name = "media", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Media, _impl_.media_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::MediaItem>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Media::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Media) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.media_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Media::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Media& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Media::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Media& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Media) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.MediaItem media = 1 [json_name = "media", (.anduril.entitymanager.v1.overridable) = true]; + for (unsigned i = 0, n = static_cast( + this_._internal_media_size()); + i < n; i++) { + const auto& repfield = this_._internal_media().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Media) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Media::ByteSizeLong(const MessageLite& base) { + const Media& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Media::ByteSizeLong() const { + const Media& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Media) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.MediaItem media = 1 [json_name = "media", (.anduril.entitymanager.v1.overridable) = true]; + { + total_size += 1UL * this_._internal_media_size(); + for (const auto& msg : this_._internal_media()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Media::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Media) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_media()->MergeFrom( + from._internal_media()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Media::CopyFrom(const Media& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Media) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Media::InternalSwap(Media* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.media_.InternalSwap(&other->_impl_.media_); +} + +::google::protobuf::Metadata Media::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class MediaItem::_Internal { + public: +}; + +MediaItem::MediaItem(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.MediaItem) +} +inline PROTOBUF_NDEBUG_INLINE MediaItem::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::MediaItem& from_msg) + : url_(arena, from.url_), + relative_path_(arena, from.relative_path_), + _cached_size_{0} {} + +MediaItem::MediaItem( + ::google::protobuf::Arena* arena, + const MediaItem& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MediaItem* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.type_ = from._impl_.type_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.MediaItem) +} +inline PROTOBUF_NDEBUG_INLINE MediaItem::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : url_(arena), + relative_path_(arena), + _cached_size_{0} {} + +inline void MediaItem::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.type_ = {}; +} +MediaItem::~MediaItem() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.MediaItem) + SharedDtor(*this); +} +inline void MediaItem::SharedDtor(MessageLite& self) { + MediaItem& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.url_.Destroy(); + this_._impl_.relative_path_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* MediaItem::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) MediaItem(arena); +} +constexpr auto MediaItem::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MediaItem), + alignof(MediaItem)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull MediaItem::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_MediaItem_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MediaItem::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MediaItem::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &MediaItem::ByteSizeLong, + &MediaItem::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MediaItem, _impl_._cached_size_), + false, + }, + &MediaItem::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* MediaItem::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 59, 2> MediaItem::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::MediaItem>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string url = 1 [json_name = "url"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(MediaItem, _impl_.url_)}}, + // .anduril.entitymanager.v1.MediaType type = 2 [json_name = "type"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MediaItem, _impl_.type_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(MediaItem, _impl_.type_)}}, + // string relative_path = 3 [json_name = "relativePath"]; + {::_pbi::TcParser::FastUS1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(MediaItem, _impl_.relative_path_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string url = 1 [json_name = "url"]; + {PROTOBUF_FIELD_OFFSET(MediaItem, _impl_.url_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.MediaType type = 2 [json_name = "type"]; + {PROTOBUF_FIELD_OFFSET(MediaItem, _impl_.type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string relative_path = 3 [json_name = "relativePath"]; + {PROTOBUF_FIELD_OFFSET(MediaItem, _impl_.relative_path_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\42\3\0\15\0\0\0\0" + "anduril.entitymanager.v1.MediaItem" + "url" + "relative_path" + }}, +}; + +PROTOBUF_NOINLINE void MediaItem::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.MediaItem) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.url_.ClearToEmpty(); + _impl_.relative_path_.ClearToEmpty(); + _impl_.type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* MediaItem::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const MediaItem& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* MediaItem::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const MediaItem& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.MediaItem) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string url = 1 [json_name = "url"]; + if (!this_._internal_url().empty()) { + const std::string& _s = this_._internal_url(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.MediaItem.url"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .anduril.entitymanager.v1.MediaType type = 2 [json_name = "type"]; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_type(), target); + } + + // string relative_path = 3 [json_name = "relativePath"]; + if (!this_._internal_relative_path().empty()) { + const std::string& _s = this_._internal_relative_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.MediaItem.relative_path"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.MediaItem) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t MediaItem::ByteSizeLong(const MessageLite& base) { + const MediaItem& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t MediaItem::ByteSizeLong() const { + const MediaItem& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.MediaItem) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string url = 1 [json_name = "url"]; + if (!this_._internal_url().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_url()); + } + // string relative_path = 3 [json_name = "relativePath"]; + if (!this_._internal_relative_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_relative_path()); + } + // .anduril.entitymanager.v1.MediaType type = 2 [json_name = "type"]; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void MediaItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.MediaItem) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_url().empty()) { + _this->_internal_set_url(from._internal_url()); + } + if (!from._internal_relative_path().empty()) { + _this->_internal_set_relative_path(from._internal_relative_path()); + } + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void MediaItem::CopyFrom(const MediaItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.MediaItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MediaItem::InternalSwap(MediaItem* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.relative_path_, &other->_impl_.relative_path_, arena); + swap(_impl_.type_, other->_impl_.type_); +} + +::google::protobuf::Metadata MediaItem::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/media.pub.pb.h b/src/anduril/entitymanager/v1/media.pub.pb.h new file mode 100644 index 0000000..7ba9e05 --- /dev/null +++ b/src/anduril/entitymanager/v1/media.pub.pb.h @@ -0,0 +1,756 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/media.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Media; +struct MediaDefaultTypeInternal; +extern MediaDefaultTypeInternal _Media_default_instance_; +class MediaItem; +struct MediaItemDefaultTypeInternal; +extern MediaItemDefaultTypeInternal _MediaItem_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum MediaType : int { + MEDIA_TYPE_INVALID = 0, + MEDIA_TYPE_THUMBNAIL = 1, + MEDIA_TYPE_IMAGE = 2, + MEDIA_TYPE_VIDEO = 3, + MEDIA_TYPE_SLIPPY_TILES = 4, + MediaType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + MediaType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool MediaType_IsValid(int value); +extern const uint32_t MediaType_internal_data_[]; +constexpr MediaType MediaType_MIN = static_cast(0); +constexpr MediaType MediaType_MAX = static_cast(4); +constexpr int MediaType_ARRAYSIZE = 4 + 1; +const ::google::protobuf::EnumDescriptor* +MediaType_descriptor(); +template +const std::string& MediaType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to MediaType_Name()."); + return MediaType_Name(static_cast(value)); +} +template <> +inline const std::string& MediaType_Name(MediaType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool MediaType_Parse(absl::string_view name, MediaType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + MediaType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class MediaItem final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.MediaItem) */ { + public: + inline MediaItem() : MediaItem(nullptr) {} + ~MediaItem() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MediaItem* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MediaItem)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MediaItem( + ::google::protobuf::internal::ConstantInitialized); + + inline MediaItem(const MediaItem& from) : MediaItem(nullptr, from) {} + inline MediaItem(MediaItem&& from) noexcept + : MediaItem(nullptr, std::move(from)) {} + inline MediaItem& operator=(const MediaItem& from) { + CopyFrom(from); + return *this; + } + inline MediaItem& operator=(MediaItem&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const MediaItem& default_instance() { + return *internal_default_instance(); + } + static inline const MediaItem* internal_default_instance() { + return reinterpret_cast( + &_MediaItem_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(MediaItem& a, MediaItem& b) { a.Swap(&b); } + inline void Swap(MediaItem* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MediaItem* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MediaItem* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const MediaItem& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const MediaItem& from) { MediaItem::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MediaItem* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.MediaItem"; } + + protected: + explicit MediaItem(::google::protobuf::Arena* arena); + MediaItem(::google::protobuf::Arena* arena, const MediaItem& from); + MediaItem(::google::protobuf::Arena* arena, MediaItem&& from) noexcept + : MediaItem(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUrlFieldNumber = 1, + kRelativePathFieldNumber = 3, + kTypeFieldNumber = 2, + }; + // string url = 1 [json_name = "url"]; + void clear_url() ; + const std::string& url() const; + template + void set_url(Arg_&& arg, Args_... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* value); + + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url( + const std::string& value); + std::string* _internal_mutable_url(); + + public: + // string relative_path = 3 [json_name = "relativePath"]; + void clear_relative_path() ; + const std::string& relative_path() const; + template + void set_relative_path(Arg_&& arg, Args_... args); + std::string* mutable_relative_path(); + PROTOBUF_NODISCARD std::string* release_relative_path(); + void set_allocated_relative_path(std::string* value); + + private: + const std::string& _internal_relative_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_relative_path( + const std::string& value); + std::string* _internal_mutable_relative_path(); + + public: + // .anduril.entitymanager.v1.MediaType type = 2 [json_name = "type"]; + void clear_type() ; + ::anduril::entitymanager::v1::MediaType type() const; + void set_type(::anduril::entitymanager::v1::MediaType value); + + private: + ::anduril::entitymanager::v1::MediaType _internal_type() const; + void _internal_set_type(::anduril::entitymanager::v1::MediaType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.MediaItem) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 59, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const MediaItem& from_msg); + ::google::protobuf::internal::ArenaStringPtr url_; + ::google::protobuf::internal::ArenaStringPtr relative_path_; + int type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Media final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Media) */ { + public: + inline Media() : Media(nullptr) {} + ~Media() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Media* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Media)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Media( + ::google::protobuf::internal::ConstantInitialized); + + inline Media(const Media& from) : Media(nullptr, from) {} + inline Media(Media&& from) noexcept + : Media(nullptr, std::move(from)) {} + inline Media& operator=(const Media& from) { + CopyFrom(from); + return *this; + } + inline Media& operator=(Media&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Media& default_instance() { + return *internal_default_instance(); + } + static inline const Media* internal_default_instance() { + return reinterpret_cast( + &_Media_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Media& a, Media& b) { a.Swap(&b); } + inline void Swap(Media* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Media* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Media* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Media& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Media& from) { Media::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Media* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Media"; } + + protected: + explicit Media(::google::protobuf::Arena* arena); + Media(::google::protobuf::Arena* arena, const Media& from); + Media(::google::protobuf::Arena* arena, Media&& from) noexcept + : Media(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMediaFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.MediaItem media = 1 [json_name = "media", (.anduril.entitymanager.v1.overridable) = true]; + int media_size() const; + private: + int _internal_media_size() const; + + public: + void clear_media() ; + ::anduril::entitymanager::v1::MediaItem* mutable_media(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>* mutable_media(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>& _internal_media() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>* _internal_mutable_media(); + public: + const ::anduril::entitymanager::v1::MediaItem& media(int index) const; + ::anduril::entitymanager::v1::MediaItem* add_media(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>& media() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Media) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Media& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::MediaItem > media_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Media + +// repeated .anduril.entitymanager.v1.MediaItem media = 1 [json_name = "media", (.anduril.entitymanager.v1.overridable) = true]; +inline int Media::_internal_media_size() const { + return _internal_media().size(); +} +inline int Media::media_size() const { + return _internal_media_size(); +} +inline void Media::clear_media() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.media_.Clear(); +} +inline ::anduril::entitymanager::v1::MediaItem* Media::mutable_media(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Media.media) + return _internal_mutable_media()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>* Media::mutable_media() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Media.media) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_media(); +} +inline const ::anduril::entitymanager::v1::MediaItem& Media::media(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Media.media) + return _internal_media().Get(index); +} +inline ::anduril::entitymanager::v1::MediaItem* Media::add_media() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::MediaItem* _add = _internal_mutable_media()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Media.media) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>& Media::media() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Media.media) + return _internal_media(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>& +Media::_internal_media() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.media_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::MediaItem>* +Media::_internal_mutable_media() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.media_; +} + +// ------------------------------------------------------------------- + +// MediaItem + +// string url = 1 [json_name = "url"]; +inline void MediaItem::clear_url() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.url_.ClearToEmpty(); +} +inline const std::string& MediaItem::url() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.MediaItem.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE void MediaItem::set_url(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.url_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.MediaItem.url) +} +inline std::string* MediaItem::mutable_url() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.MediaItem.url) + return _s; +} +inline const std::string& MediaItem::_internal_url() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.url_.Get(); +} +inline void MediaItem::_internal_set_url(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.url_.Set(value, GetArena()); +} +inline std::string* MediaItem::_internal_mutable_url() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.url_.Mutable( GetArena()); +} +inline std::string* MediaItem::release_url() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.MediaItem.url) + return _impl_.url_.Release(); +} +inline void MediaItem::set_allocated_url(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.url_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.MediaItem.url) +} + +// .anduril.entitymanager.v1.MediaType type = 2 [json_name = "type"]; +inline void MediaItem::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::anduril::entitymanager::v1::MediaType MediaItem::type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.MediaItem.type) + return _internal_type(); +} +inline void MediaItem::set_type(::anduril::entitymanager::v1::MediaType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.MediaItem.type) +} +inline ::anduril::entitymanager::v1::MediaType MediaItem::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::MediaType>(_impl_.type_); +} +inline void MediaItem::_internal_set_type(::anduril::entitymanager::v1::MediaType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +// string relative_path = 3 [json_name = "relativePath"]; +inline void MediaItem::clear_relative_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_path_.ClearToEmpty(); +} +inline const std::string& MediaItem::relative_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.MediaItem.relative_path) + return _internal_relative_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void MediaItem::set_relative_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.MediaItem.relative_path) +} +inline std::string* MediaItem::mutable_relative_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_relative_path(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.MediaItem.relative_path) + return _s; +} +inline const std::string& MediaItem::_internal_relative_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.relative_path_.Get(); +} +inline void MediaItem::_internal_set_relative_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_path_.Set(value, GetArena()); +} +inline std::string* MediaItem::_internal_mutable_relative_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.relative_path_.Mutable( GetArena()); +} +inline std::string* MediaItem::release_relative_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.MediaItem.relative_path) + return _impl_.relative_path_.Release(); +} +inline void MediaItem::set_allocated_relative_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.relative_path_.IsDefault()) { + _impl_.relative_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.MediaItem.relative_path) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::MediaType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::MediaType>() { + return ::anduril::entitymanager::v1::MediaType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fmedia_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/notification.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/notification.pub.grpc.pb.cc new file mode 100644 index 0000000..be0406b --- /dev/null +++ b/src/anduril/entitymanager/v1/notification.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/notification.pub.proto + +#include "anduril/entitymanager/v1/notification.pub.pb.h" +#include "anduril/entitymanager/v1/notification.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/notification.pub.grpc.pb.h b/src/anduril/entitymanager/v1/notification.pub.grpc.pb.h new file mode 100644 index 0000000..a20ffe9 --- /dev/null +++ b/src/anduril/entitymanager/v1/notification.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/notification.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/notification.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/notification.pub.pb.cc b/src/anduril/entitymanager/v1/notification.pub.pb.cc new file mode 100644 index 0000000..f2d8d58 --- /dev/null +++ b/src/anduril/entitymanager/v1/notification.pub.pb.cc @@ -0,0 +1,493 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/notification.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/notification.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr OverrideNotificationPayload::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + field_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + entity_{nullptr}, + provenance_{nullptr} {} + +template +PROTOBUF_CONSTEXPR OverrideNotificationPayload::OverrideNotificationPayload(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OverrideNotificationPayloadDefaultTypeInternal { + PROTOBUF_CONSTEXPR OverrideNotificationPayloadDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OverrideNotificationPayloadDefaultTypeInternal() {} + union { + OverrideNotificationPayload _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OverrideNotificationPayloadDefaultTypeInternal _OverrideNotificationPayload_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideNotificationPayload, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideNotificationPayload, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideNotificationPayload, _impl_.entity_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideNotificationPayload, _impl_.field_path_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::OverrideNotificationPayload, _impl_.provenance_), + 0, + ~0u, + 1, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 11, -1, sizeof(::anduril::entitymanager::v1::OverrideNotificationPayload)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_OverrideNotificationPayload_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n/anduril/entitymanager/v1/notification." + "pub.proto\022\030anduril.entitymanager.v1\032)and" + "uril/entitymanager/v1/entity.pub.proto\"\274" + "\001\n\033OverrideNotificationPayload\0228\n\006entity" + "\030\001 \001(\0132 .anduril.entitymanager.v1.Entity" + "R\006entity\022\035\n\nfield_path\030\002 \001(\tR\tfieldPath\022" + "D\n\nprovenance\030\003 \001(\0132$.anduril.entitymana" + "ger.v1.ProvenanceR\nprovenanceB\205\002\n\034com.an" + "duril.entitymanager.v1B\024NotificationPubP" + "rotoP\001ZMghe.anduril.dev/anduril/andurila" + "pis-go/anduril/entitymanager/v1;entityma" + "nager\242\002\003AEX\252\002\030Anduril.Entitymanager.V1\312\002" + "\030Anduril\\Entitymanager\\V1\342\002$Anduril\\Enti" + "tymanager\\V1\\GPBMetadata\352\002\032Anduril::Enti" + "tymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_deps[1] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2fentity_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto = { + false, + false, + 581, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto, + "anduril/entitymanager/v1/notification.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_deps, + 1, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class OverrideNotificationPayload::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_._has_bits_); +}; + +void OverrideNotificationPayload::clear_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ != nullptr) _impl_.entity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void OverrideNotificationPayload::clear_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ != nullptr) _impl_.provenance_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +OverrideNotificationPayload::OverrideNotificationPayload(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.OverrideNotificationPayload) +} +inline PROTOBUF_NDEBUG_INLINE OverrideNotificationPayload::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::OverrideNotificationPayload& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + field_path_(arena, from.field_path_) {} + +OverrideNotificationPayload::OverrideNotificationPayload( + ::google::protobuf::Arena* arena, + const OverrideNotificationPayload& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + OverrideNotificationPayload* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.entity_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>( + arena, *from._impl_.entity_) + : nullptr; + _impl_.provenance_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>( + arena, *from._impl_.provenance_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.OverrideNotificationPayload) +} +inline PROTOBUF_NDEBUG_INLINE OverrideNotificationPayload::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + field_path_(arena) {} + +inline void OverrideNotificationPayload::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, entity_), + 0, + offsetof(Impl_, provenance_) - + offsetof(Impl_, entity_) + + sizeof(Impl_::provenance_)); +} +OverrideNotificationPayload::~OverrideNotificationPayload() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.OverrideNotificationPayload) + SharedDtor(*this); +} +inline void OverrideNotificationPayload::SharedDtor(MessageLite& self) { + OverrideNotificationPayload& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.field_path_.Destroy(); + delete this_._impl_.entity_; + delete this_._impl_.provenance_; + this_._impl_.~Impl_(); +} + +inline void* OverrideNotificationPayload::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) OverrideNotificationPayload(arena); +} +constexpr auto OverrideNotificationPayload::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(OverrideNotificationPayload), + alignof(OverrideNotificationPayload)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull OverrideNotificationPayload::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_OverrideNotificationPayload_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OverrideNotificationPayload::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OverrideNotificationPayload::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OverrideNotificationPayload::ByteSizeLong, + &OverrideNotificationPayload::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_._cached_size_), + false, + }, + &OverrideNotificationPayload::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* OverrideNotificationPayload::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 71, 2> OverrideNotificationPayload::_table_ = { + { + PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::OverrideNotificationPayload>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.entity_)}}, + // string field_path = 2 [json_name = "fieldPath"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.field_path_)}}, + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.provenance_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + {PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.entity_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // string field_path = 2 [json_name = "fieldPath"]; + {PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.field_path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + {PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.provenance_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Entity>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Provenance>()}, + }}, {{ + "\64\0\12\0\0\0\0\0" + "anduril.entitymanager.v1.OverrideNotificationPayload" + "field_path" + }}, +}; + +PROTOBUF_NOINLINE void OverrideNotificationPayload::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.OverrideNotificationPayload) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.field_path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.entity_ != nullptr); + _impl_.entity_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.provenance_ != nullptr); + _impl_.provenance_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* OverrideNotificationPayload::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const OverrideNotificationPayload& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* OverrideNotificationPayload::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const OverrideNotificationPayload& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.OverrideNotificationPayload) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_, this_._impl_.entity_->GetCachedSize(), target, + stream); + } + + // string field_path = 2 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + const std::string& _s = this_._internal_field_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.OverrideNotificationPayload.field_path"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.provenance_, this_._impl_.provenance_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.OverrideNotificationPayload) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t OverrideNotificationPayload::ByteSizeLong(const MessageLite& base) { + const OverrideNotificationPayload& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t OverrideNotificationPayload::ByteSizeLong() const { + const OverrideNotificationPayload& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.OverrideNotificationPayload) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string field_path = 2 [json_name = "fieldPath"]; + if (!this_._internal_field_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_field_path()); + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_); + } + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.provenance_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void OverrideNotificationPayload::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.OverrideNotificationPayload) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_field_path().empty()) { + _this->_internal_set_field_path(from._internal_field_path()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.entity_ != nullptr); + if (_this->_impl_.entity_ == nullptr) { + _this->_impl_.entity_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Entity>(arena, *from._impl_.entity_); + } else { + _this->_impl_.entity_->MergeFrom(*from._impl_.entity_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.provenance_ != nullptr); + if (_this->_impl_.provenance_ == nullptr) { + _this->_impl_.provenance_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Provenance>(arena, *from._impl_.provenance_); + } else { + _this->_impl_.provenance_->MergeFrom(*from._impl_.provenance_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void OverrideNotificationPayload::CopyFrom(const OverrideNotificationPayload& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.OverrideNotificationPayload) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OverrideNotificationPayload::InternalSwap(OverrideNotificationPayload* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.field_path_, &other->_impl_.field_path_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.provenance_) + + sizeof(OverrideNotificationPayload::_impl_.provenance_) + - PROTOBUF_FIELD_OFFSET(OverrideNotificationPayload, _impl_.entity_)>( + reinterpret_cast(&_impl_.entity_), + reinterpret_cast(&other->_impl_.entity_)); +} + +::google::protobuf::Metadata OverrideNotificationPayload::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/notification.pub.pb.h b/src/anduril/entitymanager/v1/notification.pub.pb.h new file mode 100644 index 0000000..75ac437 --- /dev/null +++ b/src/anduril/entitymanager/v1/notification.pub.pb.h @@ -0,0 +1,569 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/notification.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/entity.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class OverrideNotificationPayload; +struct OverrideNotificationPayloadDefaultTypeInternal; +extern OverrideNotificationPayloadDefaultTypeInternal _OverrideNotificationPayload_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class OverrideNotificationPayload final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.OverrideNotificationPayload) */ { + public: + inline OverrideNotificationPayload() : OverrideNotificationPayload(nullptr) {} + ~OverrideNotificationPayload() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OverrideNotificationPayload* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OverrideNotificationPayload)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OverrideNotificationPayload( + ::google::protobuf::internal::ConstantInitialized); + + inline OverrideNotificationPayload(const OverrideNotificationPayload& from) : OverrideNotificationPayload(nullptr, from) {} + inline OverrideNotificationPayload(OverrideNotificationPayload&& from) noexcept + : OverrideNotificationPayload(nullptr, std::move(from)) {} + inline OverrideNotificationPayload& operator=(const OverrideNotificationPayload& from) { + CopyFrom(from); + return *this; + } + inline OverrideNotificationPayload& operator=(OverrideNotificationPayload&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const OverrideNotificationPayload& default_instance() { + return *internal_default_instance(); + } + static inline const OverrideNotificationPayload* internal_default_instance() { + return reinterpret_cast( + &_OverrideNotificationPayload_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(OverrideNotificationPayload& a, OverrideNotificationPayload& b) { a.Swap(&b); } + inline void Swap(OverrideNotificationPayload* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OverrideNotificationPayload* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OverrideNotificationPayload* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const OverrideNotificationPayload& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const OverrideNotificationPayload& from) { OverrideNotificationPayload::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OverrideNotificationPayload* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.OverrideNotificationPayload"; } + + protected: + explicit OverrideNotificationPayload(::google::protobuf::Arena* arena); + OverrideNotificationPayload(::google::protobuf::Arena* arena, const OverrideNotificationPayload& from); + OverrideNotificationPayload(::google::protobuf::Arena* arena, OverrideNotificationPayload&& from) noexcept + : OverrideNotificationPayload(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldPathFieldNumber = 2, + kEntityFieldNumber = 1, + kProvenanceFieldNumber = 3, + }; + // string field_path = 2 [json_name = "fieldPath"]; + void clear_field_path() ; + const std::string& field_path() const; + template + void set_field_path(Arg_&& arg, Args_... args); + std::string* mutable_field_path(); + PROTOBUF_NODISCARD std::string* release_field_path(); + void set_allocated_field_path(std::string* value); + + private: + const std::string& _internal_field_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_path( + const std::string& value); + std::string* _internal_mutable_field_path(); + + public: + // .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; + bool has_entity() const; + void clear_entity() ; + const ::anduril::entitymanager::v1::Entity& entity() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Entity* release_entity(); + ::anduril::entitymanager::v1::Entity* mutable_entity(); + void set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + void unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value); + ::anduril::entitymanager::v1::Entity* unsafe_arena_release_entity(); + + private: + const ::anduril::entitymanager::v1::Entity& _internal_entity() const; + ::anduril::entitymanager::v1::Entity* _internal_mutable_entity(); + + public: + // .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; + bool has_provenance() const; + void clear_provenance() ; + const ::anduril::entitymanager::v1::Provenance& provenance() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Provenance* release_provenance(); + ::anduril::entitymanager::v1::Provenance* mutable_provenance(); + void set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + void unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value); + ::anduril::entitymanager::v1::Provenance* unsafe_arena_release_provenance(); + + private: + const ::anduril::entitymanager::v1::Provenance& _internal_provenance() const; + ::anduril::entitymanager::v1::Provenance* _internal_mutable_provenance(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.OverrideNotificationPayload) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 71, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const OverrideNotificationPayload& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr field_path_; + ::anduril::entitymanager::v1::Entity* entity_; + ::anduril::entitymanager::v1::Provenance* provenance_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// OverrideNotificationPayload + +// .anduril.entitymanager.v1.Entity entity = 1 [json_name = "entity"]; +inline bool OverrideNotificationPayload::has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Entity& OverrideNotificationPayload::_internal_entity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Entity* p = _impl_.entity_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Entity_default_instance_); +} +inline const ::anduril::entitymanager::v1::Entity& OverrideNotificationPayload::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideNotificationPayload.entity) + return _internal_entity(); +} +inline void OverrideNotificationPayload::unsafe_arena_set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.OverrideNotificationPayload.entity) +} +inline ::anduril::entitymanager::v1::Entity* OverrideNotificationPayload::release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* released = _impl_.entity_; + _impl_.entity_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Entity* OverrideNotificationPayload::unsafe_arena_release_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OverrideNotificationPayload.entity) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Entity* temp = _impl_.entity_; + _impl_.entity_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Entity* OverrideNotificationPayload::_internal_mutable_entity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.entity_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Entity>(GetArena()); + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(p); + } + return _impl_.entity_; +} +inline ::anduril::entitymanager::v1::Entity* OverrideNotificationPayload::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Entity* _msg = _internal_mutable_entity(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OverrideNotificationPayload.entity) + return _msg; +} +inline void OverrideNotificationPayload::set_allocated_entity(::anduril::entitymanager::v1::Entity* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.entity_ = reinterpret_cast<::anduril::entitymanager::v1::Entity*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OverrideNotificationPayload.entity) +} + +// string field_path = 2 [json_name = "fieldPath"]; +inline void OverrideNotificationPayload::clear_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.ClearToEmpty(); +} +inline const std::string& OverrideNotificationPayload::field_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideNotificationPayload.field_path) + return _internal_field_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void OverrideNotificationPayload::set_field_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.OverrideNotificationPayload.field_path) +} +inline std::string* OverrideNotificationPayload::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_field_path(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OverrideNotificationPayload.field_path) + return _s; +} +inline const std::string& OverrideNotificationPayload::_internal_field_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.field_path_.Get(); +} +inline void OverrideNotificationPayload::_internal_set_field_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.Set(value, GetArena()); +} +inline std::string* OverrideNotificationPayload::_internal_mutable_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.field_path_.Mutable( GetArena()); +} +inline std::string* OverrideNotificationPayload::release_field_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OverrideNotificationPayload.field_path) + return _impl_.field_path_.Release(); +} +inline void OverrideNotificationPayload::set_allocated_field_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.field_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.field_path_.IsDefault()) { + _impl_.field_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OverrideNotificationPayload.field_path) +} + +// .anduril.entitymanager.v1.Provenance provenance = 3 [json_name = "provenance"]; +inline bool OverrideNotificationPayload::has_provenance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.provenance_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Provenance& OverrideNotificationPayload::_internal_provenance() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Provenance* p = _impl_.provenance_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Provenance_default_instance_); +} +inline const ::anduril::entitymanager::v1::Provenance& OverrideNotificationPayload::provenance() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.OverrideNotificationPayload.provenance) + return _internal_provenance(); +} +inline void OverrideNotificationPayload::unsafe_arena_set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.OverrideNotificationPayload.provenance) +} +inline ::anduril::entitymanager::v1::Provenance* OverrideNotificationPayload::release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Provenance* released = _impl_.provenance_; + _impl_.provenance_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Provenance* OverrideNotificationPayload::unsafe_arena_release_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.OverrideNotificationPayload.provenance) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Provenance* temp = _impl_.provenance_; + _impl_.provenance_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Provenance* OverrideNotificationPayload::_internal_mutable_provenance() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.provenance_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Provenance>(GetArena()); + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(p); + } + return _impl_.provenance_; +} +inline ::anduril::entitymanager::v1::Provenance* OverrideNotificationPayload::mutable_provenance() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Provenance* _msg = _internal_mutable_provenance(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.OverrideNotificationPayload.provenance) + return _msg; +} +inline void OverrideNotificationPayload::set_allocated_provenance(::anduril::entitymanager::v1::Provenance* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.provenance_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.provenance_ = reinterpret_cast<::anduril::entitymanager::v1::Provenance*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.OverrideNotificationPayload.provenance) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fnotification_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/ontology.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/ontology.pub.grpc.pb.cc new file mode 100644 index 0000000..b4c3e99 --- /dev/null +++ b/src/anduril/entitymanager/v1/ontology.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/ontology.pub.proto + +#include "anduril/entitymanager/v1/ontology.pub.pb.h" +#include "anduril/entitymanager/v1/ontology.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/ontology.pub.grpc.pb.h b/src/anduril/entitymanager/v1/ontology.pub.grpc.pb.h new file mode 100644 index 0000000..9c32b43 --- /dev/null +++ b/src/anduril/entitymanager/v1/ontology.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/ontology.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/ontology.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/ontology.pub.pb.cc b/src/anduril/entitymanager/v1/ontology.pub.pb.cc new file mode 100644 index 0000000..5e29b2a --- /dev/null +++ b/src/anduril/entitymanager/v1/ontology.pub.pb.cc @@ -0,0 +1,744 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/ontology.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/ontology.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Ontology::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : platform_type_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + specific_type_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + template__{static_cast< ::anduril::entitymanager::v1::Template >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Ontology::Ontology(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OntologyDefaultTypeInternal { + PROTOBUF_CONSTEXPR OntologyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OntologyDefaultTypeInternal() {} + union { + Ontology _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OntologyDefaultTypeInternal _Ontology_default_instance_; + +inline constexpr MilView::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : disposition_{static_cast< ::anduril::ontology::v1::Disposition >(0)}, + environment_{static_cast< ::anduril::ontology::v1::Environment >(0)}, + nationality_{static_cast< ::anduril::ontology::v1::Nationality >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR MilView::MilView(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MilViewDefaultTypeInternal { + PROTOBUF_CONSTEXPR MilViewDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MilViewDefaultTypeInternal() {} + union { + MilView _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MilViewDefaultTypeInternal _MilView_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MilView, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MilView, _impl_.disposition_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MilView, _impl_.environment_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MilView, _impl_.nationality_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Ontology, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Ontology, _impl_.platform_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Ontology, _impl_.specific_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Ontology, _impl_.template__), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::MilView)}, + {11, -1, -1, sizeof(::anduril::entitymanager::v1::Ontology)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_MilView_default_instance_._instance, + &::anduril::entitymanager::v1::_Ontology_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n+anduril/entitymanager/v1/ontology.pub." + "proto\022\030anduril.entitymanager.v1\032*anduril" + "/entitymanager/v1/options.pub.proto\032(and" + "uril/entitymanager/v1/types.pub.proto\032\"a" + "nduril/ontology/v1/type.pub.proto\"\344\001\n\007Mi" + "lView\022G\n\013disposition\030\001 \001(\0162 .anduril.ont" + "ology.v1.DispositionB\003\310>\001R\013disposition\022G" + "\n\013environment\030\002 \001(\0162 .anduril.ontology.v" + "1.EnvironmentB\003\310>\001R\013environment\022G\n\013natio" + "nality\030\003 \001(\0162 .anduril.ontology.v1.Natio" + "nalityB\003\310>\001R\013nationality\"\261\001\n\010Ontology\022(\n" + "\rplatform_type\030\003 \001(\tB\003\310>\001R\014platformType\022" + "(\n\rspecific_type\030\004 \001(\tB\003\310>\001R\014specificTyp" + "e\022>\n\010template\030\002 \001(\0162\".anduril.entitymana" + "ger.v1.TemplateR\010templateJ\004\010\001\020\002R\013descrip" + "torsB\201\002\n\034com.anduril.entitymanager.v1B\020O" + "ntologyPubProtoP\001ZMghe.anduril.dev/andur" + "il/andurilapis-go/anduril/entitymanager/" + "v1;entitymanager\242\002\003AEX\252\002\030Anduril.Entitym" + "anager.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$A" + "nduril\\Entitymanager\\V1\\GPBMetadata\352\002\032An" + "duril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_deps[3] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + &::descriptor_table_anduril_2fontology_2fv1_2ftype_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto = { + false, + false, + 872, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto, + "anduril/entitymanager/v1/ontology.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_deps, + 3, + 2, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class MilView::_Internal { + public: +}; + +MilView::MilView(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.MilView) +} +MilView::MilView( + ::google::protobuf::Arena* arena, const MilView& from) + : MilView(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE MilView::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void MilView::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, disposition_), + 0, + offsetof(Impl_, nationality_) - + offsetof(Impl_, disposition_) + + sizeof(Impl_::nationality_)); +} +MilView::~MilView() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.MilView) + SharedDtor(*this); +} +inline void MilView::SharedDtor(MessageLite& self) { + MilView& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* MilView::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) MilView(arena); +} +constexpr auto MilView::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MilView), + alignof(MilView)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull MilView::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_MilView_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MilView::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MilView::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &MilView::ByteSizeLong, + &MilView::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MilView, _impl_._cached_size_), + false, + }, + &MilView::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* MilView::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> MilView::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::MilView>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.ontology.v1.Disposition disposition = 1 [json_name = "disposition", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MilView, _impl_.disposition_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(MilView, _impl_.disposition_)}}, + // .anduril.ontology.v1.Environment environment = 2 [json_name = "environment", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MilView, _impl_.environment_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(MilView, _impl_.environment_)}}, + // .anduril.ontology.v1.Nationality nationality = 3 [json_name = "nationality", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MilView, _impl_.nationality_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(MilView, _impl_.nationality_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.ontology.v1.Disposition disposition = 1 [json_name = "disposition", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(MilView, _impl_.disposition_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.ontology.v1.Environment environment = 2 [json_name = "environment", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(MilView, _impl_.environment_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.ontology.v1.Nationality nationality = 3 [json_name = "nationality", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(MilView, _impl_.nationality_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void MilView::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.MilView) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.disposition_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.nationality_) - + reinterpret_cast(&_impl_.disposition_)) + sizeof(_impl_.nationality_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* MilView::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const MilView& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* MilView::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const MilView& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.MilView) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.ontology.v1.Disposition disposition = 1 [json_name = "disposition", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_disposition() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_disposition(), target); + } + + // .anduril.ontology.v1.Environment environment = 2 [json_name = "environment", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_environment() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_environment(), target); + } + + // .anduril.ontology.v1.Nationality nationality = 3 [json_name = "nationality", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_nationality() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_nationality(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.MilView) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t MilView::ByteSizeLong(const MessageLite& base) { + const MilView& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t MilView::ByteSizeLong() const { + const MilView& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.MilView) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .anduril.ontology.v1.Disposition disposition = 1 [json_name = "disposition", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_disposition() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_disposition()); + } + // .anduril.ontology.v1.Environment environment = 2 [json_name = "environment", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_environment() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_environment()); + } + // .anduril.ontology.v1.Nationality nationality = 3 [json_name = "nationality", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_nationality() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_nationality()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void MilView::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.MilView) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_disposition() != 0) { + _this->_impl_.disposition_ = from._impl_.disposition_; + } + if (from._internal_environment() != 0) { + _this->_impl_.environment_ = from._impl_.environment_; + } + if (from._internal_nationality() != 0) { + _this->_impl_.nationality_ = from._impl_.nationality_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void MilView::CopyFrom(const MilView& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.MilView) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MilView::InternalSwap(MilView* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(MilView, _impl_.nationality_) + + sizeof(MilView::_impl_.nationality_) + - PROTOBUF_FIELD_OFFSET(MilView, _impl_.disposition_)>( + reinterpret_cast(&_impl_.disposition_), + reinterpret_cast(&other->_impl_.disposition_)); +} + +::google::protobuf::Metadata MilView::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Ontology::_Internal { + public: +}; + +Ontology::Ontology(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Ontology) +} +inline PROTOBUF_NDEBUG_INLINE Ontology::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Ontology& from_msg) + : platform_type_(arena, from.platform_type_), + specific_type_(arena, from.specific_type_), + _cached_size_{0} {} + +Ontology::Ontology( + ::google::protobuf::Arena* arena, + const Ontology& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Ontology* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.template__ = from._impl_.template__; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Ontology) +} +inline PROTOBUF_NDEBUG_INLINE Ontology::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : platform_type_(arena), + specific_type_(arena), + _cached_size_{0} {} + +inline void Ontology::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.template__ = {}; +} +Ontology::~Ontology() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Ontology) + SharedDtor(*this); +} +inline void Ontology::SharedDtor(MessageLite& self) { + Ontology& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.platform_type_.Destroy(); + this_._impl_.specific_type_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Ontology::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Ontology(arena); +} +constexpr auto Ontology::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Ontology), + alignof(Ontology)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Ontology::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Ontology_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Ontology::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Ontology::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Ontology::ByteSizeLong, + &Ontology::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Ontology, _impl_._cached_size_), + false, + }, + &Ontology::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Ontology::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 68, 2> Ontology::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967281, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Ontology>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string specific_type = 4 [json_name = "specificType", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastUS1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(Ontology, _impl_.specific_type_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.Template template = 2 [json_name = "template"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Ontology, _impl_.template__), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Ontology, _impl_.template__)}}, + // string platform_type = 3 [json_name = "platformType", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastUS1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(Ontology, _impl_.platform_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Template template = 2 [json_name = "template"]; + {PROTOBUF_FIELD_OFFSET(Ontology, _impl_.template__), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string platform_type = 3 [json_name = "platformType", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Ontology, _impl_.platform_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string specific_type = 4 [json_name = "specificType", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Ontology, _impl_.specific_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\41\0\15\15\0\0\0\0" + "anduril.entitymanager.v1.Ontology" + "platform_type" + "specific_type" + }}, +}; + +PROTOBUF_NOINLINE void Ontology::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Ontology) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.platform_type_.ClearToEmpty(); + _impl_.specific_type_.ClearToEmpty(); + _impl_.template__ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Ontology::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Ontology& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Ontology::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Ontology& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Ontology) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.Template template = 2 [json_name = "template"]; + if (this_._internal_template_() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_template_(), target); + } + + // string platform_type = 3 [json_name = "platformType", (.anduril.entitymanager.v1.overridable) = true]; + if (!this_._internal_platform_type().empty()) { + const std::string& _s = this_._internal_platform_type(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Ontology.platform_type"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string specific_type = 4 [json_name = "specificType", (.anduril.entitymanager.v1.overridable) = true]; + if (!this_._internal_specific_type().empty()) { + const std::string& _s = this_._internal_specific_type(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Ontology.specific_type"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Ontology) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Ontology::ByteSizeLong(const MessageLite& base) { + const Ontology& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Ontology::ByteSizeLong() const { + const Ontology& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Ontology) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string platform_type = 3 [json_name = "platformType", (.anduril.entitymanager.v1.overridable) = true]; + if (!this_._internal_platform_type().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_platform_type()); + } + // string specific_type = 4 [json_name = "specificType", (.anduril.entitymanager.v1.overridable) = true]; + if (!this_._internal_specific_type().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_specific_type()); + } + // .anduril.entitymanager.v1.Template template = 2 [json_name = "template"]; + if (this_._internal_template_() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_template_()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Ontology::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Ontology) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_platform_type().empty()) { + _this->_internal_set_platform_type(from._internal_platform_type()); + } + if (!from._internal_specific_type().empty()) { + _this->_internal_set_specific_type(from._internal_specific_type()); + } + if (from._internal_template_() != 0) { + _this->_impl_.template__ = from._impl_.template__; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Ontology::CopyFrom(const Ontology& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Ontology) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Ontology::InternalSwap(Ontology* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.platform_type_, &other->_impl_.platform_type_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.specific_type_, &other->_impl_.specific_type_, arena); + swap(_impl_.template__, other->_impl_.template__); +} + +::google::protobuf::Metadata Ontology::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/ontology.pub.pb.h b/src/anduril/entitymanager/v1/ontology.pub.pb.h new file mode 100644 index 0000000..df785f4 --- /dev/null +++ b/src/anduril/entitymanager/v1/ontology.pub.pb.h @@ -0,0 +1,742 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/ontology.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +#include "anduril/entitymanager/v1/types.pub.pb.h" +#include "anduril/ontology/v1/type.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class MilView; +struct MilViewDefaultTypeInternal; +extern MilViewDefaultTypeInternal _MilView_default_instance_; +class Ontology; +struct OntologyDefaultTypeInternal; +extern OntologyDefaultTypeInternal _Ontology_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Ontology final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Ontology) */ { + public: + inline Ontology() : Ontology(nullptr) {} + ~Ontology() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Ontology* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Ontology)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Ontology( + ::google::protobuf::internal::ConstantInitialized); + + inline Ontology(const Ontology& from) : Ontology(nullptr, from) {} + inline Ontology(Ontology&& from) noexcept + : Ontology(nullptr, std::move(from)) {} + inline Ontology& operator=(const Ontology& from) { + CopyFrom(from); + return *this; + } + inline Ontology& operator=(Ontology&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Ontology& default_instance() { + return *internal_default_instance(); + } + static inline const Ontology* internal_default_instance() { + return reinterpret_cast( + &_Ontology_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Ontology& a, Ontology& b) { a.Swap(&b); } + inline void Swap(Ontology* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Ontology* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Ontology* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Ontology& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Ontology& from) { Ontology::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Ontology* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Ontology"; } + + protected: + explicit Ontology(::google::protobuf::Arena* arena); + Ontology(::google::protobuf::Arena* arena, const Ontology& from); + Ontology(::google::protobuf::Arena* arena, Ontology&& from) noexcept + : Ontology(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPlatformTypeFieldNumber = 3, + kSpecificTypeFieldNumber = 4, + kTemplateFieldNumber = 2, + }; + // string platform_type = 3 [json_name = "platformType", (.anduril.entitymanager.v1.overridable) = true]; + void clear_platform_type() ; + const std::string& platform_type() const; + template + void set_platform_type(Arg_&& arg, Args_... args); + std::string* mutable_platform_type(); + PROTOBUF_NODISCARD std::string* release_platform_type(); + void set_allocated_platform_type(std::string* value); + + private: + const std::string& _internal_platform_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform_type( + const std::string& value); + std::string* _internal_mutable_platform_type(); + + public: + // string specific_type = 4 [json_name = "specificType", (.anduril.entitymanager.v1.overridable) = true]; + void clear_specific_type() ; + const std::string& specific_type() const; + template + void set_specific_type(Arg_&& arg, Args_... args); + std::string* mutable_specific_type(); + PROTOBUF_NODISCARD std::string* release_specific_type(); + void set_allocated_specific_type(std::string* value); + + private: + const std::string& _internal_specific_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_specific_type( + const std::string& value); + std::string* _internal_mutable_specific_type(); + + public: + // .anduril.entitymanager.v1.Template template = 2 [json_name = "template"]; + void clear_template_() ; + ::anduril::entitymanager::v1::Template template_() const; + void set_template_(::anduril::entitymanager::v1::Template value); + + private: + ::anduril::entitymanager::v1::Template _internal_template_() const; + void _internal_set_template_(::anduril::entitymanager::v1::Template value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Ontology) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 68, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Ontology& from_msg); + ::google::protobuf::internal::ArenaStringPtr platform_type_; + ::google::protobuf::internal::ArenaStringPtr specific_type_; + int template__; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class MilView final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.MilView) */ { + public: + inline MilView() : MilView(nullptr) {} + ~MilView() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MilView* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MilView)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MilView( + ::google::protobuf::internal::ConstantInitialized); + + inline MilView(const MilView& from) : MilView(nullptr, from) {} + inline MilView(MilView&& from) noexcept + : MilView(nullptr, std::move(from)) {} + inline MilView& operator=(const MilView& from) { + CopyFrom(from); + return *this; + } + inline MilView& operator=(MilView&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const MilView& default_instance() { + return *internal_default_instance(); + } + static inline const MilView* internal_default_instance() { + return reinterpret_cast( + &_MilView_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(MilView& a, MilView& b) { a.Swap(&b); } + inline void Swap(MilView* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MilView* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MilView* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const MilView& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const MilView& from) { MilView::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MilView* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.MilView"; } + + protected: + explicit MilView(::google::protobuf::Arena* arena); + MilView(::google::protobuf::Arena* arena, const MilView& from); + MilView(::google::protobuf::Arena* arena, MilView&& from) noexcept + : MilView(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDispositionFieldNumber = 1, + kEnvironmentFieldNumber = 2, + kNationalityFieldNumber = 3, + }; + // .anduril.ontology.v1.Disposition disposition = 1 [json_name = "disposition", (.anduril.entitymanager.v1.overridable) = true]; + void clear_disposition() ; + ::anduril::ontology::v1::Disposition disposition() const; + void set_disposition(::anduril::ontology::v1::Disposition value); + + private: + ::anduril::ontology::v1::Disposition _internal_disposition() const; + void _internal_set_disposition(::anduril::ontology::v1::Disposition value); + + public: + // .anduril.ontology.v1.Environment environment = 2 [json_name = "environment", (.anduril.entitymanager.v1.overridable) = true]; + void clear_environment() ; + ::anduril::ontology::v1::Environment environment() const; + void set_environment(::anduril::ontology::v1::Environment value); + + private: + ::anduril::ontology::v1::Environment _internal_environment() const; + void _internal_set_environment(::anduril::ontology::v1::Environment value); + + public: + // .anduril.ontology.v1.Nationality nationality = 3 [json_name = "nationality", (.anduril.entitymanager.v1.overridable) = true]; + void clear_nationality() ; + ::anduril::ontology::v1::Nationality nationality() const; + void set_nationality(::anduril::ontology::v1::Nationality value); + + private: + ::anduril::ontology::v1::Nationality _internal_nationality() const; + void _internal_set_nationality(::anduril::ontology::v1::Nationality value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.MilView) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const MilView& from_msg); + int disposition_; + int environment_; + int nationality_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// MilView + +// .anduril.ontology.v1.Disposition disposition = 1 [json_name = "disposition", (.anduril.entitymanager.v1.overridable) = true]; +inline void MilView::clear_disposition() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.disposition_ = 0; +} +inline ::anduril::ontology::v1::Disposition MilView::disposition() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.MilView.disposition) + return _internal_disposition(); +} +inline void MilView::set_disposition(::anduril::ontology::v1::Disposition value) { + _internal_set_disposition(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.MilView.disposition) +} +inline ::anduril::ontology::v1::Disposition MilView::_internal_disposition() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::ontology::v1::Disposition>(_impl_.disposition_); +} +inline void MilView::_internal_set_disposition(::anduril::ontology::v1::Disposition value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.disposition_ = value; +} + +// .anduril.ontology.v1.Environment environment = 2 [json_name = "environment", (.anduril.entitymanager.v1.overridable) = true]; +inline void MilView::clear_environment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.environment_ = 0; +} +inline ::anduril::ontology::v1::Environment MilView::environment() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.MilView.environment) + return _internal_environment(); +} +inline void MilView::set_environment(::anduril::ontology::v1::Environment value) { + _internal_set_environment(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.MilView.environment) +} +inline ::anduril::ontology::v1::Environment MilView::_internal_environment() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::ontology::v1::Environment>(_impl_.environment_); +} +inline void MilView::_internal_set_environment(::anduril::ontology::v1::Environment value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.environment_ = value; +} + +// .anduril.ontology.v1.Nationality nationality = 3 [json_name = "nationality", (.anduril.entitymanager.v1.overridable) = true]; +inline void MilView::clear_nationality() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.nationality_ = 0; +} +inline ::anduril::ontology::v1::Nationality MilView::nationality() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.MilView.nationality) + return _internal_nationality(); +} +inline void MilView::set_nationality(::anduril::ontology::v1::Nationality value) { + _internal_set_nationality(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.MilView.nationality) +} +inline ::anduril::ontology::v1::Nationality MilView::_internal_nationality() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::ontology::v1::Nationality>(_impl_.nationality_); +} +inline void MilView::_internal_set_nationality(::anduril::ontology::v1::Nationality value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.nationality_ = value; +} + +// ------------------------------------------------------------------- + +// Ontology + +// string platform_type = 3 [json_name = "platformType", (.anduril.entitymanager.v1.overridable) = true]; +inline void Ontology::clear_platform_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_type_.ClearToEmpty(); +} +inline const std::string& Ontology::platform_type() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Ontology.platform_type) + return _internal_platform_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Ontology::set_platform_type(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_type_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Ontology.platform_type) +} +inline std::string* Ontology::mutable_platform_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_platform_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Ontology.platform_type) + return _s; +} +inline const std::string& Ontology::_internal_platform_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.platform_type_.Get(); +} +inline void Ontology::_internal_set_platform_type(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_type_.Set(value, GetArena()); +} +inline std::string* Ontology::_internal_mutable_platform_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.platform_type_.Mutable( GetArena()); +} +inline std::string* Ontology::release_platform_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Ontology.platform_type) + return _impl_.platform_type_.Release(); +} +inline void Ontology::set_allocated_platform_type(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.platform_type_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.platform_type_.IsDefault()) { + _impl_.platform_type_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Ontology.platform_type) +} + +// string specific_type = 4 [json_name = "specificType", (.anduril.entitymanager.v1.overridable) = true]; +inline void Ontology::clear_specific_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.specific_type_.ClearToEmpty(); +} +inline const std::string& Ontology::specific_type() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Ontology.specific_type) + return _internal_specific_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Ontology::set_specific_type(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.specific_type_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Ontology.specific_type) +} +inline std::string* Ontology::mutable_specific_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_specific_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Ontology.specific_type) + return _s; +} +inline const std::string& Ontology::_internal_specific_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.specific_type_.Get(); +} +inline void Ontology::_internal_set_specific_type(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.specific_type_.Set(value, GetArena()); +} +inline std::string* Ontology::_internal_mutable_specific_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.specific_type_.Mutable( GetArena()); +} +inline std::string* Ontology::release_specific_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Ontology.specific_type) + return _impl_.specific_type_.Release(); +} +inline void Ontology::set_allocated_specific_type(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.specific_type_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.specific_type_.IsDefault()) { + _impl_.specific_type_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Ontology.specific_type) +} + +// .anduril.entitymanager.v1.Template template = 2 [json_name = "template"]; +inline void Ontology::clear_template_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.template__ = 0; +} +inline ::anduril::entitymanager::v1::Template Ontology::template_() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Ontology.template) + return _internal_template_(); +} +inline void Ontology::set_template_(::anduril::entitymanager::v1::Template value) { + _internal_set_template_(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Ontology.template) +} +inline ::anduril::entitymanager::v1::Template Ontology::_internal_template_() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::Template>(_impl_.template__); +} +inline void Ontology::_internal_set_template_(::anduril::entitymanager::v1::Template value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.template__ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fontology_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/options.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/options.pub.grpc.pb.cc new file mode 100644 index 0000000..66b7757 --- /dev/null +++ b/src/anduril/entitymanager/v1/options.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/options.pub.proto + +#include "anduril/entitymanager/v1/options.pub.pb.h" +#include "anduril/entitymanager/v1/options.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/options.pub.grpc.pb.h b/src/anduril/entitymanager/v1/options.pub.grpc.pb.h new file mode 100644 index 0000000..5f363c4 --- /dev/null +++ b/src/anduril/entitymanager/v1/options.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/options.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/options.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/options.pub.pb.cc b/src/anduril/entitymanager/v1/options.pub.pb.cc new file mode 100644 index 0000000..73e85dc --- /dev/null +++ b/src/anduril/entitymanager/v1/options.pub.pb.cc @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/options.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/options.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto = nullptr; +const ::uint32_t TableStruct_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto::offsets[1] = {}; +static constexpr ::_pbi::MigrationSchema* schemas = nullptr; +static constexpr ::_pb::Message* const* file_default_instances = nullptr; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n*anduril/entitymanager/v1/options.pub.p" + "roto\022\030anduril.entitymanager.v1\032 google/p" + "rotobuf/descriptor.proto:@\n\013overridable\022" + "\035.google.protobuf.FieldOptions\030\351\007 \001(\010R\013o" + "verridableB\200\002\n\034com.anduril.entitymanager" + ".v1B\017OptionsPubProtoP\001ZMghe.anduril.dev/" + "anduril/andurilapis-go/anduril/entityman" + "ager/v1;entitymanager\242\002\003AEX\252\002\030Anduril.En" + "titymanager.V1\312\002\030Anduril\\Entitymanager\\V" + "1\342\002$Anduril\\Entitymanager\\V1\\GPBMetadata" + "\352\002\032Anduril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_deps[1] = + { + &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto = { + false, + false, + 437, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, + "anduril/entitymanager/v1/options.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_deps, + 1, + 0, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::_pbi:: + ExtensionIdentifier<::google::protobuf::FieldOptions, ::_pbi::PrimitiveTypeTraits< bool >, + 8, false> + overridable(kOverridableFieldNumber, false); +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto), + ::_pbi::ExtensionSet::RegisterExtension( + &::google::protobuf::FieldOptions::default_instance(), 1001, 8, + false, false), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/options.pub.pb.h b/src/anduril/entitymanager/v1/options.pub.pb.h new file mode 100644 index 0000000..a258264 --- /dev/null +++ b/src/anduril/entitymanager/v1/options.pub.pb.h @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/options.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/descriptor.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto; +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + + +// =================================================================== + + + +static const int kOverridableFieldNumber = 1001; +extern ::google::protobuf::internal::ExtensionIdentifier< + ::google::protobuf::FieldOptions, ::google::protobuf::internal::PrimitiveTypeTraits< bool >, 8, + false> + overridable; + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/orbit.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/orbit.pub.grpc.pb.cc new file mode 100644 index 0000000..e10952f --- /dev/null +++ b/src/anduril/entitymanager/v1/orbit.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/orbit.pub.proto + +#include "anduril/entitymanager/v1/orbit.pub.pb.h" +#include "anduril/entitymanager/v1/orbit.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/orbit.pub.grpc.pb.h b/src/anduril/entitymanager/v1/orbit.pub.grpc.pb.h new file mode 100644 index 0000000..bcedc81 --- /dev/null +++ b/src/anduril/entitymanager/v1/orbit.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/orbit.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/orbit.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/orbit.pub.pb.cc b/src/anduril/entitymanager/v1/orbit.pub.pb.cc new file mode 100644 index 0000000..cf6c8f5 --- /dev/null +++ b/src/anduril/entitymanager/v1/orbit.pub.pb.cc @@ -0,0 +1,391 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/orbit.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/orbit.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Orbit::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + orbit_mean_elements_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Orbit::Orbit(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OrbitDefaultTypeInternal { + PROTOBUF_CONSTEXPR OrbitDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OrbitDefaultTypeInternal() {} + union { + Orbit _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OrbitDefaultTypeInternal _Orbit_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Orbit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Orbit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Orbit, _impl_.orbit_mean_elements_), + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 9, -1, sizeof(::anduril::entitymanager::v1::Orbit)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Orbit_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n(anduril/entitymanager/v1/orbit.pub.pro" + "to\022\030anduril.entitymanager.v1\032\034anduril/ty" + "pe/orbit.pub.proto\"X\n\005Orbit\022O\n\023orbit_mea" + "n_elements\030\001 \001(\0132\037.anduril.type.OrbitMea" + "nElementsR\021orbitMeanElementsB\376\001\n\034com.and" + "uril.entitymanager.v1B\rOrbitPubProtoP\001ZM" + "ghe.anduril.dev/anduril/andurilapis-go/a" + "nduril/entitymanager/v1;entitymanager\242\002\003" + "AEX\252\002\030Anduril.Entitymanager.V1\312\002\030Anduril" + "\\Entitymanager\\V1\342\002$Anduril\\Entitymanage" + "r\\V1\\GPBMetadata\352\002\032Anduril::Entitymanage" + "r::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_deps[1] = + { + &::descriptor_table_anduril_2ftype_2forbit_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto = { + false, + false, + 453, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto, + "anduril/entitymanager/v1/orbit.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_deps, + 1, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class Orbit::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Orbit, _impl_._has_bits_); +}; + +void Orbit::clear_orbit_mean_elements() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orbit_mean_elements_ != nullptr) _impl_.orbit_mean_elements_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Orbit::Orbit(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Orbit) +} +inline PROTOBUF_NDEBUG_INLINE Orbit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Orbit& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Orbit::Orbit( + ::google::protobuf::Arena* arena, + const Orbit& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Orbit* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.orbit_mean_elements_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::OrbitMeanElements>( + arena, *from._impl_.orbit_mean_elements_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Orbit) +} +inline PROTOBUF_NDEBUG_INLINE Orbit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Orbit::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.orbit_mean_elements_ = {}; +} +Orbit::~Orbit() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Orbit) + SharedDtor(*this); +} +inline void Orbit::SharedDtor(MessageLite& self) { + Orbit& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.orbit_mean_elements_; + this_._impl_.~Impl_(); +} + +inline void* Orbit::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Orbit(arena); +} +constexpr auto Orbit::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Orbit), + alignof(Orbit)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Orbit::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Orbit_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Orbit::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Orbit::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Orbit::ByteSizeLong, + &Orbit::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Orbit, _impl_._cached_size_), + false, + }, + &Orbit::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Orbit::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Orbit::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Orbit, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Orbit>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.type.OrbitMeanElements orbit_mean_elements = 1 [json_name = "orbitMeanElements"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Orbit, _impl_.orbit_mean_elements_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.type.OrbitMeanElements orbit_mean_elements = 1 [json_name = "orbitMeanElements"]; + {PROTOBUF_FIELD_OFFSET(Orbit, _impl_.orbit_mean_elements_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::type::OrbitMeanElements>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Orbit::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Orbit) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.orbit_mean_elements_ != nullptr); + _impl_.orbit_mean_elements_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Orbit::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Orbit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Orbit::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Orbit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Orbit) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.type.OrbitMeanElements orbit_mean_elements = 1 [json_name = "orbitMeanElements"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.orbit_mean_elements_, this_._impl_.orbit_mean_elements_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Orbit) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Orbit::ByteSizeLong(const MessageLite& base) { + const Orbit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Orbit::ByteSizeLong() const { + const Orbit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Orbit) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.type.OrbitMeanElements orbit_mean_elements = 1 [json_name = "orbitMeanElements"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.orbit_mean_elements_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Orbit::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Orbit) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.orbit_mean_elements_ != nullptr); + if (_this->_impl_.orbit_mean_elements_ == nullptr) { + _this->_impl_.orbit_mean_elements_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::OrbitMeanElements>(arena, *from._impl_.orbit_mean_elements_); + } else { + _this->_impl_.orbit_mean_elements_->MergeFrom(*from._impl_.orbit_mean_elements_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Orbit::CopyFrom(const Orbit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Orbit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Orbit::InternalSwap(Orbit* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.orbit_mean_elements_, other->_impl_.orbit_mean_elements_); +} + +::google::protobuf::Metadata Orbit::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/orbit.pub.pb.h b/src/anduril/entitymanager/v1/orbit.pub.pb.h new file mode 100644 index 0000000..ace41a5 --- /dev/null +++ b/src/anduril/entitymanager/v1/orbit.pub.pb.h @@ -0,0 +1,395 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/orbit.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/type/orbit.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Orbit; +struct OrbitDefaultTypeInternal; +extern OrbitDefaultTypeInternal _Orbit_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Orbit final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Orbit) */ { + public: + inline Orbit() : Orbit(nullptr) {} + ~Orbit() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Orbit* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Orbit)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Orbit( + ::google::protobuf::internal::ConstantInitialized); + + inline Orbit(const Orbit& from) : Orbit(nullptr, from) {} + inline Orbit(Orbit&& from) noexcept + : Orbit(nullptr, std::move(from)) {} + inline Orbit& operator=(const Orbit& from) { + CopyFrom(from); + return *this; + } + inline Orbit& operator=(Orbit&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Orbit& default_instance() { + return *internal_default_instance(); + } + static inline const Orbit* internal_default_instance() { + return reinterpret_cast( + &_Orbit_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Orbit& a, Orbit& b) { a.Swap(&b); } + inline void Swap(Orbit* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Orbit* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Orbit* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Orbit& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Orbit& from) { Orbit::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Orbit* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Orbit"; } + + protected: + explicit Orbit(::google::protobuf::Arena* arena); + Orbit(::google::protobuf::Arena* arena, const Orbit& from); + Orbit(::google::protobuf::Arena* arena, Orbit&& from) noexcept + : Orbit(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOrbitMeanElementsFieldNumber = 1, + }; + // .anduril.type.OrbitMeanElements orbit_mean_elements = 1 [json_name = "orbitMeanElements"]; + bool has_orbit_mean_elements() const; + void clear_orbit_mean_elements() ; + const ::anduril::type::OrbitMeanElements& orbit_mean_elements() const; + PROTOBUF_NODISCARD ::anduril::type::OrbitMeanElements* release_orbit_mean_elements(); + ::anduril::type::OrbitMeanElements* mutable_orbit_mean_elements(); + void set_allocated_orbit_mean_elements(::anduril::type::OrbitMeanElements* value); + void unsafe_arena_set_allocated_orbit_mean_elements(::anduril::type::OrbitMeanElements* value); + ::anduril::type::OrbitMeanElements* unsafe_arena_release_orbit_mean_elements(); + + private: + const ::anduril::type::OrbitMeanElements& _internal_orbit_mean_elements() const; + ::anduril::type::OrbitMeanElements* _internal_mutable_orbit_mean_elements(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Orbit) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Orbit& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::type::OrbitMeanElements* orbit_mean_elements_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Orbit + +// .anduril.type.OrbitMeanElements orbit_mean_elements = 1 [json_name = "orbitMeanElements"]; +inline bool Orbit::has_orbit_mean_elements() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orbit_mean_elements_ != nullptr); + return value; +} +inline const ::anduril::type::OrbitMeanElements& Orbit::_internal_orbit_mean_elements() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::OrbitMeanElements* p = _impl_.orbit_mean_elements_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_OrbitMeanElements_default_instance_); +} +inline const ::anduril::type::OrbitMeanElements& Orbit::orbit_mean_elements() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Orbit.orbit_mean_elements) + return _internal_orbit_mean_elements(); +} +inline void Orbit::unsafe_arena_set_allocated_orbit_mean_elements(::anduril::type::OrbitMeanElements* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orbit_mean_elements_); + } + _impl_.orbit_mean_elements_ = reinterpret_cast<::anduril::type::OrbitMeanElements*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Orbit.orbit_mean_elements) +} +inline ::anduril::type::OrbitMeanElements* Orbit::release_orbit_mean_elements() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::type::OrbitMeanElements* released = _impl_.orbit_mean_elements_; + _impl_.orbit_mean_elements_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::OrbitMeanElements* Orbit::unsafe_arena_release_orbit_mean_elements() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Orbit.orbit_mean_elements) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::type::OrbitMeanElements* temp = _impl_.orbit_mean_elements_; + _impl_.orbit_mean_elements_ = nullptr; + return temp; +} +inline ::anduril::type::OrbitMeanElements* Orbit::_internal_mutable_orbit_mean_elements() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.orbit_mean_elements_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::OrbitMeanElements>(GetArena()); + _impl_.orbit_mean_elements_ = reinterpret_cast<::anduril::type::OrbitMeanElements*>(p); + } + return _impl_.orbit_mean_elements_; +} +inline ::anduril::type::OrbitMeanElements* Orbit::mutable_orbit_mean_elements() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::type::OrbitMeanElements* _msg = _internal_mutable_orbit_mean_elements(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Orbit.orbit_mean_elements) + return _msg; +} +inline void Orbit::set_allocated_orbit_mean_elements(::anduril::type::OrbitMeanElements* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.orbit_mean_elements_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.orbit_mean_elements_ = reinterpret_cast<::anduril::type::OrbitMeanElements*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Orbit.orbit_mean_elements) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2forbit_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/payloads.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/payloads.pub.grpc.pb.cc new file mode 100644 index 0000000..cb18bee --- /dev/null +++ b/src/anduril/entitymanager/v1/payloads.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/payloads.pub.proto + +#include "anduril/entitymanager/v1/payloads.pub.pb.h" +#include "anduril/entitymanager/v1/payloads.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/payloads.pub.grpc.pb.h b/src/anduril/entitymanager/v1/payloads.pub.grpc.pb.h new file mode 100644 index 0000000..273aafe --- /dev/null +++ b/src/anduril/entitymanager/v1/payloads.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/payloads.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/payloads.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/payloads.pub.pb.cc b/src/anduril/entitymanager/v1/payloads.pub.pb.cc new file mode 100644 index 0000000..0e584ad --- /dev/null +++ b/src/anduril/entitymanager/v1/payloads.pub.pb.cc @@ -0,0 +1,1111 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/payloads.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/payloads.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr PayloadConfiguration::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : effective_environment_{}, + _effective_environment_cached_byte_size_{0}, + capability_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + payload_description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + quantity_{0u}, + payload_operational_state_{static_cast< ::anduril::entitymanager::v1::PayloadOperationalState >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR PayloadConfiguration::PayloadConfiguration(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PayloadConfigurationDefaultTypeInternal { + PROTOBUF_CONSTEXPR PayloadConfigurationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PayloadConfigurationDefaultTypeInternal() {} + union { + PayloadConfiguration _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PayloadConfigurationDefaultTypeInternal _PayloadConfiguration_default_instance_; + +inline constexpr Payload::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + config_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Payload::Payload(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PayloadDefaultTypeInternal { + PROTOBUF_CONSTEXPR PayloadDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PayloadDefaultTypeInternal() {} + union { + Payload _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PayloadDefaultTypeInternal _Payload_default_instance_; + +inline constexpr Payloads::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : payload_configurations_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Payloads::Payloads(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PayloadsDefaultTypeInternal { + PROTOBUF_CONSTEXPR PayloadsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PayloadsDefaultTypeInternal() {} + union { + Payloads _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PayloadsDefaultTypeInternal _Payloads_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Payloads, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Payloads, _impl_.payload_configurations_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Payload, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Payload, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Payload, _impl_.config_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PayloadConfiguration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PayloadConfiguration, _impl_.capability_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PayloadConfiguration, _impl_.quantity_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PayloadConfiguration, _impl_.effective_environment_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PayloadConfiguration, _impl_.payload_operational_state_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PayloadConfiguration, _impl_.payload_description_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Payloads)}, + {9, 18, -1, sizeof(::anduril::entitymanager::v1::Payload)}, + {19, -1, -1, sizeof(::anduril::entitymanager::v1::PayloadConfiguration)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Payloads_default_instance_._instance, + &::anduril::entitymanager::v1::_Payload_default_instance_._instance, + &::anduril::entitymanager::v1::_PayloadConfiguration_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n+anduril/entitymanager/v1/payloads.pub." + "proto\022\030anduril.entitymanager.v1\032*anduril" + "/entitymanager/v1/options.pub.proto\032\"and" + "uril/ontology/v1/type.pub.proto\"i\n\010Paylo" + "ads\022]\n\026payload_configurations\030\001 \003(\0132!.an" + "duril.entitymanager.v1.PayloadB\003\310>\001R\025pay" + "loadConfigurations\"Q\n\007Payload\022F\n\006config\030" + "\001 \001(\0132..anduril.entitymanager.v1.Payload" + "ConfigurationR\006config\"\316\002\n\024PayloadConfigu" + "ration\022#\n\rcapability_id\030\001 \001(\tR\014capabilit" + "yId\022\032\n\010quantity\030\004 \001(\rR\010quantity\022U\n\025effec" + "tive_environment\030\005 \003(\0162 .anduril.ontolog" + "y.v1.EnvironmentR\024effectiveEnvironment\022m" + "\n\031payload_operational_state\030\006 \001(\01621.andu" + "ril.entitymanager.v1.PayloadOperationalS" + "tateR\027payloadOperationalState\022/\n\023payload" + "_description\030\007 \001(\tR\022payloadDescription*\272" + "\002\n\027PayloadOperationalState\022%\n!PAYLOAD_OP" + "ERATIONAL_STATE_INVALID\020\000\022!\n\035PAYLOAD_OPE" + "RATIONAL_STATE_OFF\020\001\022-\n)PAYLOAD_OPERATIO" + "NAL_STATE_NON_OPERATIONAL\020\002\022&\n\"PAYLOAD_O" + "PERATIONAL_STATE_DEGRADED\020\003\022)\n%PAYLOAD_O" + "PERATIONAL_STATE_OPERATIONAL\020\004\022,\n(PAYLOA" + "D_OPERATIONAL_STATE_OUT_OF_SERVICE\020\005\022%\n!" + "PAYLOAD_OPERATIONAL_STATE_UNKNOWN\020\006B\201\002\n\034" + "com.anduril.entitymanager.v1B\020PayloadsPu" + "bProtoP\001ZMghe.anduril.dev/anduril/anduri" + "lapis-go/anduril/entitymanager/v1;entity" + "manager\242\002\003AEX\252\002\030Anduril.Entitymanager.V1" + "\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduril\\En" + "titymanager\\V1\\GPBMetadata\352\002\032Anduril::En" + "titymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_deps[2] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, + &::descriptor_table_anduril_2fontology_2fv1_2ftype_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto = { + false, + false, + 1263, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, + "anduril/entitymanager/v1/payloads.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_deps, + 2, + 3, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* PayloadOperationalState_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t PayloadOperationalState_internal_data_[] = { + 458752u, 0u, }; +bool PayloadOperationalState_IsValid(int value) { + return 0 <= value && value <= 6; +} +// =================================================================== + +class Payloads::_Internal { + public: +}; + +Payloads::Payloads(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Payloads) +} +inline PROTOBUF_NDEBUG_INLINE Payloads::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Payloads& from_msg) + : payload_configurations_{visibility, arena, from.payload_configurations_}, + _cached_size_{0} {} + +Payloads::Payloads( + ::google::protobuf::Arena* arena, + const Payloads& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Payloads* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Payloads) +} +inline PROTOBUF_NDEBUG_INLINE Payloads::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : payload_configurations_{visibility, arena}, + _cached_size_{0} {} + +inline void Payloads::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Payloads::~Payloads() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Payloads) + SharedDtor(*this); +} +inline void Payloads::SharedDtor(MessageLite& self) { + Payloads& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Payloads::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Payloads(arena); +} +constexpr auto Payloads::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Payloads, _impl_.payload_configurations_) + + decltype(Payloads::_impl_.payload_configurations_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Payloads), alignof(Payloads), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Payloads::PlacementNew_, + sizeof(Payloads), + alignof(Payloads)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Payloads::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Payloads_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Payloads::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Payloads::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Payloads::ByteSizeLong, + &Payloads::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Payloads, _impl_._cached_size_), + false, + }, + &Payloads::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Payloads::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Payloads::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Payloads>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Payload payload_configurations = 1 [json_name = "payloadConfigurations", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Payloads, _impl_.payload_configurations_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Payload payload_configurations = 1 [json_name = "payloadConfigurations", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Payloads, _impl_.payload_configurations_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Payload>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Payloads::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Payloads) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.payload_configurations_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Payloads::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Payloads& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Payloads::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Payloads& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Payloads) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Payload payload_configurations = 1 [json_name = "payloadConfigurations", (.anduril.entitymanager.v1.overridable) = true]; + for (unsigned i = 0, n = static_cast( + this_._internal_payload_configurations_size()); + i < n; i++) { + const auto& repfield = this_._internal_payload_configurations().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Payloads) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Payloads::ByteSizeLong(const MessageLite& base) { + const Payloads& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Payloads::ByteSizeLong() const { + const Payloads& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Payloads) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Payload payload_configurations = 1 [json_name = "payloadConfigurations", (.anduril.entitymanager.v1.overridable) = true]; + { + total_size += 1UL * this_._internal_payload_configurations_size(); + for (const auto& msg : this_._internal_payload_configurations()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Payloads::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Payloads) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_payload_configurations()->MergeFrom( + from._internal_payload_configurations()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Payloads::CopyFrom(const Payloads& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Payloads) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Payloads::InternalSwap(Payloads* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.payload_configurations_.InternalSwap(&other->_impl_.payload_configurations_); +} + +::google::protobuf::Metadata Payloads::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Payload::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Payload, _impl_._has_bits_); +}; + +Payload::Payload(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Payload) +} +inline PROTOBUF_NDEBUG_INLINE Payload::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Payload& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Payload::Payload( + ::google::protobuf::Arena* arena, + const Payload& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Payload* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.config_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PayloadConfiguration>( + arena, *from._impl_.config_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Payload) +} +inline PROTOBUF_NDEBUG_INLINE Payload::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Payload::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.config_ = {}; +} +Payload::~Payload() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Payload) + SharedDtor(*this); +} +inline void Payload::SharedDtor(MessageLite& self) { + Payload& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.config_; + this_._impl_.~Impl_(); +} + +inline void* Payload::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Payload(arena); +} +constexpr auto Payload::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Payload), + alignof(Payload)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Payload::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Payload_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Payload::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Payload::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Payload::ByteSizeLong, + &Payload::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Payload, _impl_._cached_size_), + false, + }, + &Payload::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Payload::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Payload::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Payload, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Payload>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.PayloadConfiguration config = 1 [json_name = "config"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Payload, _impl_.config_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.PayloadConfiguration config = 1 [json_name = "config"]; + {PROTOBUF_FIELD_OFFSET(Payload, _impl_.config_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PayloadConfiguration>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Payload::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Payload) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.config_ != nullptr); + _impl_.config_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Payload::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Payload& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Payload::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Payload& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Payload) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.PayloadConfiguration config = 1 [json_name = "config"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.config_, this_._impl_.config_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Payload) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Payload::ByteSizeLong(const MessageLite& base) { + const Payload& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Payload::ByteSizeLong() const { + const Payload& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Payload) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.PayloadConfiguration config = 1 [json_name = "config"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.config_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Payload::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Payload) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.config_ != nullptr); + if (_this->_impl_.config_ == nullptr) { + _this->_impl_.config_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PayloadConfiguration>(arena, *from._impl_.config_); + } else { + _this->_impl_.config_->MergeFrom(*from._impl_.config_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Payload::CopyFrom(const Payload& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Payload) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Payload::InternalSwap(Payload* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.config_, other->_impl_.config_); +} + +::google::protobuf::Metadata Payload::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PayloadConfiguration::_Internal { + public: +}; + +PayloadConfiguration::PayloadConfiguration(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PayloadConfiguration) +} +inline PROTOBUF_NDEBUG_INLINE PayloadConfiguration::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PayloadConfiguration& from_msg) + : effective_environment_{visibility, arena, from.effective_environment_}, + _effective_environment_cached_byte_size_{0}, + capability_id_(arena, from.capability_id_), + payload_description_(arena, from.payload_description_), + _cached_size_{0} {} + +PayloadConfiguration::PayloadConfiguration( + ::google::protobuf::Arena* arena, + const PayloadConfiguration& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PayloadConfiguration* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, quantity_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, quantity_), + offsetof(Impl_, payload_operational_state_) - + offsetof(Impl_, quantity_) + + sizeof(Impl_::payload_operational_state_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PayloadConfiguration) +} +inline PROTOBUF_NDEBUG_INLINE PayloadConfiguration::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : effective_environment_{visibility, arena}, + _effective_environment_cached_byte_size_{0}, + capability_id_(arena), + payload_description_(arena), + _cached_size_{0} {} + +inline void PayloadConfiguration::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, quantity_), + 0, + offsetof(Impl_, payload_operational_state_) - + offsetof(Impl_, quantity_) + + sizeof(Impl_::payload_operational_state_)); +} +PayloadConfiguration::~PayloadConfiguration() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PayloadConfiguration) + SharedDtor(*this); +} +inline void PayloadConfiguration::SharedDtor(MessageLite& self) { + PayloadConfiguration& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.capability_id_.Destroy(); + this_._impl_.payload_description_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PayloadConfiguration::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PayloadConfiguration(arena); +} +constexpr auto PayloadConfiguration::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.effective_environment_) + + decltype(PayloadConfiguration::_impl_.effective_environment_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(PayloadConfiguration), alignof(PayloadConfiguration), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&PayloadConfiguration::PlacementNew_, + sizeof(PayloadConfiguration), + alignof(PayloadConfiguration)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PayloadConfiguration::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PayloadConfiguration_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PayloadConfiguration::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PayloadConfiguration::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PayloadConfiguration::ByteSizeLong, + &PayloadConfiguration::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_._cached_size_), + false, + }, + &PayloadConfiguration::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PayloadConfiguration::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 86, 2> PayloadConfiguration::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967174, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PayloadConfiguration>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string capability_id = 1 [json_name = "capabilityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.capability_id_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + // uint32 quantity = 4 [json_name = "quantity"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PayloadConfiguration, _impl_.quantity_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.quantity_)}}, + // repeated .anduril.ontology.v1.Environment effective_environment = 5 [json_name = "effectiveEnvironment"]; + {::_pbi::TcParser::FastV32P1, + {42, 63, 0, PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.effective_environment_)}}, + // .anduril.entitymanager.v1.PayloadOperationalState payload_operational_state = 6 [json_name = "payloadOperationalState"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PayloadConfiguration, _impl_.payload_operational_state_), 63>(), + {48, 63, 0, PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.payload_operational_state_)}}, + // string payload_description = 7 [json_name = "payloadDescription"]; + {::_pbi::TcParser::FastUS1, + {58, 63, 0, PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.payload_description_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string capability_id = 1 [json_name = "capabilityId"]; + {PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.capability_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // uint32 quantity = 4 [json_name = "quantity"]; + {PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.quantity_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .anduril.ontology.v1.Environment effective_environment = 5 [json_name = "effectiveEnvironment"]; + {PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.effective_environment_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, + // .anduril.entitymanager.v1.PayloadOperationalState payload_operational_state = 6 [json_name = "payloadOperationalState"]; + {PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.payload_operational_state_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string payload_description = 7 [json_name = "payloadDescription"]; + {PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.payload_description_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\55\15\0\0\0\23\0\0" + "anduril.entitymanager.v1.PayloadConfiguration" + "capability_id" + "payload_description" + }}, +}; + +PROTOBUF_NOINLINE void PayloadConfiguration::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PayloadConfiguration) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.effective_environment_.Clear(); + _impl_.capability_id_.ClearToEmpty(); + _impl_.payload_description_.ClearToEmpty(); + ::memset(&_impl_.quantity_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.payload_operational_state_) - + reinterpret_cast(&_impl_.quantity_)) + sizeof(_impl_.payload_operational_state_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PayloadConfiguration::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PayloadConfiguration& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PayloadConfiguration::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PayloadConfiguration& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PayloadConfiguration) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string capability_id = 1 [json_name = "capabilityId"]; + if (!this_._internal_capability_id().empty()) { + const std::string& _s = this_._internal_capability_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.PayloadConfiguration.capability_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 quantity = 4 [json_name = "quantity"]; + if (this_._internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_quantity(), target); + } + + // repeated .anduril.ontology.v1.Environment effective_environment = 5 [json_name = "effectiveEnvironment"]; + { + std::size_t byte_size = + this_._impl_._effective_environment_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteEnumPacked( + 5, this_._internal_effective_environment(), byte_size, target); + } + } + + // .anduril.entitymanager.v1.PayloadOperationalState payload_operational_state = 6 [json_name = "payloadOperationalState"]; + if (this_._internal_payload_operational_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 6, this_._internal_payload_operational_state(), target); + } + + // string payload_description = 7 [json_name = "payloadDescription"]; + if (!this_._internal_payload_description().empty()) { + const std::string& _s = this_._internal_payload_description(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.PayloadConfiguration.payload_description"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PayloadConfiguration) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PayloadConfiguration::ByteSizeLong(const MessageLite& base) { + const PayloadConfiguration& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PayloadConfiguration::ByteSizeLong() const { + const PayloadConfiguration& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PayloadConfiguration) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.ontology.v1.Environment effective_environment = 5 [json_name = "effectiveEnvironment"]; + { + total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( + this_._internal_effective_environment(), 1, this_._impl_._effective_environment_cached_byte_size_); + } + } + { + // string capability_id = 1 [json_name = "capabilityId"]; + if (!this_._internal_capability_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_capability_id()); + } + // string payload_description = 7 [json_name = "payloadDescription"]; + if (!this_._internal_payload_description().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_payload_description()); + } + // uint32 quantity = 4 [json_name = "quantity"]; + if (this_._internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_quantity()); + } + // .anduril.entitymanager.v1.PayloadOperationalState payload_operational_state = 6 [json_name = "payloadOperationalState"]; + if (this_._internal_payload_operational_state() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_payload_operational_state()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PayloadConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PayloadConfiguration) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_effective_environment()->MergeFrom(from._internal_effective_environment()); + if (!from._internal_capability_id().empty()) { + _this->_internal_set_capability_id(from._internal_capability_id()); + } + if (!from._internal_payload_description().empty()) { + _this->_internal_set_payload_description(from._internal_payload_description()); + } + if (from._internal_quantity() != 0) { + _this->_impl_.quantity_ = from._impl_.quantity_; + } + if (from._internal_payload_operational_state() != 0) { + _this->_impl_.payload_operational_state_ = from._impl_.payload_operational_state_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PayloadConfiguration::CopyFrom(const PayloadConfiguration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PayloadConfiguration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PayloadConfiguration::InternalSwap(PayloadConfiguration* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.effective_environment_.InternalSwap(&other->_impl_.effective_environment_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.capability_id_, &other->_impl_.capability_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_description_, &other->_impl_.payload_description_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.payload_operational_state_) + + sizeof(PayloadConfiguration::_impl_.payload_operational_state_) + - PROTOBUF_FIELD_OFFSET(PayloadConfiguration, _impl_.quantity_)>( + reinterpret_cast(&_impl_.quantity_), + reinterpret_cast(&other->_impl_.quantity_)); +} + +::google::protobuf::Metadata PayloadConfiguration::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/payloads.pub.pb.h b/src/anduril/entitymanager/v1/payloads.pub.pb.h new file mode 100644 index 0000000..defd17f --- /dev/null +++ b/src/anduril/entitymanager/v1/payloads.pub.pb.h @@ -0,0 +1,1160 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/payloads.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +#include "anduril/ontology/v1/type.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Payload; +struct PayloadDefaultTypeInternal; +extern PayloadDefaultTypeInternal _Payload_default_instance_; +class PayloadConfiguration; +struct PayloadConfigurationDefaultTypeInternal; +extern PayloadConfigurationDefaultTypeInternal _PayloadConfiguration_default_instance_; +class Payloads; +struct PayloadsDefaultTypeInternal; +extern PayloadsDefaultTypeInternal _Payloads_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum PayloadOperationalState : int { + PAYLOAD_OPERATIONAL_STATE_INVALID = 0, + PAYLOAD_OPERATIONAL_STATE_OFF = 1, + PAYLOAD_OPERATIONAL_STATE_NON_OPERATIONAL = 2, + PAYLOAD_OPERATIONAL_STATE_DEGRADED = 3, + PAYLOAD_OPERATIONAL_STATE_OPERATIONAL = 4, + PAYLOAD_OPERATIONAL_STATE_OUT_OF_SERVICE = 5, + PAYLOAD_OPERATIONAL_STATE_UNKNOWN = 6, + PayloadOperationalState_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + PayloadOperationalState_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool PayloadOperationalState_IsValid(int value); +extern const uint32_t PayloadOperationalState_internal_data_[]; +constexpr PayloadOperationalState PayloadOperationalState_MIN = static_cast(0); +constexpr PayloadOperationalState PayloadOperationalState_MAX = static_cast(6); +constexpr int PayloadOperationalState_ARRAYSIZE = 6 + 1; +const ::google::protobuf::EnumDescriptor* +PayloadOperationalState_descriptor(); +template +const std::string& PayloadOperationalState_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to PayloadOperationalState_Name()."); + return PayloadOperationalState_Name(static_cast(value)); +} +template <> +inline const std::string& PayloadOperationalState_Name(PayloadOperationalState value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool PayloadOperationalState_Parse(absl::string_view name, PayloadOperationalState* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PayloadOperationalState_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class PayloadConfiguration final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PayloadConfiguration) */ { + public: + inline PayloadConfiguration() : PayloadConfiguration(nullptr) {} + ~PayloadConfiguration() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PayloadConfiguration* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PayloadConfiguration)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PayloadConfiguration( + ::google::protobuf::internal::ConstantInitialized); + + inline PayloadConfiguration(const PayloadConfiguration& from) : PayloadConfiguration(nullptr, from) {} + inline PayloadConfiguration(PayloadConfiguration&& from) noexcept + : PayloadConfiguration(nullptr, std::move(from)) {} + inline PayloadConfiguration& operator=(const PayloadConfiguration& from) { + CopyFrom(from); + return *this; + } + inline PayloadConfiguration& operator=(PayloadConfiguration&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PayloadConfiguration& default_instance() { + return *internal_default_instance(); + } + static inline const PayloadConfiguration* internal_default_instance() { + return reinterpret_cast( + &_PayloadConfiguration_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(PayloadConfiguration& a, PayloadConfiguration& b) { a.Swap(&b); } + inline void Swap(PayloadConfiguration* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PayloadConfiguration* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PayloadConfiguration* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PayloadConfiguration& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PayloadConfiguration& from) { PayloadConfiguration::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PayloadConfiguration* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PayloadConfiguration"; } + + protected: + explicit PayloadConfiguration(::google::protobuf::Arena* arena); + PayloadConfiguration(::google::protobuf::Arena* arena, const PayloadConfiguration& from); + PayloadConfiguration(::google::protobuf::Arena* arena, PayloadConfiguration&& from) noexcept + : PayloadConfiguration(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEffectiveEnvironmentFieldNumber = 5, + kCapabilityIdFieldNumber = 1, + kPayloadDescriptionFieldNumber = 7, + kQuantityFieldNumber = 4, + kPayloadOperationalStateFieldNumber = 6, + }; + // repeated .anduril.ontology.v1.Environment effective_environment = 5 [json_name = "effectiveEnvironment"]; + int effective_environment_size() const; + private: + int _internal_effective_environment_size() const; + + public: + void clear_effective_environment() ; + public: + ::anduril::ontology::v1::Environment effective_environment(int index) const; + void set_effective_environment(int index, ::anduril::ontology::v1::Environment value); + void add_effective_environment(::anduril::ontology::v1::Environment value); + const ::google::protobuf::RepeatedField& effective_environment() const; + ::google::protobuf::RepeatedField* mutable_effective_environment(); + + private: + const ::google::protobuf::RepeatedField& _internal_effective_environment() const; + ::google::protobuf::RepeatedField* _internal_mutable_effective_environment(); + + public: + // string capability_id = 1 [json_name = "capabilityId"]; + void clear_capability_id() ; + const std::string& capability_id() const; + template + void set_capability_id(Arg_&& arg, Args_... args); + std::string* mutable_capability_id(); + PROTOBUF_NODISCARD std::string* release_capability_id(); + void set_allocated_capability_id(std::string* value); + + private: + const std::string& _internal_capability_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_capability_id( + const std::string& value); + std::string* _internal_mutable_capability_id(); + + public: + // string payload_description = 7 [json_name = "payloadDescription"]; + void clear_payload_description() ; + const std::string& payload_description() const; + template + void set_payload_description(Arg_&& arg, Args_... args); + std::string* mutable_payload_description(); + PROTOBUF_NODISCARD std::string* release_payload_description(); + void set_allocated_payload_description(std::string* value); + + private: + const std::string& _internal_payload_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload_description( + const std::string& value); + std::string* _internal_mutable_payload_description(); + + public: + // uint32 quantity = 4 [json_name = "quantity"]; + void clear_quantity() ; + ::uint32_t quantity() const; + void set_quantity(::uint32_t value); + + private: + ::uint32_t _internal_quantity() const; + void _internal_set_quantity(::uint32_t value); + + public: + // .anduril.entitymanager.v1.PayloadOperationalState payload_operational_state = 6 [json_name = "payloadOperationalState"]; + void clear_payload_operational_state() ; + ::anduril::entitymanager::v1::PayloadOperationalState payload_operational_state() const; + void set_payload_operational_state(::anduril::entitymanager::v1::PayloadOperationalState value); + + private: + ::anduril::entitymanager::v1::PayloadOperationalState _internal_payload_operational_state() const; + void _internal_set_payload_operational_state(::anduril::entitymanager::v1::PayloadOperationalState value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PayloadConfiguration) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 0, + 86, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PayloadConfiguration& from_msg); + ::google::protobuf::RepeatedField effective_environment_; + ::google::protobuf::internal::CachedSize _effective_environment_cached_byte_size_; + ::google::protobuf::internal::ArenaStringPtr capability_id_; + ::google::protobuf::internal::ArenaStringPtr payload_description_; + ::uint32_t quantity_; + int payload_operational_state_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Payload final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Payload) */ { + public: + inline Payload() : Payload(nullptr) {} + ~Payload() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Payload* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Payload)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Payload( + ::google::protobuf::internal::ConstantInitialized); + + inline Payload(const Payload& from) : Payload(nullptr, from) {} + inline Payload(Payload&& from) noexcept + : Payload(nullptr, std::move(from)) {} + inline Payload& operator=(const Payload& from) { + CopyFrom(from); + return *this; + } + inline Payload& operator=(Payload&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Payload& default_instance() { + return *internal_default_instance(); + } + static inline const Payload* internal_default_instance() { + return reinterpret_cast( + &_Payload_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Payload& a, Payload& b) { a.Swap(&b); } + inline void Swap(Payload* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Payload* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Payload* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Payload& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Payload& from) { Payload::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Payload* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Payload"; } + + protected: + explicit Payload(::google::protobuf::Arena* arena); + Payload(::google::protobuf::Arena* arena, const Payload& from); + Payload(::google::protobuf::Arena* arena, Payload&& from) noexcept + : Payload(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kConfigFieldNumber = 1, + }; + // .anduril.entitymanager.v1.PayloadConfiguration config = 1 [json_name = "config"]; + bool has_config() const; + void clear_config() ; + const ::anduril::entitymanager::v1::PayloadConfiguration& config() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PayloadConfiguration* release_config(); + ::anduril::entitymanager::v1::PayloadConfiguration* mutable_config(); + void set_allocated_config(::anduril::entitymanager::v1::PayloadConfiguration* value); + void unsafe_arena_set_allocated_config(::anduril::entitymanager::v1::PayloadConfiguration* value); + ::anduril::entitymanager::v1::PayloadConfiguration* unsafe_arena_release_config(); + + private: + const ::anduril::entitymanager::v1::PayloadConfiguration& _internal_config() const; + ::anduril::entitymanager::v1::PayloadConfiguration* _internal_mutable_config(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Payload) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Payload& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::PayloadConfiguration* config_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Payloads final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Payloads) */ { + public: + inline Payloads() : Payloads(nullptr) {} + ~Payloads() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Payloads* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Payloads)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Payloads( + ::google::protobuf::internal::ConstantInitialized); + + inline Payloads(const Payloads& from) : Payloads(nullptr, from) {} + inline Payloads(Payloads&& from) noexcept + : Payloads(nullptr, std::move(from)) {} + inline Payloads& operator=(const Payloads& from) { + CopyFrom(from); + return *this; + } + inline Payloads& operator=(Payloads&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Payloads& default_instance() { + return *internal_default_instance(); + } + static inline const Payloads* internal_default_instance() { + return reinterpret_cast( + &_Payloads_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Payloads& a, Payloads& b) { a.Swap(&b); } + inline void Swap(Payloads* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Payloads* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Payloads* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Payloads& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Payloads& from) { Payloads::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Payloads* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Payloads"; } + + protected: + explicit Payloads(::google::protobuf::Arena* arena); + Payloads(::google::protobuf::Arena* arena, const Payloads& from); + Payloads(::google::protobuf::Arena* arena, Payloads&& from) noexcept + : Payloads(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPayloadConfigurationsFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Payload payload_configurations = 1 [json_name = "payloadConfigurations", (.anduril.entitymanager.v1.overridable) = true]; + int payload_configurations_size() const; + private: + int _internal_payload_configurations_size() const; + + public: + void clear_payload_configurations() ; + ::anduril::entitymanager::v1::Payload* mutable_payload_configurations(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>* mutable_payload_configurations(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>& _internal_payload_configurations() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>* _internal_mutable_payload_configurations(); + public: + const ::anduril::entitymanager::v1::Payload& payload_configurations(int index) const; + ::anduril::entitymanager::v1::Payload* add_payload_configurations(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>& payload_configurations() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Payloads) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Payloads& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Payload > payload_configurations_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Payloads + +// repeated .anduril.entitymanager.v1.Payload payload_configurations = 1 [json_name = "payloadConfigurations", (.anduril.entitymanager.v1.overridable) = true]; +inline int Payloads::_internal_payload_configurations_size() const { + return _internal_payload_configurations().size(); +} +inline int Payloads::payload_configurations_size() const { + return _internal_payload_configurations_size(); +} +inline void Payloads::clear_payload_configurations() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_configurations_.Clear(); +} +inline ::anduril::entitymanager::v1::Payload* Payloads::mutable_payload_configurations(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Payloads.payload_configurations) + return _internal_mutable_payload_configurations()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>* Payloads::mutable_payload_configurations() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Payloads.payload_configurations) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_payload_configurations(); +} +inline const ::anduril::entitymanager::v1::Payload& Payloads::payload_configurations(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Payloads.payload_configurations) + return _internal_payload_configurations().Get(index); +} +inline ::anduril::entitymanager::v1::Payload* Payloads::add_payload_configurations() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Payload* _add = _internal_mutable_payload_configurations()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Payloads.payload_configurations) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>& Payloads::payload_configurations() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Payloads.payload_configurations) + return _internal_payload_configurations(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>& +Payloads::_internal_payload_configurations() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.payload_configurations_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Payload>* +Payloads::_internal_mutable_payload_configurations() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.payload_configurations_; +} + +// ------------------------------------------------------------------- + +// Payload + +// .anduril.entitymanager.v1.PayloadConfiguration config = 1 [json_name = "config"]; +inline bool Payload::has_config() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.config_ != nullptr); + return value; +} +inline void Payload::clear_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.config_ != nullptr) _impl_.config_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::PayloadConfiguration& Payload::_internal_config() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::PayloadConfiguration* p = _impl_.config_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_PayloadConfiguration_default_instance_); +} +inline const ::anduril::entitymanager::v1::PayloadConfiguration& Payload::config() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Payload.config) + return _internal_config(); +} +inline void Payload::unsafe_arena_set_allocated_config(::anduril::entitymanager::v1::PayloadConfiguration* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.config_); + } + _impl_.config_ = reinterpret_cast<::anduril::entitymanager::v1::PayloadConfiguration*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Payload.config) +} +inline ::anduril::entitymanager::v1::PayloadConfiguration* Payload::release_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::PayloadConfiguration* released = _impl_.config_; + _impl_.config_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::PayloadConfiguration* Payload::unsafe_arena_release_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Payload.config) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::PayloadConfiguration* temp = _impl_.config_; + _impl_.config_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::PayloadConfiguration* Payload::_internal_mutable_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.config_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PayloadConfiguration>(GetArena()); + _impl_.config_ = reinterpret_cast<::anduril::entitymanager::v1::PayloadConfiguration*>(p); + } + return _impl_.config_; +} +inline ::anduril::entitymanager::v1::PayloadConfiguration* Payload::mutable_config() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::PayloadConfiguration* _msg = _internal_mutable_config(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Payload.config) + return _msg; +} +inline void Payload::set_allocated_config(::anduril::entitymanager::v1::PayloadConfiguration* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.config_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.config_ = reinterpret_cast<::anduril::entitymanager::v1::PayloadConfiguration*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Payload.config) +} + +// ------------------------------------------------------------------- + +// PayloadConfiguration + +// string capability_id = 1 [json_name = "capabilityId"]; +inline void PayloadConfiguration::clear_capability_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.capability_id_.ClearToEmpty(); +} +inline const std::string& PayloadConfiguration::capability_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PayloadConfiguration.capability_id) + return _internal_capability_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void PayloadConfiguration::set_capability_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.capability_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PayloadConfiguration.capability_id) +} +inline std::string* PayloadConfiguration::mutable_capability_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_capability_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PayloadConfiguration.capability_id) + return _s; +} +inline const std::string& PayloadConfiguration::_internal_capability_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.capability_id_.Get(); +} +inline void PayloadConfiguration::_internal_set_capability_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.capability_id_.Set(value, GetArena()); +} +inline std::string* PayloadConfiguration::_internal_mutable_capability_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.capability_id_.Mutable( GetArena()); +} +inline std::string* PayloadConfiguration::release_capability_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PayloadConfiguration.capability_id) + return _impl_.capability_id_.Release(); +} +inline void PayloadConfiguration::set_allocated_capability_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.capability_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.capability_id_.IsDefault()) { + _impl_.capability_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PayloadConfiguration.capability_id) +} + +// uint32 quantity = 4 [json_name = "quantity"]; +inline void PayloadConfiguration::clear_quantity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.quantity_ = 0u; +} +inline ::uint32_t PayloadConfiguration::quantity() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PayloadConfiguration.quantity) + return _internal_quantity(); +} +inline void PayloadConfiguration::set_quantity(::uint32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PayloadConfiguration.quantity) +} +inline ::uint32_t PayloadConfiguration::_internal_quantity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.quantity_; +} +inline void PayloadConfiguration::_internal_set_quantity(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.quantity_ = value; +} + +// repeated .anduril.ontology.v1.Environment effective_environment = 5 [json_name = "effectiveEnvironment"]; +inline int PayloadConfiguration::_internal_effective_environment_size() const { + return _internal_effective_environment().size(); +} +inline int PayloadConfiguration::effective_environment_size() const { + return _internal_effective_environment_size(); +} +inline void PayloadConfiguration::clear_effective_environment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.effective_environment_.Clear(); +} +inline ::anduril::ontology::v1::Environment PayloadConfiguration::effective_environment(int index) const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PayloadConfiguration.effective_environment) + return static_cast<::anduril::ontology::v1::Environment>(_internal_effective_environment().Get(index)); +} +inline void PayloadConfiguration::set_effective_environment(int index, ::anduril::ontology::v1::Environment value) { + _internal_mutable_effective_environment()->Set(index, value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PayloadConfiguration.effective_environment) +} +inline void PayloadConfiguration::add_effective_environment(::anduril::ontology::v1::Environment value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_effective_environment()->Add(value); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.PayloadConfiguration.effective_environment) +} +inline const ::google::protobuf::RepeatedField& PayloadConfiguration::effective_environment() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.PayloadConfiguration.effective_environment) + return _internal_effective_environment(); +} +inline ::google::protobuf::RepeatedField* PayloadConfiguration::mutable_effective_environment() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.PayloadConfiguration.effective_environment) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_effective_environment(); +} +inline const ::google::protobuf::RepeatedField& PayloadConfiguration::_internal_effective_environment() + const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.effective_environment_; +} +inline ::google::protobuf::RepeatedField* PayloadConfiguration::_internal_mutable_effective_environment() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.effective_environment_; +} + +// .anduril.entitymanager.v1.PayloadOperationalState payload_operational_state = 6 [json_name = "payloadOperationalState"]; +inline void PayloadConfiguration::clear_payload_operational_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_operational_state_ = 0; +} +inline ::anduril::entitymanager::v1::PayloadOperationalState PayloadConfiguration::payload_operational_state() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PayloadConfiguration.payload_operational_state) + return _internal_payload_operational_state(); +} +inline void PayloadConfiguration::set_payload_operational_state(::anduril::entitymanager::v1::PayloadOperationalState value) { + _internal_set_payload_operational_state(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PayloadConfiguration.payload_operational_state) +} +inline ::anduril::entitymanager::v1::PayloadOperationalState PayloadConfiguration::_internal_payload_operational_state() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::PayloadOperationalState>(_impl_.payload_operational_state_); +} +inline void PayloadConfiguration::_internal_set_payload_operational_state(::anduril::entitymanager::v1::PayloadOperationalState value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_operational_state_ = value; +} + +// string payload_description = 7 [json_name = "payloadDescription"]; +inline void PayloadConfiguration::clear_payload_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_description_.ClearToEmpty(); +} +inline const std::string& PayloadConfiguration::payload_description() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PayloadConfiguration.payload_description) + return _internal_payload_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE void PayloadConfiguration::set_payload_description(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_description_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PayloadConfiguration.payload_description) +} +inline std::string* PayloadConfiguration::mutable_payload_description() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_payload_description(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PayloadConfiguration.payload_description) + return _s; +} +inline const std::string& PayloadConfiguration::_internal_payload_description() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.payload_description_.Get(); +} +inline void PayloadConfiguration::_internal_set_payload_description(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_description_.Set(value, GetArena()); +} +inline std::string* PayloadConfiguration::_internal_mutable_payload_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.payload_description_.Mutable( GetArena()); +} +inline std::string* PayloadConfiguration::release_payload_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PayloadConfiguration.payload_description) + return _impl_.payload_description_.Release(); +} +inline void PayloadConfiguration::set_allocated_payload_description(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_description_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_description_.IsDefault()) { + _impl_.payload_description_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PayloadConfiguration.payload_description) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::PayloadOperationalState> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::PayloadOperationalState>() { + return ::anduril::entitymanager::v1::PayloadOperationalState_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fpayloads_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/power.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/power.pub.grpc.pb.cc new file mode 100644 index 0000000..95d2cec --- /dev/null +++ b/src/anduril/entitymanager/v1/power.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/power.pub.proto + +#include "anduril/entitymanager/v1/power.pub.pb.h" +#include "anduril/entitymanager/v1/power.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/power.pub.grpc.pb.h b/src/anduril/entitymanager/v1/power.pub.grpc.pb.h new file mode 100644 index 0000000..f502627 --- /dev/null +++ b/src/anduril/entitymanager/v1/power.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/power.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/power.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/power.pub.pb.cc b/src/anduril/entitymanager/v1/power.pub.pb.cc new file mode 100644 index 0000000..c4aab47 --- /dev/null +++ b/src/anduril/entitymanager/v1/power.pub.pb.cc @@ -0,0 +1,1550 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/power.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/power.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr PowerLevel::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + voltage_{nullptr}, + current_amps_{nullptr}, + run_time_to_empty_mins_{nullptr}, + consumption_rate_l_per_s_{nullptr}, + capacity_{0}, + remaining_{0}, + percent_remaining_{0} {} + +template +PROTOBUF_CONSTEXPR PowerLevel::PowerLevel(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PowerLevelDefaultTypeInternal { + PROTOBUF_CONSTEXPR PowerLevelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PowerLevelDefaultTypeInternal() {} + union { + PowerLevel _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PowerLevelDefaultTypeInternal _PowerLevel_default_instance_; + +inline constexpr PowerSource::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + messages_{}, + power_level_{nullptr}, + offloadable_{nullptr}, + power_status_{static_cast< ::anduril::entitymanager::v1::PowerStatus >(0)}, + power_type_{static_cast< ::anduril::entitymanager::v1::PowerType >(0)} {} + +template +PROTOBUF_CONSTEXPR PowerSource::PowerSource(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PowerSourceDefaultTypeInternal { + PROTOBUF_CONSTEXPR PowerSourceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PowerSourceDefaultTypeInternal() {} + union { + PowerSource _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PowerSourceDefaultTypeInternal _PowerSource_default_instance_; + template +PROTOBUF_CONSTEXPR PowerState_SourceIdToStateEntry_DoNotUse::PowerState_SourceIdToStateEntry_DoNotUse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : PowerState_SourceIdToStateEntry_DoNotUse::MapEntry(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : PowerState_SourceIdToStateEntry_DoNotUse::MapEntry() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct PowerState_SourceIdToStateEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR PowerState_SourceIdToStateEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PowerState_SourceIdToStateEntry_DoNotUseDefaultTypeInternal() {} + union { + PowerState_SourceIdToStateEntry_DoNotUse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PowerState_SourceIdToStateEntry_DoNotUseDefaultTypeInternal _PowerState_SourceIdToStateEntry_DoNotUse_default_instance_; + +inline constexpr PowerState::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : source_id_to_state_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR PowerState::PowerState(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PowerStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR PowerStateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PowerStateDefaultTypeInternal() {} + union { + PowerState _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PowerStateDefaultTypeInternal _PowerState_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerState_SourceIdToStateEntry_DoNotUse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerState_SourceIdToStateEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerState_SourceIdToStateEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerState_SourceIdToStateEntry_DoNotUse, _impl_.value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerState, _impl_.source_id_to_state_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _impl_.power_status_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _impl_.power_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _impl_.power_level_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _impl_.messages_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerSource, _impl_.offloadable_), + ~0u, + ~0u, + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.capacity_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.remaining_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.percent_remaining_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.current_amps_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.run_time_to_empty_mins_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PowerLevel, _impl_.consumption_rate_l_per_s_), + ~0u, + ~0u, + ~0u, + 0, + 1, + 2, + 3, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 10, -1, sizeof(::anduril::entitymanager::v1::PowerState_SourceIdToStateEntry_DoNotUse)}, + {12, -1, -1, sizeof(::anduril::entitymanager::v1::PowerState)}, + {21, 34, -1, sizeof(::anduril::entitymanager::v1::PowerSource)}, + {39, 54, -1, sizeof(::anduril::entitymanager::v1::PowerLevel)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_PowerState_SourceIdToStateEntry_DoNotUse_default_instance_._instance, + &::anduril::entitymanager::v1::_PowerState_default_instance_._instance, + &::anduril::entitymanager::v1::_PowerSource_default_instance_._instance, + &::anduril::entitymanager::v1::_PowerLevel_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n(anduril/entitymanager/v1/power.pub.pro" + "to\022\030anduril.entitymanager.v1\032\036google/pro" + "tobuf/wrappers.proto\"\367\001\n\nPowerState\022f\n\022s" + "ource_id_to_state\030\005 \003(\01329.anduril.entity" + "manager.v1.PowerState.SourceIdToStateEnt" + "ryR\017sourceIdToState\032i\n\024SourceIdToStateEn" + "try\022\020\n\003key\030\001 \001(\tR\003key\022;\n\005value\030\002 \001(\0132%.a" + "nduril.entitymanager.v1.PowerSourceR\005val" + "ue:\0028\001J\004\010\001\020\002J\004\010\002\020\003J\004\010\003\020\004J\004\010\004\020\005\"\274\002\n\013Power" + "Source\022H\n\014power_status\030\001 \001(\0162%.anduril.e" + "ntitymanager.v1.PowerStatusR\013powerStatus" + "\022B\n\npower_type\030\002 \001(\0162#.anduril.entityman" + "ager.v1.PowerTypeR\tpowerType\022E\n\013power_le" + "vel\030\003 \001(\0132$.anduril.entitymanager.v1.Pow" + "erLevelR\npowerLevel\022\032\n\010messages\030\004 \003(\tR\010m" + "essages\022<\n\013offloadable\030\005 \001(\0132\032.google.pr" + "otobuf.BoolValueR\013offloadable\"\224\003\n\nPowerL" + "evel\022\032\n\010capacity\030\001 \001(\002R\010capacity\022\034\n\trema" + "ining\030\002 \001(\002R\tremaining\022+\n\021percent_remain" + "ing\030\003 \001(\002R\020percentRemaining\0226\n\007voltage\030\004" + " \001(\0132\034.google.protobuf.DoubleValueR\007volt" + "age\022\?\n\014current_amps\030\005 \001(\0132\034.google.proto" + "buf.DoubleValueR\013currentAmps\022P\n\026run_time" + "_to_empty_mins\030\006 \001(\0132\034.google.protobuf.D" + "oubleValueR\022runTimeToEmptyMins\022T\n\030consum" + "ption_rate_l_per_s\030\007 \001(\0132\034.google.protob" + "uf.DoubleValueR\024consumptionRateLPerS*\256\001\n" + "\013PowerStatus\022\030\n\024POWER_STATUS_INVALID\020\000\022\030" + "\n\024POWER_STATUS_UNKNOWN\020\001\022\034\n\030POWER_STATUS" + "_NOT_PRESENT\020\002\022\032\n\026POWER_STATUS_OPERATING" + "\020\003\022\031\n\025POWER_STATUS_DISABLED\020\004\022\026\n\022POWER_S" + "TATUS_ERROR\020\005*g\n\tPowerType\022\026\n\022POWER_TYPE" + "_INVALID\020\000\022\026\n\022POWER_TYPE_UNKNOWN\020\001\022\022\n\016PO" + "WER_TYPE_GAS\020\002\022\026\n\022POWER_TYPE_BATTERY\020\003B\376" + "\001\n\034com.anduril.entitymanager.v1B\rPowerPu" + "bProtoP\001ZMghe.anduril.dev/anduril/anduri" + "lapis-go/anduril/entitymanager/v1;entity" + "manager\242\002\003AEX\252\002\030Anduril.Entitymanager.V1" + "\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduril\\En" + "titymanager\\V1\\GPBMetadata\352\002\032Anduril::En" + "titymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_deps[1] = + { + &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto = { + false, + false, + 1623, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + "anduril/entitymanager/v1/power.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_deps, + 1, + 4, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* PowerStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t PowerStatus_internal_data_[] = { + 393216u, 0u, }; +bool PowerStatus_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* PowerType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t PowerType_internal_data_[] = { + 262144u, 0u, }; +bool PowerType_IsValid(int value) { + return 0 <= value && value <= 3; +} +// =================================================================== + +#if defined(PROTOBUF_CUSTOM_VTABLE) + PowerState_SourceIdToStateEntry_DoNotUse::PowerState_SourceIdToStateEntry_DoNotUse() : SuperType(_class_data_.base()) {} + PowerState_SourceIdToStateEntry_DoNotUse::PowerState_SourceIdToStateEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena, _class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE + PowerState_SourceIdToStateEntry_DoNotUse::PowerState_SourceIdToStateEntry_DoNotUse() : SuperType() {} + PowerState_SourceIdToStateEntry_DoNotUse::PowerState_SourceIdToStateEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE + inline void* PowerState_SourceIdToStateEntry_DoNotUse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PowerState_SourceIdToStateEntry_DoNotUse(arena); + } + constexpr auto PowerState_SourceIdToStateEntry_DoNotUse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PowerState_SourceIdToStateEntry_DoNotUse), + alignof(PowerState_SourceIdToStateEntry_DoNotUse)); + } + PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 + const ::google::protobuf::internal::ClassDataFull PowerState_SourceIdToStateEntry_DoNotUse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PowerState_SourceIdToStateEntry_DoNotUse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PowerState_SourceIdToStateEntry_DoNotUse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), + #if defined(PROTOBUF_CUSTOM_VTABLE) + &PowerState_SourceIdToStateEntry_DoNotUse::SharedDtor, + static_cast( + &PowerState_SourceIdToStateEntry_DoNotUse::ClearImpl), + ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl + , + #endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PowerState_SourceIdToStateEntry_DoNotUse, _impl_._cached_size_), + false, + }, + &PowerState_SourceIdToStateEntry_DoNotUse::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + nullptr, // tracker + }; + const ::google::protobuf::internal::ClassData* PowerState_SourceIdToStateEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); + } +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 68, 2> PowerState_SourceIdToStateEntry_DoNotUse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PowerState_SourceIdToStateEntry_DoNotUse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::DiscardEverythingFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerState_SourceIdToStateEntry_DoNotUse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.PowerSource value = 2 [json_name = "value"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(PowerState_SourceIdToStateEntry_DoNotUse, _impl_.value_)}}, + // string key = 1 [json_name = "key"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(PowerState_SourceIdToStateEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1 [json_name = "key"]; + {PROTOBUF_FIELD_OFFSET(PowerState_SourceIdToStateEntry_DoNotUse, _impl_.key_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.PowerSource value = 2 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(PowerState_SourceIdToStateEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerSource>()}, + }}, {{ + "\70\3\0\0\0\0\0\0" + "anduril.entitymanager.v1.PowerState.SourceIdToStateEntry" + "key" + }}, +}; + +// =================================================================== + +class PowerState::_Internal { + public: +}; + +PowerState::PowerState(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PowerState) +} +inline PROTOBUF_NDEBUG_INLINE PowerState::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PowerState& from_msg) + : source_id_to_state_{visibility, arena, from.source_id_to_state_}, + _cached_size_{0} {} + +PowerState::PowerState( + ::google::protobuf::Arena* arena, + const PowerState& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PowerState* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PowerState) +} +inline PROTOBUF_NDEBUG_INLINE PowerState::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : source_id_to_state_{visibility, arena}, + _cached_size_{0} {} + +inline void PowerState::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +PowerState::~PowerState() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PowerState) + SharedDtor(*this); +} +inline void PowerState::SharedDtor(MessageLite& self) { + PowerState& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PowerState::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PowerState(arena); +} +constexpr auto PowerState::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(PowerState, _impl_.source_id_to_state_) + + decltype(PowerState::_impl_.source_id_to_state_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(PowerState, _impl_.source_id_to_state_) + + decltype(PowerState::_impl_.source_id_to_state_):: + InternalGetArenaOffsetAlt( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(PowerState), alignof(PowerState), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&PowerState::PlacementNew_, + sizeof(PowerState), + alignof(PowerState)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PowerState::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PowerState_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PowerState::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PowerState::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PowerState::ByteSizeLong, + &PowerState::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PowerState, _impl_._cached_size_), + false, + }, + &PowerState::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PowerState::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 2, 62, 2> PowerState::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 5, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967279, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerState>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // map source_id_to_state = 5 [json_name = "sourceIdToState"]; + {PROTOBUF_FIELD_OFFSET(PowerState, _impl_.source_id_to_state_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, + }}, {{ + {::_pbi::TcParser::GetMapAuxInfo< + decltype(PowerState()._impl_.source_id_to_state_)>( + 1, 0, 0, 9, + 11)}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerSource>()}, + }}, {{ + "\43\22\0\0\0\0\0\0" + "anduril.entitymanager.v1.PowerState" + "source_id_to_state" + }}, +}; + +PROTOBUF_NOINLINE void PowerState::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PowerState) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.source_id_to_state_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PowerState::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PowerState& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PowerState::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PowerState& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PowerState) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // map source_id_to_state = 5 [json_name = "sourceIdToState"]; + if (!this_._internal_source_id_to_state().empty()) { + using MapType = ::google::protobuf::Map; + using WireHelper = _pbi::MapEntryFuncs; + const auto& field = this_._internal_source_id_to_state(); + + if (stream->IsSerializationDeterministic() && field.size() > 1) { + for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { + target = WireHelper::InternalSerialize( + 5, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.PowerState.source_id_to_state"); + } + } else { + for (const auto& entry : field) { + target = WireHelper::InternalSerialize( + 5, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.PowerState.source_id_to_state"); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PowerState) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PowerState::ByteSizeLong(const MessageLite& base) { + const PowerState& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PowerState::ByteSizeLong() const { + const PowerState& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PowerState) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // map source_id_to_state = 5 [json_name = "sourceIdToState"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_source_id_to_state_size()); + for (const auto& entry : this_._internal_source_id_to_state()) { + total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PowerState::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PowerState) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.source_id_to_state_.MergeFrom(from._impl_.source_id_to_state_); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PowerState::CopyFrom(const PowerState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PowerState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PowerState::InternalSwap(PowerState* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.source_id_to_state_.InternalSwap(&other->_impl_.source_id_to_state_); +} + +::google::protobuf::Metadata PowerState::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PowerSource::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PowerSource, _impl_._has_bits_); +}; + +void PowerSource::clear_offloadable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.offloadable_ != nullptr) _impl_.offloadable_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +PowerSource::PowerSource(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PowerSource) +} +inline PROTOBUF_NDEBUG_INLINE PowerSource::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PowerSource& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + messages_{visibility, arena, from.messages_} {} + +PowerSource::PowerSource( + ::google::protobuf::Arena* arena, + const PowerSource& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PowerSource* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.power_level_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PowerLevel>( + arena, *from._impl_.power_level_) + : nullptr; + _impl_.offloadable_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>( + arena, *from._impl_.offloadable_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, power_status_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, power_status_), + offsetof(Impl_, power_type_) - + offsetof(Impl_, power_status_) + + sizeof(Impl_::power_type_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PowerSource) +} +inline PROTOBUF_NDEBUG_INLINE PowerSource::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + messages_{visibility, arena} {} + +inline void PowerSource::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, power_level_), + 0, + offsetof(Impl_, power_type_) - + offsetof(Impl_, power_level_) + + sizeof(Impl_::power_type_)); +} +PowerSource::~PowerSource() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PowerSource) + SharedDtor(*this); +} +inline void PowerSource::SharedDtor(MessageLite& self) { + PowerSource& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.power_level_; + delete this_._impl_.offloadable_; + this_._impl_.~Impl_(); +} + +inline void* PowerSource::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PowerSource(arena); +} +constexpr auto PowerSource::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.messages_) + + decltype(PowerSource::_impl_.messages_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(PowerSource), alignof(PowerSource), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&PowerSource::PlacementNew_, + sizeof(PowerSource), + alignof(PowerSource)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PowerSource::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PowerSource_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PowerSource::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PowerSource::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PowerSource::ByteSizeLong, + &PowerSource::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PowerSource, _impl_._cached_size_), + false, + }, + &PowerSource::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PowerSource::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 2, 53, 2> PowerSource::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PowerSource, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerSource>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.PowerStatus power_status = 1 [json_name = "powerStatus"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PowerSource, _impl_.power_status_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_status_)}}, + // .anduril.entitymanager.v1.PowerType power_type = 2 [json_name = "powerType"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PowerSource, _impl_.power_type_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_type_)}}, + // .anduril.entitymanager.v1.PowerLevel power_level = 3 [json_name = "powerLevel"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_level_)}}, + // repeated string messages = 4 [json_name = "messages"]; + {::_pbi::TcParser::FastUR1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.messages_)}}, + // .google.protobuf.BoolValue offloadable = 5 [json_name = "offloadable"]; + {::_pbi::TcParser::FastMtS1, + {42, 1, 1, PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.offloadable_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.PowerStatus power_status = 1 [json_name = "powerStatus"]; + {PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_status_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.PowerType power_type = 2 [json_name = "powerType"]; + {PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.PowerLevel power_level = 3 [json_name = "powerLevel"]; + {PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_level_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated string messages = 4 [json_name = "messages"]; + {PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.messages_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // .google.protobuf.BoolValue offloadable = 5 [json_name = "offloadable"]; + {PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.offloadable_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerLevel>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>()}, + }}, {{ + "\44\0\0\0\10\0\0\0" + "anduril.entitymanager.v1.PowerSource" + "messages" + }}, +}; + +PROTOBUF_NOINLINE void PowerSource::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PowerSource) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.messages_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.power_level_ != nullptr); + _impl_.power_level_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.offloadable_ != nullptr); + _impl_.offloadable_->Clear(); + } + } + ::memset(&_impl_.power_status_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.power_type_) - + reinterpret_cast(&_impl_.power_status_)) + sizeof(_impl_.power_type_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PowerSource::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PowerSource& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PowerSource::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PowerSource& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PowerSource) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.PowerStatus power_status = 1 [json_name = "powerStatus"]; + if (this_._internal_power_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_power_status(), target); + } + + // .anduril.entitymanager.v1.PowerType power_type = 2 [json_name = "powerType"]; + if (this_._internal_power_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_power_type(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.PowerLevel power_level = 3 [json_name = "powerLevel"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.power_level_, this_._impl_.power_level_->GetCachedSize(), target, + stream); + } + + // repeated string messages = 4 [json_name = "messages"]; + for (int i = 0, n = this_._internal_messages_size(); i < n; ++i) { + const auto& s = this_._internal_messages().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.PowerSource.messages"); + target = stream->WriteString(4, s, target); + } + + // .google.protobuf.BoolValue offloadable = 5 [json_name = "offloadable"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.offloadable_, this_._impl_.offloadable_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PowerSource) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PowerSource::ByteSizeLong(const MessageLite& base) { + const PowerSource& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PowerSource::ByteSizeLong() const { + const PowerSource& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PowerSource) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string messages = 4 [json_name = "messages"]; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_messages().size()); + for (int i = 0, n = this_._internal_messages().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_messages().Get(i)); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.PowerLevel power_level = 3 [json_name = "powerLevel"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.power_level_); + } + // .google.protobuf.BoolValue offloadable = 5 [json_name = "offloadable"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.offloadable_); + } + } + { + // .anduril.entitymanager.v1.PowerStatus power_status = 1 [json_name = "powerStatus"]; + if (this_._internal_power_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_power_status()); + } + // .anduril.entitymanager.v1.PowerType power_type = 2 [json_name = "powerType"]; + if (this_._internal_power_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_power_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PowerSource::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PowerSource) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_messages()->MergeFrom(from._internal_messages()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.power_level_ != nullptr); + if (_this->_impl_.power_level_ == nullptr) { + _this->_impl_.power_level_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PowerLevel>(arena, *from._impl_.power_level_); + } else { + _this->_impl_.power_level_->MergeFrom(*from._impl_.power_level_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.offloadable_ != nullptr); + if (_this->_impl_.offloadable_ == nullptr) { + _this->_impl_.offloadable_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::BoolValue>(arena, *from._impl_.offloadable_); + } else { + _this->_impl_.offloadable_->MergeFrom(*from._impl_.offloadable_); + } + } + } + if (from._internal_power_status() != 0) { + _this->_impl_.power_status_ = from._impl_.power_status_; + } + if (from._internal_power_type() != 0) { + _this->_impl_.power_type_ = from._impl_.power_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PowerSource::CopyFrom(const PowerSource& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PowerSource) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PowerSource::InternalSwap(PowerSource* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.messages_.InternalSwap(&other->_impl_.messages_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_type_) + + sizeof(PowerSource::_impl_.power_type_) + - PROTOBUF_FIELD_OFFSET(PowerSource, _impl_.power_level_)>( + reinterpret_cast(&_impl_.power_level_), + reinterpret_cast(&other->_impl_.power_level_)); +} + +::google::protobuf::Metadata PowerSource::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PowerLevel::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_._has_bits_); +}; + +void PowerLevel::clear_voltage() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.voltage_ != nullptr) _impl_.voltage_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void PowerLevel::clear_current_amps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.current_amps_ != nullptr) _impl_.current_amps_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void PowerLevel::clear_run_time_to_empty_mins() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.run_time_to_empty_mins_ != nullptr) _impl_.run_time_to_empty_mins_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void PowerLevel::clear_consumption_rate_l_per_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.consumption_rate_l_per_s_ != nullptr) _impl_.consumption_rate_l_per_s_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +PowerLevel::PowerLevel(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PowerLevel) +} +inline PROTOBUF_NDEBUG_INLINE PowerLevel::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PowerLevel& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +PowerLevel::PowerLevel( + ::google::protobuf::Arena* arena, + const PowerLevel& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PowerLevel* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.voltage_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.voltage_) + : nullptr; + _impl_.current_amps_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.current_amps_) + : nullptr; + _impl_.run_time_to_empty_mins_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.run_time_to_empty_mins_) + : nullptr; + _impl_.consumption_rate_l_per_s_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.consumption_rate_l_per_s_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, capacity_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, capacity_), + offsetof(Impl_, percent_remaining_) - + offsetof(Impl_, capacity_) + + sizeof(Impl_::percent_remaining_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PowerLevel) +} +inline PROTOBUF_NDEBUG_INLINE PowerLevel::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void PowerLevel::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, voltage_), + 0, + offsetof(Impl_, percent_remaining_) - + offsetof(Impl_, voltage_) + + sizeof(Impl_::percent_remaining_)); +} +PowerLevel::~PowerLevel() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PowerLevel) + SharedDtor(*this); +} +inline void PowerLevel::SharedDtor(MessageLite& self) { + PowerLevel& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.voltage_; + delete this_._impl_.current_amps_; + delete this_._impl_.run_time_to_empty_mins_; + delete this_._impl_.consumption_rate_l_per_s_; + this_._impl_.~Impl_(); +} + +inline void* PowerLevel::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PowerLevel(arena); +} +constexpr auto PowerLevel::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PowerLevel), + alignof(PowerLevel)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PowerLevel::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PowerLevel_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PowerLevel::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PowerLevel::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PowerLevel::ByteSizeLong, + &PowerLevel::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_._cached_size_), + false, + }, + &PowerLevel::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PowerLevel::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 4, 0, 2> PowerLevel::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PowerLevel>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // float capacity = 1 [json_name = "capacity"]; + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.capacity_)}}, + // float remaining = 2 [json_name = "remaining"]; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.remaining_)}}, + // float percent_remaining = 3 [json_name = "percentRemaining"]; + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.percent_remaining_)}}, + // .google.protobuf.DoubleValue voltage = 4 [json_name = "voltage"]; + {::_pbi::TcParser::FastMtS1, + {34, 0, 0, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.voltage_)}}, + // .google.protobuf.DoubleValue current_amps = 5 [json_name = "currentAmps"]; + {::_pbi::TcParser::FastMtS1, + {42, 1, 1, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.current_amps_)}}, + // .google.protobuf.DoubleValue run_time_to_empty_mins = 6 [json_name = "runTimeToEmptyMins"]; + {::_pbi::TcParser::FastMtS1, + {50, 2, 2, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.run_time_to_empty_mins_)}}, + // .google.protobuf.DoubleValue consumption_rate_l_per_s = 7 [json_name = "consumptionRateLPerS"]; + {::_pbi::TcParser::FastMtS1, + {58, 3, 3, PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.consumption_rate_l_per_s_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float capacity = 1 [json_name = "capacity"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.capacity_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float remaining = 2 [json_name = "remaining"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.remaining_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float percent_remaining = 3 [json_name = "percentRemaining"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.percent_remaining_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // .google.protobuf.DoubleValue voltage = 4 [json_name = "voltage"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.voltage_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue current_amps = 5 [json_name = "currentAmps"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.current_amps_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue run_time_to_empty_mins = 6 [json_name = "runTimeToEmptyMins"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.run_time_to_empty_mins_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue consumption_rate_l_per_s = 7 [json_name = "consumptionRateLPerS"]; + {PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.consumption_rate_l_per_s_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void PowerLevel::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PowerLevel) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.voltage_ != nullptr); + _impl_.voltage_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.current_amps_ != nullptr); + _impl_.current_amps_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.run_time_to_empty_mins_ != nullptr); + _impl_.run_time_to_empty_mins_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.consumption_rate_l_per_s_ != nullptr); + _impl_.consumption_rate_l_per_s_->Clear(); + } + } + ::memset(&_impl_.capacity_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.percent_remaining_) - + reinterpret_cast(&_impl_.capacity_)) + sizeof(_impl_.percent_remaining_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PowerLevel::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PowerLevel& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PowerLevel::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PowerLevel& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PowerLevel) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float capacity = 1 [json_name = "capacity"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_capacity()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_capacity(), target); + } + + // float remaining = 2 [json_name = "remaining"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_remaining()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_remaining(), target); + } + + // float percent_remaining = 3 [json_name = "percentRemaining"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_percent_remaining()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_percent_remaining(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue voltage = 4 [json_name = "voltage"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.voltage_, this_._impl_.voltage_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue current_amps = 5 [json_name = "currentAmps"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.current_amps_, this_._impl_.current_amps_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue run_time_to_empty_mins = 6 [json_name = "runTimeToEmptyMins"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.run_time_to_empty_mins_, this_._impl_.run_time_to_empty_mins_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue consumption_rate_l_per_s = 7 [json_name = "consumptionRateLPerS"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.consumption_rate_l_per_s_, this_._impl_.consumption_rate_l_per_s_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PowerLevel) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PowerLevel::ByteSizeLong(const MessageLite& base) { + const PowerLevel& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PowerLevel::ByteSizeLong() const { + const PowerLevel& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PowerLevel) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // .google.protobuf.DoubleValue voltage = 4 [json_name = "voltage"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.voltage_); + } + // .google.protobuf.DoubleValue current_amps = 5 [json_name = "currentAmps"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.current_amps_); + } + // .google.protobuf.DoubleValue run_time_to_empty_mins = 6 [json_name = "runTimeToEmptyMins"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.run_time_to_empty_mins_); + } + // .google.protobuf.DoubleValue consumption_rate_l_per_s = 7 [json_name = "consumptionRateLPerS"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.consumption_rate_l_per_s_); + } + } + { + // float capacity = 1 [json_name = "capacity"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_capacity()) != 0) { + total_size += 5; + } + // float remaining = 2 [json_name = "remaining"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_remaining()) != 0) { + total_size += 5; + } + // float percent_remaining = 3 [json_name = "percentRemaining"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_percent_remaining()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PowerLevel::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PowerLevel) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.voltage_ != nullptr); + if (_this->_impl_.voltage_ == nullptr) { + _this->_impl_.voltage_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.voltage_); + } else { + _this->_impl_.voltage_->MergeFrom(*from._impl_.voltage_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.current_amps_ != nullptr); + if (_this->_impl_.current_amps_ == nullptr) { + _this->_impl_.current_amps_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.current_amps_); + } else { + _this->_impl_.current_amps_->MergeFrom(*from._impl_.current_amps_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.run_time_to_empty_mins_ != nullptr); + if (_this->_impl_.run_time_to_empty_mins_ == nullptr) { + _this->_impl_.run_time_to_empty_mins_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.run_time_to_empty_mins_); + } else { + _this->_impl_.run_time_to_empty_mins_->MergeFrom(*from._impl_.run_time_to_empty_mins_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.consumption_rate_l_per_s_ != nullptr); + if (_this->_impl_.consumption_rate_l_per_s_ == nullptr) { + _this->_impl_.consumption_rate_l_per_s_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.consumption_rate_l_per_s_); + } else { + _this->_impl_.consumption_rate_l_per_s_->MergeFrom(*from._impl_.consumption_rate_l_per_s_); + } + } + } + if (::absl::bit_cast<::uint32_t>(from._internal_capacity()) != 0) { + _this->_impl_.capacity_ = from._impl_.capacity_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_remaining()) != 0) { + _this->_impl_.remaining_ = from._impl_.remaining_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_percent_remaining()) != 0) { + _this->_impl_.percent_remaining_ = from._impl_.percent_remaining_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PowerLevel::CopyFrom(const PowerLevel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PowerLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PowerLevel::InternalSwap(PowerLevel* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.percent_remaining_) + + sizeof(PowerLevel::_impl_.percent_remaining_) + - PROTOBUF_FIELD_OFFSET(PowerLevel, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::google::protobuf::Metadata PowerLevel::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/power.pub.pb.h b/src/anduril/entitymanager/v1/power.pub.pb.h new file mode 100644 index 0000000..ca12829 --- /dev/null +++ b/src/anduril/entitymanager/v1/power.pub.pb.h @@ -0,0 +1,1758 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/power.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/map.h" // IWYU pragma: export +#include "google/protobuf/map_entry.h" +#include "google/protobuf/map_field_inl.h" +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "google/protobuf/wrappers.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class PowerLevel; +struct PowerLevelDefaultTypeInternal; +extern PowerLevelDefaultTypeInternal _PowerLevel_default_instance_; +class PowerSource; +struct PowerSourceDefaultTypeInternal; +extern PowerSourceDefaultTypeInternal _PowerSource_default_instance_; +class PowerState; +struct PowerStateDefaultTypeInternal; +extern PowerStateDefaultTypeInternal _PowerState_default_instance_; +class PowerState_SourceIdToStateEntry_DoNotUse; +struct PowerState_SourceIdToStateEntry_DoNotUseDefaultTypeInternal; +extern PowerState_SourceIdToStateEntry_DoNotUseDefaultTypeInternal _PowerState_SourceIdToStateEntry_DoNotUse_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum PowerStatus : int { + POWER_STATUS_INVALID = 0, + POWER_STATUS_UNKNOWN = 1, + POWER_STATUS_NOT_PRESENT = 2, + POWER_STATUS_OPERATING = 3, + POWER_STATUS_DISABLED = 4, + POWER_STATUS_ERROR = 5, + PowerStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + PowerStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool PowerStatus_IsValid(int value); +extern const uint32_t PowerStatus_internal_data_[]; +constexpr PowerStatus PowerStatus_MIN = static_cast(0); +constexpr PowerStatus PowerStatus_MAX = static_cast(5); +constexpr int PowerStatus_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +PowerStatus_descriptor(); +template +const std::string& PowerStatus_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to PowerStatus_Name()."); + return PowerStatus_Name(static_cast(value)); +} +template <> +inline const std::string& PowerStatus_Name(PowerStatus value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool PowerStatus_Parse(absl::string_view name, PowerStatus* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PowerStatus_descriptor(), name, value); +} +enum PowerType : int { + POWER_TYPE_INVALID = 0, + POWER_TYPE_UNKNOWN = 1, + POWER_TYPE_GAS = 2, + POWER_TYPE_BATTERY = 3, + PowerType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + PowerType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool PowerType_IsValid(int value); +extern const uint32_t PowerType_internal_data_[]; +constexpr PowerType PowerType_MIN = static_cast(0); +constexpr PowerType PowerType_MAX = static_cast(3); +constexpr int PowerType_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* +PowerType_descriptor(); +template +const std::string& PowerType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to PowerType_Name()."); + return PowerType_Name(static_cast(value)); +} +template <> +inline const std::string& PowerType_Name(PowerType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool PowerType_Parse(absl::string_view name, PowerType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PowerType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class PowerLevel final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PowerLevel) */ { + public: + inline PowerLevel() : PowerLevel(nullptr) {} + ~PowerLevel() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PowerLevel* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PowerLevel)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PowerLevel( + ::google::protobuf::internal::ConstantInitialized); + + inline PowerLevel(const PowerLevel& from) : PowerLevel(nullptr, from) {} + inline PowerLevel(PowerLevel&& from) noexcept + : PowerLevel(nullptr, std::move(from)) {} + inline PowerLevel& operator=(const PowerLevel& from) { + CopyFrom(from); + return *this; + } + inline PowerLevel& operator=(PowerLevel&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PowerLevel& default_instance() { + return *internal_default_instance(); + } + static inline const PowerLevel* internal_default_instance() { + return reinterpret_cast( + &_PowerLevel_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(PowerLevel& a, PowerLevel& b) { a.Swap(&b); } + inline void Swap(PowerLevel* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PowerLevel* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PowerLevel* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PowerLevel& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PowerLevel& from) { PowerLevel::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PowerLevel* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PowerLevel"; } + + protected: + explicit PowerLevel(::google::protobuf::Arena* arena); + PowerLevel(::google::protobuf::Arena* arena, const PowerLevel& from); + PowerLevel(::google::protobuf::Arena* arena, PowerLevel&& from) noexcept + : PowerLevel(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kVoltageFieldNumber = 4, + kCurrentAmpsFieldNumber = 5, + kRunTimeToEmptyMinsFieldNumber = 6, + kConsumptionRateLPerSFieldNumber = 7, + kCapacityFieldNumber = 1, + kRemainingFieldNumber = 2, + kPercentRemainingFieldNumber = 3, + }; + // .google.protobuf.DoubleValue voltage = 4 [json_name = "voltage"]; + bool has_voltage() const; + void clear_voltage() ; + const ::google::protobuf::DoubleValue& voltage() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_voltage(); + ::google::protobuf::DoubleValue* mutable_voltage(); + void set_allocated_voltage(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_voltage(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_voltage(); + + private: + const ::google::protobuf::DoubleValue& _internal_voltage() const; + ::google::protobuf::DoubleValue* _internal_mutable_voltage(); + + public: + // .google.protobuf.DoubleValue current_amps = 5 [json_name = "currentAmps"]; + bool has_current_amps() const; + void clear_current_amps() ; + const ::google::protobuf::DoubleValue& current_amps() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_current_amps(); + ::google::protobuf::DoubleValue* mutable_current_amps(); + void set_allocated_current_amps(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_current_amps(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_current_amps(); + + private: + const ::google::protobuf::DoubleValue& _internal_current_amps() const; + ::google::protobuf::DoubleValue* _internal_mutable_current_amps(); + + public: + // .google.protobuf.DoubleValue run_time_to_empty_mins = 6 [json_name = "runTimeToEmptyMins"]; + bool has_run_time_to_empty_mins() const; + void clear_run_time_to_empty_mins() ; + const ::google::protobuf::DoubleValue& run_time_to_empty_mins() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_run_time_to_empty_mins(); + ::google::protobuf::DoubleValue* mutable_run_time_to_empty_mins(); + void set_allocated_run_time_to_empty_mins(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_run_time_to_empty_mins(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_run_time_to_empty_mins(); + + private: + const ::google::protobuf::DoubleValue& _internal_run_time_to_empty_mins() const; + ::google::protobuf::DoubleValue* _internal_mutable_run_time_to_empty_mins(); + + public: + // .google.protobuf.DoubleValue consumption_rate_l_per_s = 7 [json_name = "consumptionRateLPerS"]; + bool has_consumption_rate_l_per_s() const; + void clear_consumption_rate_l_per_s() ; + const ::google::protobuf::DoubleValue& consumption_rate_l_per_s() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_consumption_rate_l_per_s(); + ::google::protobuf::DoubleValue* mutable_consumption_rate_l_per_s(); + void set_allocated_consumption_rate_l_per_s(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_consumption_rate_l_per_s(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_consumption_rate_l_per_s(); + + private: + const ::google::protobuf::DoubleValue& _internal_consumption_rate_l_per_s() const; + ::google::protobuf::DoubleValue* _internal_mutable_consumption_rate_l_per_s(); + + public: + // float capacity = 1 [json_name = "capacity"]; + void clear_capacity() ; + float capacity() const; + void set_capacity(float value); + + private: + float _internal_capacity() const; + void _internal_set_capacity(float value); + + public: + // float remaining = 2 [json_name = "remaining"]; + void clear_remaining() ; + float remaining() const; + void set_remaining(float value); + + private: + float _internal_remaining() const; + void _internal_set_remaining(float value); + + public: + // float percent_remaining = 3 [json_name = "percentRemaining"]; + void clear_percent_remaining() ; + float percent_remaining() const; + void set_percent_remaining(float value); + + private: + float _internal_percent_remaining() const; + void _internal_set_percent_remaining(float value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PowerLevel) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 7, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PowerLevel& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* voltage_; + ::google::protobuf::DoubleValue* current_amps_; + ::google::protobuf::DoubleValue* run_time_to_empty_mins_; + ::google::protobuf::DoubleValue* consumption_rate_l_per_s_; + float capacity_; + float remaining_; + float percent_remaining_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PowerSource final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PowerSource) */ { + public: + inline PowerSource() : PowerSource(nullptr) {} + ~PowerSource() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PowerSource* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PowerSource)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PowerSource( + ::google::protobuf::internal::ConstantInitialized); + + inline PowerSource(const PowerSource& from) : PowerSource(nullptr, from) {} + inline PowerSource(PowerSource&& from) noexcept + : PowerSource(nullptr, std::move(from)) {} + inline PowerSource& operator=(const PowerSource& from) { + CopyFrom(from); + return *this; + } + inline PowerSource& operator=(PowerSource&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PowerSource& default_instance() { + return *internal_default_instance(); + } + static inline const PowerSource* internal_default_instance() { + return reinterpret_cast( + &_PowerSource_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(PowerSource& a, PowerSource& b) { a.Swap(&b); } + inline void Swap(PowerSource* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PowerSource* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PowerSource* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PowerSource& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PowerSource& from) { PowerSource::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PowerSource* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PowerSource"; } + + protected: + explicit PowerSource(::google::protobuf::Arena* arena); + PowerSource(::google::protobuf::Arena* arena, const PowerSource& from); + PowerSource(::google::protobuf::Arena* arena, PowerSource&& from) noexcept + : PowerSource(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMessagesFieldNumber = 4, + kPowerLevelFieldNumber = 3, + kOffloadableFieldNumber = 5, + kPowerStatusFieldNumber = 1, + kPowerTypeFieldNumber = 2, + }; + // repeated string messages = 4 [json_name = "messages"]; + int messages_size() const; + private: + int _internal_messages_size() const; + + public: + void clear_messages() ; + const std::string& messages(int index) const; + std::string* mutable_messages(int index); + template + void set_messages(int index, Arg_&& value, Args_... args); + std::string* add_messages(); + template + void add_messages(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& messages() const; + ::google::protobuf::RepeatedPtrField* mutable_messages(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_messages() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_messages(); + + public: + // .anduril.entitymanager.v1.PowerLevel power_level = 3 [json_name = "powerLevel"]; + bool has_power_level() const; + void clear_power_level() ; + const ::anduril::entitymanager::v1::PowerLevel& power_level() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PowerLevel* release_power_level(); + ::anduril::entitymanager::v1::PowerLevel* mutable_power_level(); + void set_allocated_power_level(::anduril::entitymanager::v1::PowerLevel* value); + void unsafe_arena_set_allocated_power_level(::anduril::entitymanager::v1::PowerLevel* value); + ::anduril::entitymanager::v1::PowerLevel* unsafe_arena_release_power_level(); + + private: + const ::anduril::entitymanager::v1::PowerLevel& _internal_power_level() const; + ::anduril::entitymanager::v1::PowerLevel* _internal_mutable_power_level(); + + public: + // .google.protobuf.BoolValue offloadable = 5 [json_name = "offloadable"]; + bool has_offloadable() const; + void clear_offloadable() ; + const ::google::protobuf::BoolValue& offloadable() const; + PROTOBUF_NODISCARD ::google::protobuf::BoolValue* release_offloadable(); + ::google::protobuf::BoolValue* mutable_offloadable(); + void set_allocated_offloadable(::google::protobuf::BoolValue* value); + void unsafe_arena_set_allocated_offloadable(::google::protobuf::BoolValue* value); + ::google::protobuf::BoolValue* unsafe_arena_release_offloadable(); + + private: + const ::google::protobuf::BoolValue& _internal_offloadable() const; + ::google::protobuf::BoolValue* _internal_mutable_offloadable(); + + public: + // .anduril.entitymanager.v1.PowerStatus power_status = 1 [json_name = "powerStatus"]; + void clear_power_status() ; + ::anduril::entitymanager::v1::PowerStatus power_status() const; + void set_power_status(::anduril::entitymanager::v1::PowerStatus value); + + private: + ::anduril::entitymanager::v1::PowerStatus _internal_power_status() const; + void _internal_set_power_status(::anduril::entitymanager::v1::PowerStatus value); + + public: + // .anduril.entitymanager.v1.PowerType power_type = 2 [json_name = "powerType"]; + void clear_power_type() ; + ::anduril::entitymanager::v1::PowerType power_type() const; + void set_power_type(::anduril::entitymanager::v1::PowerType value); + + private: + ::anduril::entitymanager::v1::PowerType _internal_power_type() const; + void _internal_set_power_type(::anduril::entitymanager::v1::PowerType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PowerSource) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 2, + 53, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PowerSource& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField messages_; + ::anduril::entitymanager::v1::PowerLevel* power_level_; + ::google::protobuf::BoolValue* offloadable_; + int power_status_; + int power_type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PowerState_SourceIdToStateEntry_DoNotUse final + : public ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { + public: + using SuperType = ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; + PowerState_SourceIdToStateEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR PowerState_SourceIdToStateEntry_DoNotUse( + ::google::protobuf::internal::ConstantInitialized); + explicit PowerState_SourceIdToStateEntry_DoNotUse(::google::protobuf::Arena* arena); + static const PowerState_SourceIdToStateEntry_DoNotUse* internal_default_instance() { + return reinterpret_cast( + &_PowerState_SourceIdToStateEntry_DoNotUse_default_instance_); + } + + + private: + friend class ::google::protobuf::MessageLite; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 68, 2> + _table_; + + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; +}; +// ------------------------------------------------------------------- + +class PowerState final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PowerState) */ { + public: + inline PowerState() : PowerState(nullptr) {} + ~PowerState() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PowerState* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PowerState)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PowerState( + ::google::protobuf::internal::ConstantInitialized); + + inline PowerState(const PowerState& from) : PowerState(nullptr, from) {} + inline PowerState(PowerState&& from) noexcept + : PowerState(nullptr, std::move(from)) {} + inline PowerState& operator=(const PowerState& from) { + CopyFrom(from); + return *this; + } + inline PowerState& operator=(PowerState&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PowerState& default_instance() { + return *internal_default_instance(); + } + static inline const PowerState* internal_default_instance() { + return reinterpret_cast( + &_PowerState_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(PowerState& a, PowerState& b) { a.Swap(&b); } + inline void Swap(PowerState* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PowerState* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PowerState* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PowerState& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PowerState& from) { PowerState::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PowerState* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PowerState"; } + + protected: + explicit PowerState(::google::protobuf::Arena* arena); + PowerState(::google::protobuf::Arena* arena, const PowerState& from); + PowerState(::google::protobuf::Arena* arena, PowerState&& from) noexcept + : PowerState(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSourceIdToStateFieldNumber = 5, + }; + // map source_id_to_state = 5 [json_name = "sourceIdToState"]; + int source_id_to_state_size() const; + private: + int _internal_source_id_to_state_size() const; + + public: + void clear_source_id_to_state() ; + const ::google::protobuf::Map& source_id_to_state() const; + ::google::protobuf::Map* mutable_source_id_to_state(); + + private: + const ::google::protobuf::Map& _internal_source_id_to_state() const; + ::google::protobuf::Map* _internal_mutable_source_id_to_state(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PowerState) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 2, + 62, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PowerState& from_msg); + ::google::protobuf::internal::MapField + source_id_to_state_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// PowerState + +// map source_id_to_state = 5 [json_name = "sourceIdToState"]; +inline int PowerState::_internal_source_id_to_state_size() const { + return _internal_source_id_to_state().size(); +} +inline int PowerState::source_id_to_state_size() const { + return _internal_source_id_to_state_size(); +} +inline void PowerState::clear_source_id_to_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.source_id_to_state_.Clear(); +} +inline const ::google::protobuf::Map& PowerState::_internal_source_id_to_state() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.source_id_to_state_.GetMap(); +} +inline const ::google::protobuf::Map& PowerState::source_id_to_state() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_map:anduril.entitymanager.v1.PowerState.source_id_to_state) + return _internal_source_id_to_state(); +} +inline ::google::protobuf::Map* PowerState::_internal_mutable_source_id_to_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.source_id_to_state_.MutableMap(); +} +inline ::google::protobuf::Map* PowerState::mutable_source_id_to_state() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_map:anduril.entitymanager.v1.PowerState.source_id_to_state) + return _internal_mutable_source_id_to_state(); +} + +// ------------------------------------------------------------------- + +// PowerSource + +// .anduril.entitymanager.v1.PowerStatus power_status = 1 [json_name = "powerStatus"]; +inline void PowerSource::clear_power_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.power_status_ = 0; +} +inline ::anduril::entitymanager::v1::PowerStatus PowerSource::power_status() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerSource.power_status) + return _internal_power_status(); +} +inline void PowerSource::set_power_status(::anduril::entitymanager::v1::PowerStatus value) { + _internal_set_power_status(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PowerSource.power_status) +} +inline ::anduril::entitymanager::v1::PowerStatus PowerSource::_internal_power_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::PowerStatus>(_impl_.power_status_); +} +inline void PowerSource::_internal_set_power_status(::anduril::entitymanager::v1::PowerStatus value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.power_status_ = value; +} + +// .anduril.entitymanager.v1.PowerType power_type = 2 [json_name = "powerType"]; +inline void PowerSource::clear_power_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.power_type_ = 0; +} +inline ::anduril::entitymanager::v1::PowerType PowerSource::power_type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerSource.power_type) + return _internal_power_type(); +} +inline void PowerSource::set_power_type(::anduril::entitymanager::v1::PowerType value) { + _internal_set_power_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PowerSource.power_type) +} +inline ::anduril::entitymanager::v1::PowerType PowerSource::_internal_power_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::PowerType>(_impl_.power_type_); +} +inline void PowerSource::_internal_set_power_type(::anduril::entitymanager::v1::PowerType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.power_type_ = value; +} + +// .anduril.entitymanager.v1.PowerLevel power_level = 3 [json_name = "powerLevel"]; +inline bool PowerSource::has_power_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.power_level_ != nullptr); + return value; +} +inline void PowerSource::clear_power_level() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.power_level_ != nullptr) _impl_.power_level_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::PowerLevel& PowerSource::_internal_power_level() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::PowerLevel* p = _impl_.power_level_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_PowerLevel_default_instance_); +} +inline const ::anduril::entitymanager::v1::PowerLevel& PowerSource::power_level() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerSource.power_level) + return _internal_power_level(); +} +inline void PowerSource::unsafe_arena_set_allocated_power_level(::anduril::entitymanager::v1::PowerLevel* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.power_level_); + } + _impl_.power_level_ = reinterpret_cast<::anduril::entitymanager::v1::PowerLevel*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PowerSource.power_level) +} +inline ::anduril::entitymanager::v1::PowerLevel* PowerSource::release_power_level() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::PowerLevel* released = _impl_.power_level_; + _impl_.power_level_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::PowerLevel* PowerSource::unsafe_arena_release_power_level() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PowerSource.power_level) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::PowerLevel* temp = _impl_.power_level_; + _impl_.power_level_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::PowerLevel* PowerSource::_internal_mutable_power_level() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.power_level_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PowerLevel>(GetArena()); + _impl_.power_level_ = reinterpret_cast<::anduril::entitymanager::v1::PowerLevel*>(p); + } + return _impl_.power_level_; +} +inline ::anduril::entitymanager::v1::PowerLevel* PowerSource::mutable_power_level() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::PowerLevel* _msg = _internal_mutable_power_level(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerSource.power_level) + return _msg; +} +inline void PowerSource::set_allocated_power_level(::anduril::entitymanager::v1::PowerLevel* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.power_level_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.power_level_ = reinterpret_cast<::anduril::entitymanager::v1::PowerLevel*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PowerSource.power_level) +} + +// repeated string messages = 4 [json_name = "messages"]; +inline int PowerSource::_internal_messages_size() const { + return _internal_messages().size(); +} +inline int PowerSource::messages_size() const { + return _internal_messages_size(); +} +inline void PowerSource::clear_messages() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.messages_.Clear(); +} +inline std::string* PowerSource::add_messages() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_messages()->Add(); + // @@protoc_insertion_point(field_add_mutable:anduril.entitymanager.v1.PowerSource.messages) + return _s; +} +inline const std::string& PowerSource::messages(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerSource.messages) + return _internal_messages().Get(index); +} +inline std::string* PowerSource::mutable_messages(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerSource.messages) + return _internal_mutable_messages()->Mutable(index); +} +template +inline void PowerSource::set_messages(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_messages()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PowerSource.messages) +} +template +inline void PowerSource::add_messages(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_messages(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.PowerSource.messages) +} +inline const ::google::protobuf::RepeatedPtrField& +PowerSource::messages() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.PowerSource.messages) + return _internal_messages(); +} +inline ::google::protobuf::RepeatedPtrField* +PowerSource::mutable_messages() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.PowerSource.messages) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_messages(); +} +inline const ::google::protobuf::RepeatedPtrField& +PowerSource::_internal_messages() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.messages_; +} +inline ::google::protobuf::RepeatedPtrField* +PowerSource::_internal_mutable_messages() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.messages_; +} + +// .google.protobuf.BoolValue offloadable = 5 [json_name = "offloadable"]; +inline bool PowerSource::has_offloadable() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.offloadable_ != nullptr); + return value; +} +inline const ::google::protobuf::BoolValue& PowerSource::_internal_offloadable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::BoolValue* p = _impl_.offloadable_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_BoolValue_default_instance_); +} +inline const ::google::protobuf::BoolValue& PowerSource::offloadable() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerSource.offloadable) + return _internal_offloadable(); +} +inline void PowerSource::unsafe_arena_set_allocated_offloadable(::google::protobuf::BoolValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.offloadable_); + } + _impl_.offloadable_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PowerSource.offloadable) +} +inline ::google::protobuf::BoolValue* PowerSource::release_offloadable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::BoolValue* released = _impl_.offloadable_; + _impl_.offloadable_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::BoolValue* PowerSource::unsafe_arena_release_offloadable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PowerSource.offloadable) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::BoolValue* temp = _impl_.offloadable_; + _impl_.offloadable_ = nullptr; + return temp; +} +inline ::google::protobuf::BoolValue* PowerSource::_internal_mutable_offloadable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.offloadable_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::BoolValue>(GetArena()); + _impl_.offloadable_ = reinterpret_cast<::google::protobuf::BoolValue*>(p); + } + return _impl_.offloadable_; +} +inline ::google::protobuf::BoolValue* PowerSource::mutable_offloadable() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::BoolValue* _msg = _internal_mutable_offloadable(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerSource.offloadable) + return _msg; +} +inline void PowerSource::set_allocated_offloadable(::google::protobuf::BoolValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.offloadable_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.offloadable_ = reinterpret_cast<::google::protobuf::BoolValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PowerSource.offloadable) +} + +// ------------------------------------------------------------------- + +// PowerLevel + +// float capacity = 1 [json_name = "capacity"]; +inline void PowerLevel::clear_capacity() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.capacity_ = 0; +} +inline float PowerLevel::capacity() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.capacity) + return _internal_capacity(); +} +inline void PowerLevel::set_capacity(float value) { + _internal_set_capacity(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PowerLevel.capacity) +} +inline float PowerLevel::_internal_capacity() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.capacity_; +} +inline void PowerLevel::_internal_set_capacity(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.capacity_ = value; +} + +// float remaining = 2 [json_name = "remaining"]; +inline void PowerLevel::clear_remaining() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.remaining_ = 0; +} +inline float PowerLevel::remaining() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.remaining) + return _internal_remaining(); +} +inline void PowerLevel::set_remaining(float value) { + _internal_set_remaining(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PowerLevel.remaining) +} +inline float PowerLevel::_internal_remaining() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.remaining_; +} +inline void PowerLevel::_internal_set_remaining(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.remaining_ = value; +} + +// float percent_remaining = 3 [json_name = "percentRemaining"]; +inline void PowerLevel::clear_percent_remaining() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.percent_remaining_ = 0; +} +inline float PowerLevel::percent_remaining() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.percent_remaining) + return _internal_percent_remaining(); +} +inline void PowerLevel::set_percent_remaining(float value) { + _internal_set_percent_remaining(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.PowerLevel.percent_remaining) +} +inline float PowerLevel::_internal_percent_remaining() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.percent_remaining_; +} +inline void PowerLevel::_internal_set_percent_remaining(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.percent_remaining_ = value; +} + +// .google.protobuf.DoubleValue voltage = 4 [json_name = "voltage"]; +inline bool PowerLevel::has_voltage() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.voltage_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& PowerLevel::_internal_voltage() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.voltage_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& PowerLevel::voltage() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.voltage) + return _internal_voltage(); +} +inline void PowerLevel::unsafe_arena_set_allocated_voltage(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.voltage_); + } + _impl_.voltage_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PowerLevel.voltage) +} +inline ::google::protobuf::DoubleValue* PowerLevel::release_voltage() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.voltage_; + _impl_.voltage_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* PowerLevel::unsafe_arena_release_voltage() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PowerLevel.voltage) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.voltage_; + _impl_.voltage_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* PowerLevel::_internal_mutable_voltage() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.voltage_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.voltage_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.voltage_; +} +inline ::google::protobuf::DoubleValue* PowerLevel::mutable_voltage() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_voltage(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerLevel.voltage) + return _msg; +} +inline void PowerLevel::set_allocated_voltage(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.voltage_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.voltage_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PowerLevel.voltage) +} + +// .google.protobuf.DoubleValue current_amps = 5 [json_name = "currentAmps"]; +inline bool PowerLevel::has_current_amps() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.current_amps_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& PowerLevel::_internal_current_amps() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.current_amps_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& PowerLevel::current_amps() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.current_amps) + return _internal_current_amps(); +} +inline void PowerLevel::unsafe_arena_set_allocated_current_amps(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.current_amps_); + } + _impl_.current_amps_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PowerLevel.current_amps) +} +inline ::google::protobuf::DoubleValue* PowerLevel::release_current_amps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.current_amps_; + _impl_.current_amps_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* PowerLevel::unsafe_arena_release_current_amps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PowerLevel.current_amps) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.current_amps_; + _impl_.current_amps_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* PowerLevel::_internal_mutable_current_amps() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.current_amps_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.current_amps_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.current_amps_; +} +inline ::google::protobuf::DoubleValue* PowerLevel::mutable_current_amps() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_current_amps(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerLevel.current_amps) + return _msg; +} +inline void PowerLevel::set_allocated_current_amps(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.current_amps_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.current_amps_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PowerLevel.current_amps) +} + +// .google.protobuf.DoubleValue run_time_to_empty_mins = 6 [json_name = "runTimeToEmptyMins"]; +inline bool PowerLevel::has_run_time_to_empty_mins() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.run_time_to_empty_mins_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& PowerLevel::_internal_run_time_to_empty_mins() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.run_time_to_empty_mins_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& PowerLevel::run_time_to_empty_mins() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.run_time_to_empty_mins) + return _internal_run_time_to_empty_mins(); +} +inline void PowerLevel::unsafe_arena_set_allocated_run_time_to_empty_mins(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.run_time_to_empty_mins_); + } + _impl_.run_time_to_empty_mins_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PowerLevel.run_time_to_empty_mins) +} +inline ::google::protobuf::DoubleValue* PowerLevel::release_run_time_to_empty_mins() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* released = _impl_.run_time_to_empty_mins_; + _impl_.run_time_to_empty_mins_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* PowerLevel::unsafe_arena_release_run_time_to_empty_mins() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PowerLevel.run_time_to_empty_mins) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* temp = _impl_.run_time_to_empty_mins_; + _impl_.run_time_to_empty_mins_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* PowerLevel::_internal_mutable_run_time_to_empty_mins() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.run_time_to_empty_mins_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.run_time_to_empty_mins_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.run_time_to_empty_mins_; +} +inline ::google::protobuf::DoubleValue* PowerLevel::mutable_run_time_to_empty_mins() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_run_time_to_empty_mins(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerLevel.run_time_to_empty_mins) + return _msg; +} +inline void PowerLevel::set_allocated_run_time_to_empty_mins(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.run_time_to_empty_mins_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.run_time_to_empty_mins_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PowerLevel.run_time_to_empty_mins) +} + +// .google.protobuf.DoubleValue consumption_rate_l_per_s = 7 [json_name = "consumptionRateLPerS"]; +inline bool PowerLevel::has_consumption_rate_l_per_s() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.consumption_rate_l_per_s_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& PowerLevel::_internal_consumption_rate_l_per_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.consumption_rate_l_per_s_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& PowerLevel::consumption_rate_l_per_s() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PowerLevel.consumption_rate_l_per_s) + return _internal_consumption_rate_l_per_s(); +} +inline void PowerLevel::unsafe_arena_set_allocated_consumption_rate_l_per_s(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.consumption_rate_l_per_s_); + } + _impl_.consumption_rate_l_per_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PowerLevel.consumption_rate_l_per_s) +} +inline ::google::protobuf::DoubleValue* PowerLevel::release_consumption_rate_l_per_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* released = _impl_.consumption_rate_l_per_s_; + _impl_.consumption_rate_l_per_s_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* PowerLevel::unsafe_arena_release_consumption_rate_l_per_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PowerLevel.consumption_rate_l_per_s) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::DoubleValue* temp = _impl_.consumption_rate_l_per_s_; + _impl_.consumption_rate_l_per_s_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* PowerLevel::_internal_mutable_consumption_rate_l_per_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.consumption_rate_l_per_s_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.consumption_rate_l_per_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.consumption_rate_l_per_s_; +} +inline ::google::protobuf::DoubleValue* PowerLevel::mutable_consumption_rate_l_per_s() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_consumption_rate_l_per_s(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PowerLevel.consumption_rate_l_per_s) + return _msg; +} +inline void PowerLevel::set_allocated_consumption_rate_l_per_s(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.consumption_rate_l_per_s_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.consumption_rate_l_per_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PowerLevel.consumption_rate_l_per_s) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::PowerStatus> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::PowerStatus>() { + return ::anduril::entitymanager::v1::PowerStatus_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::PowerType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::PowerType>() { + return ::anduril::entitymanager::v1::PowerType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fpower_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.cc new file mode 100644 index 0000000..3c55c0f --- /dev/null +++ b/src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/rate_limit.pub.proto + +#include "anduril/entitymanager/v1/rate_limit.pub.pb.h" +#include "anduril/entitymanager/v1/rate_limit.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.h b/src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.h new file mode 100644 index 0000000..7453ee3 --- /dev/null +++ b/src/anduril/entitymanager/v1/rate_limit.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/rate_limit.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/rate_limit.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/rate_limit.pub.pb.cc b/src/anduril/entitymanager/v1/rate_limit.pub.pb.cc new file mode 100644 index 0000000..9cf5fad --- /dev/null +++ b/src/anduril/entitymanager/v1/rate_limit.pub.pb.cc @@ -0,0 +1,337 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/rate_limit.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/rate_limit.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr RateLimit::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : update_per_entity_limit_ms_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR RateLimit::RateLimit(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RateLimitDefaultTypeInternal { + PROTOBUF_CONSTEXPR RateLimitDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RateLimitDefaultTypeInternal() {} + union { + RateLimit _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RateLimitDefaultTypeInternal _RateLimit_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RateLimit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RateLimit, _impl_.update_per_entity_limit_ms_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::RateLimit)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_RateLimit_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n-anduril/entitymanager/v1/rate_limit.pu" + "b.proto\022\030anduril.entitymanager.v1\"G\n\tRat" + "eLimit\022:\n\032update_per_entity_limit_ms\030\001 \001" + "(\rR\026updatePerEntityLimitMsB\202\002\n\034com.andur" + "il.entitymanager.v1B\021RateLimitPubProtoP\001" + "ZMghe.anduril.dev/anduril/andurilapis-go" + "/anduril/entitymanager/v1;entitymanager\242" + "\002\003AEX\252\002\030Anduril.Entitymanager.V1\312\002\030Andur" + "il\\Entitymanager\\V1\342\002$Anduril\\Entitymana" + "ger\\V1\\GPBMetadata\352\002\032Anduril::Entitymana" + "ger::V1b\006proto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto = { + false, + false, + 415, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto, + "anduril/entitymanager/v1/rate_limit.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto_once, + nullptr, + 0, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class RateLimit::_Internal { + public: +}; + +RateLimit::RateLimit(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RateLimit) +} +RateLimit::RateLimit( + ::google::protobuf::Arena* arena, const RateLimit& from) + : RateLimit(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE RateLimit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RateLimit::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.update_per_entity_limit_ms_ = {}; +} +RateLimit::~RateLimit() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RateLimit) + SharedDtor(*this); +} +inline void RateLimit::SharedDtor(MessageLite& self) { + RateLimit& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* RateLimit::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RateLimit(arena); +} +constexpr auto RateLimit::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RateLimit), + alignof(RateLimit)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RateLimit::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RateLimit_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RateLimit::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RateLimit::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RateLimit::ByteSizeLong, + &RateLimit::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RateLimit, _impl_._cached_size_), + false, + }, + &RateLimit::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RateLimit::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> RateLimit::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RateLimit>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 update_per_entity_limit_ms = 1 [json_name = "updatePerEntityLimitMs"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RateLimit, _impl_.update_per_entity_limit_ms_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(RateLimit, _impl_.update_per_entity_limit_ms_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 update_per_entity_limit_ms = 1 [json_name = "updatePerEntityLimitMs"]; + {PROTOBUF_FIELD_OFFSET(RateLimit, _impl_.update_per_entity_limit_ms_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void RateLimit::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RateLimit) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.update_per_entity_limit_ms_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RateLimit::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RateLimit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RateLimit::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RateLimit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RateLimit) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 update_per_entity_limit_ms = 1 [json_name = "updatePerEntityLimitMs"]; + if (this_._internal_update_per_entity_limit_ms() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_update_per_entity_limit_ms(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RateLimit) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RateLimit::ByteSizeLong(const MessageLite& base) { + const RateLimit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RateLimit::ByteSizeLong() const { + const RateLimit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RateLimit) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint32 update_per_entity_limit_ms = 1 [json_name = "updatePerEntityLimitMs"]; + if (this_._internal_update_per_entity_limit_ms() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_update_per_entity_limit_ms()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RateLimit::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RateLimit) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_update_per_entity_limit_ms() != 0) { + _this->_impl_.update_per_entity_limit_ms_ = from._impl_.update_per_entity_limit_ms_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RateLimit::CopyFrom(const RateLimit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RateLimit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RateLimit::InternalSwap(RateLimit* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.update_per_entity_limit_ms_, other->_impl_.update_per_entity_limit_ms_); +} + +::google::protobuf::Metadata RateLimit::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/rate_limit.pub.pb.h b/src/anduril/entitymanager/v1/rate_limit.pub.pb.h new file mode 100644 index 0000000..7c57a73 --- /dev/null +++ b/src/anduril/entitymanager/v1/rate_limit.pub.pb.h @@ -0,0 +1,319 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/rate_limit.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class RateLimit; +struct RateLimitDefaultTypeInternal; +extern RateLimitDefaultTypeInternal _RateLimit_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class RateLimit final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RateLimit) */ { + public: + inline RateLimit() : RateLimit(nullptr) {} + ~RateLimit() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RateLimit* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RateLimit)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RateLimit( + ::google::protobuf::internal::ConstantInitialized); + + inline RateLimit(const RateLimit& from) : RateLimit(nullptr, from) {} + inline RateLimit(RateLimit&& from) noexcept + : RateLimit(nullptr, std::move(from)) {} + inline RateLimit& operator=(const RateLimit& from) { + CopyFrom(from); + return *this; + } + inline RateLimit& operator=(RateLimit&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RateLimit& default_instance() { + return *internal_default_instance(); + } + static inline const RateLimit* internal_default_instance() { + return reinterpret_cast( + &_RateLimit_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(RateLimit& a, RateLimit& b) { a.Swap(&b); } + inline void Swap(RateLimit* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RateLimit* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RateLimit* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RateLimit& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RateLimit& from) { RateLimit::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RateLimit* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RateLimit"; } + + protected: + explicit RateLimit(::google::protobuf::Arena* arena); + RateLimit(::google::protobuf::Arena* arena, const RateLimit& from); + RateLimit(::google::protobuf::Arena* arena, RateLimit&& from) noexcept + : RateLimit(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUpdatePerEntityLimitMsFieldNumber = 1, + }; + // uint32 update_per_entity_limit_ms = 1 [json_name = "updatePerEntityLimitMs"]; + void clear_update_per_entity_limit_ms() ; + ::uint32_t update_per_entity_limit_ms() const; + void set_update_per_entity_limit_ms(::uint32_t value); + + private: + ::uint32_t _internal_update_per_entity_limit_ms() const; + void _internal_set_update_per_entity_limit_ms(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RateLimit) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RateLimit& from_msg); + ::uint32_t update_per_entity_limit_ms_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// RateLimit + +// uint32 update_per_entity_limit_ms = 1 [json_name = "updatePerEntityLimitMs"]; +inline void RateLimit::clear_update_per_entity_limit_ms() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.update_per_entity_limit_ms_ = 0u; +} +inline ::uint32_t RateLimit::update_per_entity_limit_ms() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RateLimit.update_per_entity_limit_ms) + return _internal_update_per_entity_limit_ms(); +} +inline void RateLimit::set_update_per_entity_limit_ms(::uint32_t value) { + _internal_set_update_per_entity_limit_ms(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.RateLimit.update_per_entity_limit_ms) +} +inline ::uint32_t RateLimit::_internal_update_per_entity_limit_ms() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.update_per_entity_limit_ms_; +} +inline void RateLimit::_internal_set_update_per_entity_limit_ms(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.update_per_entity_limit_ms_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2frate_5flimit_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/relationship.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/relationship.pub.grpc.pb.cc new file mode 100644 index 0000000..c8c12ac --- /dev/null +++ b/src/anduril/entitymanager/v1/relationship.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/relationship.pub.proto + +#include "anduril/entitymanager/v1/relationship.pub.pb.h" +#include "anduril/entitymanager/v1/relationship.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/relationship.pub.grpc.pb.h b/src/anduril/entitymanager/v1/relationship.pub.grpc.pb.h new file mode 100644 index 0000000..d1e325c --- /dev/null +++ b/src/anduril/entitymanager/v1/relationship.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/relationship.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/relationship.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/relationship.pub.pb.cc b/src/anduril/entitymanager/v1/relationship.pub.pb.cc new file mode 100644 index 0000000..14111f1 --- /dev/null +++ b/src/anduril/entitymanager/v1/relationship.pub.pb.cc @@ -0,0 +1,1990 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/relationship.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/relationship.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + template +PROTOBUF_CONSTEXPR MergedFrom::MergedFrom(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct MergedFromDefaultTypeInternal { + PROTOBUF_CONSTEXPR MergedFromDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MergedFromDefaultTypeInternal() {} + union { + MergedFrom _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MergedFromDefaultTypeInternal _MergedFrom_default_instance_; + template +PROTOBUF_CONSTEXPR GroupParent::GroupParent(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GroupParentDefaultTypeInternal { + PROTOBUF_CONSTEXPR GroupParentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GroupParentDefaultTypeInternal() {} + union { + GroupParent _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupParentDefaultTypeInternal _GroupParent_default_instance_; + template +PROTOBUF_CONSTEXPR GroupChild::GroupChild(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GroupChildDefaultTypeInternal { + PROTOBUF_CONSTEXPR GroupChildDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GroupChildDefaultTypeInternal() {} + union { + GroupChild _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupChildDefaultTypeInternal _GroupChild_default_instance_; + +inline constexpr TrackedBy::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + actively_tracking_sensors_{nullptr}, + last_measurement_timestamp_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TrackedBy::TrackedBy(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TrackedByDefaultTypeInternal { + PROTOBUF_CONSTEXPR TrackedByDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackedByDefaultTypeInternal() {} + union { + TrackedBy _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackedByDefaultTypeInternal _TrackedBy_default_instance_; + +inline constexpr RelationshipType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : type_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR RelationshipType::RelationshipType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RelationshipTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR RelationshipTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RelationshipTypeDefaultTypeInternal() {} + union { + RelationshipType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RelationshipTypeDefaultTypeInternal _RelationshipType_default_instance_; + +inline constexpr Relationship::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + related_entity_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + relationship_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + relationship_type_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Relationship::Relationship(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RelationshipDefaultTypeInternal { + PROTOBUF_CONSTEXPR RelationshipDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RelationshipDefaultTypeInternal() {} + union { + Relationship _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RelationshipDefaultTypeInternal _Relationship_default_instance_; + +inline constexpr Relationships::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : relationships_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Relationships::Relationships(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RelationshipsDefaultTypeInternal { + PROTOBUF_CONSTEXPR RelationshipsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RelationshipsDefaultTypeInternal() {} + union { + Relationships _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RelationshipsDefaultTypeInternal _Relationships_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationships, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationships, _impl_.relationships_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationship, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationship, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationship, _impl_.related_entity_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationship, _impl_.relationship_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Relationship, _impl_.relationship_type_), + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RelationshipType, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RelationshipType, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RelationshipType, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TrackedBy, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TrackedBy, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TrackedBy, _impl_.actively_tracking_sensors_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TrackedBy, _impl_.last_measurement_timestamp_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GroupChild, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::GroupParent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::MergedFrom, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Relationships)}, + {9, 20, -1, sizeof(::anduril::entitymanager::v1::Relationship)}, + {23, -1, -1, sizeof(::anduril::entitymanager::v1::RelationshipType)}, + {36, 46, -1, sizeof(::anduril::entitymanager::v1::TrackedBy)}, + {48, -1, -1, sizeof(::anduril::entitymanager::v1::GroupChild)}, + {56, -1, -1, sizeof(::anduril::entitymanager::v1::GroupParent)}, + {64, -1, -1, sizeof(::anduril::entitymanager::v1::MergedFrom)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Relationships_default_instance_._instance, + &::anduril::entitymanager::v1::_Relationship_default_instance_._instance, + &::anduril::entitymanager::v1::_RelationshipType_default_instance_._instance, + &::anduril::entitymanager::v1::_TrackedBy_default_instance_._instance, + &::anduril::entitymanager::v1::_GroupChild_default_instance_._instance, + &::anduril::entitymanager::v1::_GroupParent_default_instance_._instance, + &::anduril::entitymanager::v1::_MergedFrom_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n/anduril/entitymanager/v1/relationship." + "pub.proto\022\030anduril.entitymanager.v1\032*and" + "uril/entitymanager/v1/sensors.pub.proto\032" + "\037google/protobuf/timestamp.proto\"]\n\rRela" + "tionships\022L\n\rrelationships\030\001 \003(\0132&.andur" + "il.entitymanager.v1.RelationshipR\rrelati" + "onships\"\274\001\n\014Relationship\022*\n\021related_enti" + "ty_id\030\001 \001(\tR\017relatedEntityId\022\'\n\017relation" + "ship_id\030\002 \001(\tR\016relationshipId\022W\n\021relatio" + "nship_type\030\003 \001(\0132*.anduril.entitymanager" + ".v1.RelationshipTypeR\020relationshipType\"\276" + "\002\n\020RelationshipType\022D\n\ntracked_by\030\002 \001(\0132" + "#.anduril.entitymanager.v1.TrackedByH\000R\t" + "trackedBy\022G\n\013group_child\030\004 \001(\0132$.anduril" + ".entitymanager.v1.GroupChildH\000R\ngroupChi" + "ld\022J\n\014group_parent\030\005 \001(\0132%.anduril.entit" + "ymanager.v1.GroupParentH\000R\013groupParent\022G" + "\n\013merged_from\030\006 \001(\0132$.anduril.entitymana" + "ger.v1.MergedFromH\000R\nmergedFromB\006\n\004type\"" + "\304\001\n\tTrackedBy\022]\n\031actively_tracking_senso" + "rs\030\001 \001(\0132!.anduril.entitymanager.v1.Sens" + "orsR\027activelyTrackingSensors\022X\n\032last_mea" + "surement_timestamp\030\002 \001(\0132\032.google.protob" + "uf.TimestampR\030lastMeasurementTimestamp\"\014" + "\n\nGroupChild\"\r\n\013GroupParent\"\014\n\nMergedFro" + "mB\205\002\n\034com.anduril.entitymanager.v1B\024Rela" + "tionshipPubProtoP\001ZMghe.anduril.dev/andu" + "ril/andurilapis-go/anduril/entitymanager" + "/v1;entitymanager\242\002\003AEX\252\002\030Anduril.Entity" + "manager.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$" + "Anduril\\Entitymanager\\V1\\GPBMetadata\352\002\032A" + "nduril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_deps[2] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto = { + false, + false, + 1273, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + "anduril/entitymanager/v1/relationship.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_deps, + 2, + 7, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class Relationships::_Internal { + public: +}; + +Relationships::Relationships(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Relationships) +} +inline PROTOBUF_NDEBUG_INLINE Relationships::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Relationships& from_msg) + : relationships_{visibility, arena, from.relationships_}, + _cached_size_{0} {} + +Relationships::Relationships( + ::google::protobuf::Arena* arena, + const Relationships& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Relationships* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Relationships) +} +inline PROTOBUF_NDEBUG_INLINE Relationships::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : relationships_{visibility, arena}, + _cached_size_{0} {} + +inline void Relationships::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Relationships::~Relationships() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Relationships) + SharedDtor(*this); +} +inline void Relationships::SharedDtor(MessageLite& self) { + Relationships& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Relationships::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Relationships(arena); +} +constexpr auto Relationships::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Relationships, _impl_.relationships_) + + decltype(Relationships::_impl_.relationships_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Relationships), alignof(Relationships), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Relationships::PlacementNew_, + sizeof(Relationships), + alignof(Relationships)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Relationships::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Relationships_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Relationships::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Relationships::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Relationships::ByteSizeLong, + &Relationships::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Relationships, _impl_._cached_size_), + false, + }, + &Relationships::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Relationships::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Relationships::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Relationships>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Relationship relationships = 1 [json_name = "relationships"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Relationships, _impl_.relationships_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Relationship relationships = 1 [json_name = "relationships"]; + {PROTOBUF_FIELD_OFFSET(Relationships, _impl_.relationships_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Relationship>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Relationships::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Relationships) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.relationships_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Relationships::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Relationships& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Relationships::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Relationships& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Relationships) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Relationship relationships = 1 [json_name = "relationships"]; + for (unsigned i = 0, n = static_cast( + this_._internal_relationships_size()); + i < n; i++) { + const auto& repfield = this_._internal_relationships().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Relationships) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Relationships::ByteSizeLong(const MessageLite& base) { + const Relationships& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Relationships::ByteSizeLong() const { + const Relationships& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Relationships) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Relationship relationships = 1 [json_name = "relationships"]; + { + total_size += 1UL * this_._internal_relationships_size(); + for (const auto& msg : this_._internal_relationships()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Relationships::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Relationships) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_relationships()->MergeFrom( + from._internal_relationships()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Relationships::CopyFrom(const Relationships& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Relationships) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Relationships::InternalSwap(Relationships* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.relationships_.InternalSwap(&other->_impl_.relationships_); +} + +::google::protobuf::Metadata Relationships::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Relationship::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Relationship, _impl_._has_bits_); +}; + +Relationship::Relationship(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Relationship) +} +inline PROTOBUF_NDEBUG_INLINE Relationship::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Relationship& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + related_entity_id_(arena, from.related_entity_id_), + relationship_id_(arena, from.relationship_id_) {} + +Relationship::Relationship( + ::google::protobuf::Arena* arena, + const Relationship& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Relationship* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.relationship_type_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RelationshipType>( + arena, *from._impl_.relationship_type_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Relationship) +} +inline PROTOBUF_NDEBUG_INLINE Relationship::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + related_entity_id_(arena), + relationship_id_(arena) {} + +inline void Relationship::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.relationship_type_ = {}; +} +Relationship::~Relationship() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Relationship) + SharedDtor(*this); +} +inline void Relationship::SharedDtor(MessageLite& self) { + Relationship& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.related_entity_id_.Destroy(); + this_._impl_.relationship_id_.Destroy(); + delete this_._impl_.relationship_type_; + this_._impl_.~Impl_(); +} + +inline void* Relationship::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Relationship(arena); +} +constexpr auto Relationship::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Relationship), + alignof(Relationship)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Relationship::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Relationship_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Relationship::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Relationship::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Relationship::ByteSizeLong, + &Relationship::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Relationship, _impl_._cached_size_), + false, + }, + &Relationship::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Relationship::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 78, 2> Relationship::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Relationship, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Relationship>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string related_entity_id = 1 [json_name = "relatedEntityId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Relationship, _impl_.related_entity_id_)}}, + // string relationship_id = 2 [json_name = "relationshipId"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Relationship, _impl_.relationship_id_)}}, + // .anduril.entitymanager.v1.RelationshipType relationship_type = 3 [json_name = "relationshipType"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(Relationship, _impl_.relationship_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string related_entity_id = 1 [json_name = "relatedEntityId"]; + {PROTOBUF_FIELD_OFFSET(Relationship, _impl_.related_entity_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string relationship_id = 2 [json_name = "relationshipId"]; + {PROTOBUF_FIELD_OFFSET(Relationship, _impl_.relationship_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.RelationshipType relationship_type = 3 [json_name = "relationshipType"]; + {PROTOBUF_FIELD_OFFSET(Relationship, _impl_.relationship_type_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RelationshipType>()}, + }}, {{ + "\45\21\17\0\0\0\0\0" + "anduril.entitymanager.v1.Relationship" + "related_entity_id" + "relationship_id" + }}, +}; + +PROTOBUF_NOINLINE void Relationship::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Relationship) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.related_entity_id_.ClearToEmpty(); + _impl_.relationship_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.relationship_type_ != nullptr); + _impl_.relationship_type_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Relationship::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Relationship& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Relationship::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Relationship& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Relationship) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string related_entity_id = 1 [json_name = "relatedEntityId"]; + if (!this_._internal_related_entity_id().empty()) { + const std::string& _s = this_._internal_related_entity_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Relationship.related_entity_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string relationship_id = 2 [json_name = "relationshipId"]; + if (!this_._internal_relationship_id().empty()) { + const std::string& _s = this_._internal_relationship_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Relationship.relationship_id"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.RelationshipType relationship_type = 3 [json_name = "relationshipType"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.relationship_type_, this_._impl_.relationship_type_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Relationship) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Relationship::ByteSizeLong(const MessageLite& base) { + const Relationship& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Relationship::ByteSizeLong() const { + const Relationship& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Relationship) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string related_entity_id = 1 [json_name = "relatedEntityId"]; + if (!this_._internal_related_entity_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_related_entity_id()); + } + // string relationship_id = 2 [json_name = "relationshipId"]; + if (!this_._internal_relationship_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_relationship_id()); + } + } + { + // .anduril.entitymanager.v1.RelationshipType relationship_type = 3 [json_name = "relationshipType"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.relationship_type_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Relationship::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Relationship) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_related_entity_id().empty()) { + _this->_internal_set_related_entity_id(from._internal_related_entity_id()); + } + if (!from._internal_relationship_id().empty()) { + _this->_internal_set_relationship_id(from._internal_relationship_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.relationship_type_ != nullptr); + if (_this->_impl_.relationship_type_ == nullptr) { + _this->_impl_.relationship_type_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RelationshipType>(arena, *from._impl_.relationship_type_); + } else { + _this->_impl_.relationship_type_->MergeFrom(*from._impl_.relationship_type_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Relationship::CopyFrom(const Relationship& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Relationship) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Relationship::InternalSwap(Relationship* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.related_entity_id_, &other->_impl_.related_entity_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.relationship_id_, &other->_impl_.relationship_id_, arena); + swap(_impl_.relationship_type_, other->_impl_.relationship_type_); +} + +::google::protobuf::Metadata Relationship::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class RelationshipType::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RelationshipType, _impl_._oneof_case_); +}; + +void RelationshipType::set_allocated_tracked_by(::anduril::entitymanager::v1::TrackedBy* tracked_by) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (tracked_by) { + ::google::protobuf::Arena* submessage_arena = tracked_by->GetArena(); + if (message_arena != submessage_arena) { + tracked_by = ::google::protobuf::internal::GetOwnedMessage(message_arena, tracked_by, submessage_arena); + } + set_has_tracked_by(); + _impl_.type_.tracked_by_ = tracked_by; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RelationshipType.tracked_by) +} +void RelationshipType::set_allocated_group_child(::anduril::entitymanager::v1::GroupChild* group_child) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (group_child) { + ::google::protobuf::Arena* submessage_arena = group_child->GetArena(); + if (message_arena != submessage_arena) { + group_child = ::google::protobuf::internal::GetOwnedMessage(message_arena, group_child, submessage_arena); + } + set_has_group_child(); + _impl_.type_.group_child_ = group_child; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RelationshipType.group_child) +} +void RelationshipType::set_allocated_group_parent(::anduril::entitymanager::v1::GroupParent* group_parent) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (group_parent) { + ::google::protobuf::Arena* submessage_arena = group_parent->GetArena(); + if (message_arena != submessage_arena) { + group_parent = ::google::protobuf::internal::GetOwnedMessage(message_arena, group_parent, submessage_arena); + } + set_has_group_parent(); + _impl_.type_.group_parent_ = group_parent; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RelationshipType.group_parent) +} +void RelationshipType::set_allocated_merged_from(::anduril::entitymanager::v1::MergedFrom* merged_from) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (merged_from) { + ::google::protobuf::Arena* submessage_arena = merged_from->GetArena(); + if (message_arena != submessage_arena) { + merged_from = ::google::protobuf::internal::GetOwnedMessage(message_arena, merged_from, submessage_arena); + } + set_has_merged_from(); + _impl_.type_.merged_from_ = merged_from; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RelationshipType.merged_from) +} +RelationshipType::RelationshipType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RelationshipType) +} +inline PROTOBUF_NDEBUG_INLINE RelationshipType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::RelationshipType& from_msg) + : type_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +RelationshipType::RelationshipType( + ::google::protobuf::Arena* arena, + const RelationshipType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RelationshipType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (type_case()) { + case TYPE_NOT_SET: + break; + case kTrackedBy: + _impl_.type_.tracked_by_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TrackedBy>(arena, *from._impl_.type_.tracked_by_); + break; + case kGroupChild: + _impl_.type_.group_child_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GroupChild>(arena, *from._impl_.type_.group_child_); + break; + case kGroupParent: + _impl_.type_.group_parent_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GroupParent>(arena, *from._impl_.type_.group_parent_); + break; + case kMergedFrom: + _impl_.type_.merged_from_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::MergedFrom>(arena, *from._impl_.type_.merged_from_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RelationshipType) +} +inline PROTOBUF_NDEBUG_INLINE RelationshipType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : type_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void RelationshipType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +RelationshipType::~RelationshipType() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RelationshipType) + SharedDtor(*this); +} +inline void RelationshipType::SharedDtor(MessageLite& self) { + RelationshipType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_type()) { + this_.clear_type(); + } + this_._impl_.~Impl_(); +} + +void RelationshipType::clear_type() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.RelationshipType) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (type_case()) { + case kTrackedBy: { + if (GetArena() == nullptr) { + delete _impl_.type_.tracked_by_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.tracked_by_); + } + break; + } + case kGroupChild: { + if (GetArena() == nullptr) { + delete _impl_.type_.group_child_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.group_child_); + } + break; + } + case kGroupParent: { + if (GetArena() == nullptr) { + delete _impl_.type_.group_parent_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.group_parent_); + } + break; + } + case kMergedFrom: { + if (GetArena() == nullptr) { + delete _impl_.type_.merged_from_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.merged_from_); + } + break; + } + case TYPE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = TYPE_NOT_SET; +} + + +inline void* RelationshipType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RelationshipType(arena); +} +constexpr auto RelationshipType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RelationshipType), + alignof(RelationshipType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RelationshipType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RelationshipType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RelationshipType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RelationshipType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RelationshipType::ByteSizeLong, + &RelationshipType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RelationshipType, _impl_._cached_size_), + false, + }, + &RelationshipType::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RelationshipType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 4, 4, 0, 2> RelationshipType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 6, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967237, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RelationshipType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.TrackedBy tracked_by = 2 [json_name = "trackedBy"]; + {PROTOBUF_FIELD_OFFSET(RelationshipType, _impl_.type_.tracked_by_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GroupChild group_child = 4 [json_name = "groupChild"]; + {PROTOBUF_FIELD_OFFSET(RelationshipType, _impl_.type_.group_child_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.GroupParent group_parent = 5 [json_name = "groupParent"]; + {PROTOBUF_FIELD_OFFSET(RelationshipType, _impl_.type_.group_parent_), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.MergedFrom merged_from = 6 [json_name = "mergedFrom"]; + {PROTOBUF_FIELD_OFFSET(RelationshipType, _impl_.type_.merged_from_), _Internal::kOneofCaseOffset + 0, 3, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TrackedBy>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GroupChild>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GroupParent>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::MergedFrom>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void RelationshipType::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RelationshipType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_type(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RelationshipType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RelationshipType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RelationshipType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RelationshipType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RelationshipType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.type_case()) { + case kTrackedBy: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.type_.tracked_by_, this_._impl_.type_.tracked_by_->GetCachedSize(), target, + stream); + break; + } + case kGroupChild: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.type_.group_child_, this_._impl_.type_.group_child_->GetCachedSize(), target, + stream); + break; + } + case kGroupParent: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.type_.group_parent_, this_._impl_.type_.group_parent_->GetCachedSize(), target, + stream); + break; + } + case kMergedFrom: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.type_.merged_from_, this_._impl_.type_.merged_from_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RelationshipType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RelationshipType::ByteSizeLong(const MessageLite& base) { + const RelationshipType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RelationshipType::ByteSizeLong() const { + const RelationshipType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RelationshipType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.type_case()) { + // .anduril.entitymanager.v1.TrackedBy tracked_by = 2 [json_name = "trackedBy"]; + case kTrackedBy: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.tracked_by_); + break; + } + // .anduril.entitymanager.v1.GroupChild group_child = 4 [json_name = "groupChild"]; + case kGroupChild: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.group_child_); + break; + } + // .anduril.entitymanager.v1.GroupParent group_parent = 5 [json_name = "groupParent"]; + case kGroupParent: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.group_parent_); + break; + } + // .anduril.entitymanager.v1.MergedFrom merged_from = 6 [json_name = "mergedFrom"]; + case kMergedFrom: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.merged_from_); + break; + } + case TYPE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RelationshipType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RelationshipType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_type(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kTrackedBy: { + if (oneof_needs_init) { + _this->_impl_.type_.tracked_by_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::TrackedBy>(arena, *from._impl_.type_.tracked_by_); + } else { + _this->_impl_.type_.tracked_by_->MergeFrom(from._internal_tracked_by()); + } + break; + } + case kGroupChild: { + if (oneof_needs_init) { + _this->_impl_.type_.group_child_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GroupChild>(arena, *from._impl_.type_.group_child_); + } else { + _this->_impl_.type_.group_child_->MergeFrom(from._internal_group_child()); + } + break; + } + case kGroupParent: { + if (oneof_needs_init) { + _this->_impl_.type_.group_parent_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::GroupParent>(arena, *from._impl_.type_.group_parent_); + } else { + _this->_impl_.type_.group_parent_->MergeFrom(from._internal_group_parent()); + } + break; + } + case kMergedFrom: { + if (oneof_needs_init) { + _this->_impl_.type_.merged_from_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::MergedFrom>(arena, *from._impl_.type_.merged_from_); + } else { + _this->_impl_.type_.merged_from_->MergeFrom(from._internal_merged_from()); + } + break; + } + case TYPE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RelationshipType::CopyFrom(const RelationshipType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RelationshipType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RelationshipType::InternalSwap(RelationshipType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.type_, other->_impl_.type_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata RelationshipType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class TrackedBy::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_._has_bits_); +}; + +void TrackedBy::clear_actively_tracking_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.actively_tracking_sensors_ != nullptr) _impl_.actively_tracking_sensors_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void TrackedBy::clear_last_measurement_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.last_measurement_timestamp_ != nullptr) _impl_.last_measurement_timestamp_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +TrackedBy::TrackedBy(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.TrackedBy) +} +inline PROTOBUF_NDEBUG_INLINE TrackedBy::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::TrackedBy& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TrackedBy::TrackedBy( + ::google::protobuf::Arena* arena, + const TrackedBy& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TrackedBy* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.actively_tracking_sensors_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Sensors>( + arena, *from._impl_.actively_tracking_sensors_) + : nullptr; + _impl_.last_measurement_timestamp_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.last_measurement_timestamp_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.TrackedBy) +} +inline PROTOBUF_NDEBUG_INLINE TrackedBy::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TrackedBy::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, actively_tracking_sensors_), + 0, + offsetof(Impl_, last_measurement_timestamp_) - + offsetof(Impl_, actively_tracking_sensors_) + + sizeof(Impl_::last_measurement_timestamp_)); +} +TrackedBy::~TrackedBy() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.TrackedBy) + SharedDtor(*this); +} +inline void TrackedBy::SharedDtor(MessageLite& self) { + TrackedBy& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.actively_tracking_sensors_; + delete this_._impl_.last_measurement_timestamp_; + this_._impl_.~Impl_(); +} + +inline void* TrackedBy::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackedBy(arena); +} +constexpr auto TrackedBy::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackedBy), + alignof(TrackedBy)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull TrackedBy::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_TrackedBy_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TrackedBy::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TrackedBy::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &TrackedBy::ByteSizeLong, + &TrackedBy::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_._cached_size_), + false, + }, + &TrackedBy::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackedBy::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> TrackedBy::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TrackedBy>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.Timestamp last_measurement_timestamp = 2 [json_name = "lastMeasurementTimestamp"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_.last_measurement_timestamp_)}}, + // .anduril.entitymanager.v1.Sensors actively_tracking_sensors = 1 [json_name = "activelyTrackingSensors"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_.actively_tracking_sensors_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Sensors actively_tracking_sensors = 1 [json_name = "activelyTrackingSensors"]; + {PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_.actively_tracking_sensors_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp last_measurement_timestamp = 2 [json_name = "lastMeasurementTimestamp"]; + {PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_.last_measurement_timestamp_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Sensors>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TrackedBy::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.TrackedBy) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.actively_tracking_sensors_ != nullptr); + _impl_.actively_tracking_sensors_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.last_measurement_timestamp_ != nullptr); + _impl_.last_measurement_timestamp_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TrackedBy::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TrackedBy& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TrackedBy::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TrackedBy& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.TrackedBy) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Sensors actively_tracking_sensors = 1 [json_name = "activelyTrackingSensors"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.actively_tracking_sensors_, this_._impl_.actively_tracking_sensors_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.Timestamp last_measurement_timestamp = 2 [json_name = "lastMeasurementTimestamp"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.last_measurement_timestamp_, this_._impl_.last_measurement_timestamp_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.TrackedBy) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t TrackedBy::ByteSizeLong(const MessageLite& base) { + const TrackedBy& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TrackedBy::ByteSizeLong() const { + const TrackedBy& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.TrackedBy) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Sensors actively_tracking_sensors = 1 [json_name = "activelyTrackingSensors"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.actively_tracking_sensors_); + } + // .google.protobuf.Timestamp last_measurement_timestamp = 2 [json_name = "lastMeasurementTimestamp"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.last_measurement_timestamp_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void TrackedBy::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.TrackedBy) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.actively_tracking_sensors_ != nullptr); + if (_this->_impl_.actively_tracking_sensors_ == nullptr) { + _this->_impl_.actively_tracking_sensors_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Sensors>(arena, *from._impl_.actively_tracking_sensors_); + } else { + _this->_impl_.actively_tracking_sensors_->MergeFrom(*from._impl_.actively_tracking_sensors_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.last_measurement_timestamp_ != nullptr); + if (_this->_impl_.last_measurement_timestamp_ == nullptr) { + _this->_impl_.last_measurement_timestamp_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.last_measurement_timestamp_); + } else { + _this->_impl_.last_measurement_timestamp_->MergeFrom(*from._impl_.last_measurement_timestamp_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TrackedBy::CopyFrom(const TrackedBy& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.TrackedBy) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TrackedBy::InternalSwap(TrackedBy* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_.last_measurement_timestamp_) + + sizeof(TrackedBy::_impl_.last_measurement_timestamp_) + - PROTOBUF_FIELD_OFFSET(TrackedBy, _impl_.actively_tracking_sensors_)>( + reinterpret_cast(&_impl_.actively_tracking_sensors_), + reinterpret_cast(&other->_impl_.actively_tracking_sensors_)); +} + +::google::protobuf::Metadata TrackedBy::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GroupChild::_Internal { + public: +}; + +GroupChild::GroupChild(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GroupChild) +} +GroupChild::GroupChild( + ::google::protobuf::Arena* arena, + const GroupChild& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GroupChild* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GroupChild) +} + +inline void* GroupChild::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GroupChild(arena); +} +constexpr auto GroupChild::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GroupChild), + alignof(GroupChild)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GroupChild::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GroupChild_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GroupChild::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GroupChild::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GroupChild::ByteSizeLong, + &GroupChild::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GroupChild, _impl_._cached_size_), + false, + }, + &GroupChild::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GroupChild::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GroupChild::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GroupChild>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata GroupChild::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class GroupParent::_Internal { + public: +}; + +GroupParent::GroupParent(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.GroupParent) +} +GroupParent::GroupParent( + ::google::protobuf::Arena* arena, + const GroupParent& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GroupParent* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.GroupParent) +} + +inline void* GroupParent::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GroupParent(arena); +} +constexpr auto GroupParent::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GroupParent), + alignof(GroupParent)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull GroupParent::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GroupParent_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GroupParent::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GroupParent::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GroupParent::ByteSizeLong, + &GroupParent::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GroupParent, _impl_._cached_size_), + false, + }, + &GroupParent::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GroupParent::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GroupParent::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::GroupParent>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata GroupParent::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class MergedFrom::_Internal { + public: +}; + +MergedFrom::MergedFrom(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.MergedFrom) +} +MergedFrom::MergedFrom( + ::google::protobuf::Arena* arena, + const MergedFrom& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MergedFrom* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.MergedFrom) +} + +inline void* MergedFrom::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) MergedFrom(arena); +} +constexpr auto MergedFrom::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MergedFrom), + alignof(MergedFrom)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull MergedFrom::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_MergedFrom_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MergedFrom::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MergedFrom::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &MergedFrom::ByteSizeLong, + &MergedFrom::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MergedFrom, _impl_._cached_size_), + false, + }, + &MergedFrom::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* MergedFrom::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MergedFrom::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::MergedFrom>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata MergedFrom::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/relationship.pub.pb.h b/src/anduril/entitymanager/v1/relationship.pub.pb.h new file mode 100644 index 0000000..3d4ebc5 --- /dev/null +++ b/src/anduril/entitymanager/v1/relationship.pub.pb.h @@ -0,0 +1,2265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/relationship.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/sensors.pub.pb.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class GroupChild; +struct GroupChildDefaultTypeInternal; +extern GroupChildDefaultTypeInternal _GroupChild_default_instance_; +class GroupParent; +struct GroupParentDefaultTypeInternal; +extern GroupParentDefaultTypeInternal _GroupParent_default_instance_; +class MergedFrom; +struct MergedFromDefaultTypeInternal; +extern MergedFromDefaultTypeInternal _MergedFrom_default_instance_; +class Relationship; +struct RelationshipDefaultTypeInternal; +extern RelationshipDefaultTypeInternal _Relationship_default_instance_; +class RelationshipType; +struct RelationshipTypeDefaultTypeInternal; +extern RelationshipTypeDefaultTypeInternal _RelationshipType_default_instance_; +class Relationships; +struct RelationshipsDefaultTypeInternal; +extern RelationshipsDefaultTypeInternal _Relationships_default_instance_; +class TrackedBy; +struct TrackedByDefaultTypeInternal; +extern TrackedByDefaultTypeInternal _TrackedBy_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class MergedFrom final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.MergedFrom) */ { + public: + inline MergedFrom() : MergedFrom(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MergedFrom* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MergedFrom)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MergedFrom( + ::google::protobuf::internal::ConstantInitialized); + + inline MergedFrom(const MergedFrom& from) : MergedFrom(nullptr, from) {} + inline MergedFrom(MergedFrom&& from) noexcept + : MergedFrom(nullptr, std::move(from)) {} + inline MergedFrom& operator=(const MergedFrom& from) { + CopyFrom(from); + return *this; + } + inline MergedFrom& operator=(MergedFrom&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const MergedFrom& default_instance() { + return *internal_default_instance(); + } + static inline const MergedFrom* internal_default_instance() { + return reinterpret_cast( + &_MergedFrom_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(MergedFrom& a, MergedFrom& b) { a.Swap(&b); } + inline void Swap(MergedFrom* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MergedFrom* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MergedFrom* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const MergedFrom& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const MergedFrom& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.MergedFrom"; } + + protected: + explicit MergedFrom(::google::protobuf::Arena* arena); + MergedFrom(::google::protobuf::Arena* arena, const MergedFrom& from); + MergedFrom(::google::protobuf::Arena* arena, MergedFrom&& from) noexcept + : MergedFrom(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.MergedFrom) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const MergedFrom& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GroupParent final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GroupParent) */ { + public: + inline GroupParent() : GroupParent(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GroupParent* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GroupParent)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GroupParent( + ::google::protobuf::internal::ConstantInitialized); + + inline GroupParent(const GroupParent& from) : GroupParent(nullptr, from) {} + inline GroupParent(GroupParent&& from) noexcept + : GroupParent(nullptr, std::move(from)) {} + inline GroupParent& operator=(const GroupParent& from) { + CopyFrom(from); + return *this; + } + inline GroupParent& operator=(GroupParent&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GroupParent& default_instance() { + return *internal_default_instance(); + } + static inline const GroupParent* internal_default_instance() { + return reinterpret_cast( + &_GroupParent_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(GroupParent& a, GroupParent& b) { a.Swap(&b); } + inline void Swap(GroupParent* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GroupParent* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GroupParent* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GroupParent& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GroupParent& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GroupParent"; } + + protected: + explicit GroupParent(::google::protobuf::Arena* arena); + GroupParent(::google::protobuf::Arena* arena, const GroupParent& from); + GroupParent(::google::protobuf::Arena* arena, GroupParent&& from) noexcept + : GroupParent(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GroupParent) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GroupParent& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class GroupChild final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.GroupChild) */ { + public: + inline GroupChild() : GroupChild(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GroupChild* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GroupChild)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GroupChild( + ::google::protobuf::internal::ConstantInitialized); + + inline GroupChild(const GroupChild& from) : GroupChild(nullptr, from) {} + inline GroupChild(GroupChild&& from) noexcept + : GroupChild(nullptr, std::move(from)) {} + inline GroupChild& operator=(const GroupChild& from) { + CopyFrom(from); + return *this; + } + inline GroupChild& operator=(GroupChild&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GroupChild& default_instance() { + return *internal_default_instance(); + } + static inline const GroupChild* internal_default_instance() { + return reinterpret_cast( + &_GroupChild_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(GroupChild& a, GroupChild& b) { a.Swap(&b); } + inline void Swap(GroupChild* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GroupChild* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GroupChild* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GroupChild& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GroupChild& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.GroupChild"; } + + protected: + explicit GroupChild(::google::protobuf::Arena* arena); + GroupChild(::google::protobuf::Arena* arena, const GroupChild& from); + GroupChild(::google::protobuf::Arena* arena, GroupChild&& from) noexcept + : GroupChild(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.GroupChild) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GroupChild& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class TrackedBy final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.TrackedBy) */ { + public: + inline TrackedBy() : TrackedBy(nullptr) {} + ~TrackedBy() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TrackedBy* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TrackedBy)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TrackedBy( + ::google::protobuf::internal::ConstantInitialized); + + inline TrackedBy(const TrackedBy& from) : TrackedBy(nullptr, from) {} + inline TrackedBy(TrackedBy&& from) noexcept + : TrackedBy(nullptr, std::move(from)) {} + inline TrackedBy& operator=(const TrackedBy& from) { + CopyFrom(from); + return *this; + } + inline TrackedBy& operator=(TrackedBy&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TrackedBy& default_instance() { + return *internal_default_instance(); + } + static inline const TrackedBy* internal_default_instance() { + return reinterpret_cast( + &_TrackedBy_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(TrackedBy& a, TrackedBy& b) { a.Swap(&b); } + inline void Swap(TrackedBy* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TrackedBy* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TrackedBy* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TrackedBy& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TrackedBy& from) { TrackedBy::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TrackedBy* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.TrackedBy"; } + + protected: + explicit TrackedBy(::google::protobuf::Arena* arena); + TrackedBy(::google::protobuf::Arena* arena, const TrackedBy& from); + TrackedBy(::google::protobuf::Arena* arena, TrackedBy&& from) noexcept + : TrackedBy(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActivelyTrackingSensorsFieldNumber = 1, + kLastMeasurementTimestampFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Sensors actively_tracking_sensors = 1 [json_name = "activelyTrackingSensors"]; + bool has_actively_tracking_sensors() const; + void clear_actively_tracking_sensors() ; + const ::anduril::entitymanager::v1::Sensors& actively_tracking_sensors() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Sensors* release_actively_tracking_sensors(); + ::anduril::entitymanager::v1::Sensors* mutable_actively_tracking_sensors(); + void set_allocated_actively_tracking_sensors(::anduril::entitymanager::v1::Sensors* value); + void unsafe_arena_set_allocated_actively_tracking_sensors(::anduril::entitymanager::v1::Sensors* value); + ::anduril::entitymanager::v1::Sensors* unsafe_arena_release_actively_tracking_sensors(); + + private: + const ::anduril::entitymanager::v1::Sensors& _internal_actively_tracking_sensors() const; + ::anduril::entitymanager::v1::Sensors* _internal_mutable_actively_tracking_sensors(); + + public: + // .google.protobuf.Timestamp last_measurement_timestamp = 2 [json_name = "lastMeasurementTimestamp"]; + bool has_last_measurement_timestamp() const; + void clear_last_measurement_timestamp() ; + const ::google::protobuf::Timestamp& last_measurement_timestamp() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_last_measurement_timestamp(); + ::google::protobuf::Timestamp* mutable_last_measurement_timestamp(); + void set_allocated_last_measurement_timestamp(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_last_measurement_timestamp(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_last_measurement_timestamp(); + + private: + const ::google::protobuf::Timestamp& _internal_last_measurement_timestamp() const; + ::google::protobuf::Timestamp* _internal_mutable_last_measurement_timestamp(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.TrackedBy) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TrackedBy& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Sensors* actively_tracking_sensors_; + ::google::protobuf::Timestamp* last_measurement_timestamp_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class RelationshipType final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RelationshipType) */ { + public: + inline RelationshipType() : RelationshipType(nullptr) {} + ~RelationshipType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RelationshipType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RelationshipType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RelationshipType( + ::google::protobuf::internal::ConstantInitialized); + + inline RelationshipType(const RelationshipType& from) : RelationshipType(nullptr, from) {} + inline RelationshipType(RelationshipType&& from) noexcept + : RelationshipType(nullptr, std::move(from)) {} + inline RelationshipType& operator=(const RelationshipType& from) { + CopyFrom(from); + return *this; + } + inline RelationshipType& operator=(RelationshipType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RelationshipType& default_instance() { + return *internal_default_instance(); + } + enum TypeCase { + kTrackedBy = 2, + kGroupChild = 4, + kGroupParent = 5, + kMergedFrom = 6, + TYPE_NOT_SET = 0, + }; + static inline const RelationshipType* internal_default_instance() { + return reinterpret_cast( + &_RelationshipType_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(RelationshipType& a, RelationshipType& b) { a.Swap(&b); } + inline void Swap(RelationshipType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RelationshipType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RelationshipType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RelationshipType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RelationshipType& from) { RelationshipType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RelationshipType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RelationshipType"; } + + protected: + explicit RelationshipType(::google::protobuf::Arena* arena); + RelationshipType(::google::protobuf::Arena* arena, const RelationshipType& from); + RelationshipType(::google::protobuf::Arena* arena, RelationshipType&& from) noexcept + : RelationshipType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTrackedByFieldNumber = 2, + kGroupChildFieldNumber = 4, + kGroupParentFieldNumber = 5, + kMergedFromFieldNumber = 6, + }; + // .anduril.entitymanager.v1.TrackedBy tracked_by = 2 [json_name = "trackedBy"]; + bool has_tracked_by() const; + private: + bool _internal_has_tracked_by() const; + + public: + void clear_tracked_by() ; + const ::anduril::entitymanager::v1::TrackedBy& tracked_by() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::TrackedBy* release_tracked_by(); + ::anduril::entitymanager::v1::TrackedBy* mutable_tracked_by(); + void set_allocated_tracked_by(::anduril::entitymanager::v1::TrackedBy* value); + void unsafe_arena_set_allocated_tracked_by(::anduril::entitymanager::v1::TrackedBy* value); + ::anduril::entitymanager::v1::TrackedBy* unsafe_arena_release_tracked_by(); + + private: + const ::anduril::entitymanager::v1::TrackedBy& _internal_tracked_by() const; + ::anduril::entitymanager::v1::TrackedBy* _internal_mutable_tracked_by(); + + public: + // .anduril.entitymanager.v1.GroupChild group_child = 4 [json_name = "groupChild"]; + bool has_group_child() const; + private: + bool _internal_has_group_child() const; + + public: + void clear_group_child() ; + const ::anduril::entitymanager::v1::GroupChild& group_child() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GroupChild* release_group_child(); + ::anduril::entitymanager::v1::GroupChild* mutable_group_child(); + void set_allocated_group_child(::anduril::entitymanager::v1::GroupChild* value); + void unsafe_arena_set_allocated_group_child(::anduril::entitymanager::v1::GroupChild* value); + ::anduril::entitymanager::v1::GroupChild* unsafe_arena_release_group_child(); + + private: + const ::anduril::entitymanager::v1::GroupChild& _internal_group_child() const; + ::anduril::entitymanager::v1::GroupChild* _internal_mutable_group_child(); + + public: + // .anduril.entitymanager.v1.GroupParent group_parent = 5 [json_name = "groupParent"]; + bool has_group_parent() const; + private: + bool _internal_has_group_parent() const; + + public: + void clear_group_parent() ; + const ::anduril::entitymanager::v1::GroupParent& group_parent() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::GroupParent* release_group_parent(); + ::anduril::entitymanager::v1::GroupParent* mutable_group_parent(); + void set_allocated_group_parent(::anduril::entitymanager::v1::GroupParent* value); + void unsafe_arena_set_allocated_group_parent(::anduril::entitymanager::v1::GroupParent* value); + ::anduril::entitymanager::v1::GroupParent* unsafe_arena_release_group_parent(); + + private: + const ::anduril::entitymanager::v1::GroupParent& _internal_group_parent() const; + ::anduril::entitymanager::v1::GroupParent* _internal_mutable_group_parent(); + + public: + // .anduril.entitymanager.v1.MergedFrom merged_from = 6 [json_name = "mergedFrom"]; + bool has_merged_from() const; + private: + bool _internal_has_merged_from() const; + + public: + void clear_merged_from() ; + const ::anduril::entitymanager::v1::MergedFrom& merged_from() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::MergedFrom* release_merged_from(); + ::anduril::entitymanager::v1::MergedFrom* mutable_merged_from(); + void set_allocated_merged_from(::anduril::entitymanager::v1::MergedFrom* value); + void unsafe_arena_set_allocated_merged_from(::anduril::entitymanager::v1::MergedFrom* value); + ::anduril::entitymanager::v1::MergedFrom* unsafe_arena_release_merged_from(); + + private: + const ::anduril::entitymanager::v1::MergedFrom& _internal_merged_from() const; + ::anduril::entitymanager::v1::MergedFrom* _internal_mutable_merged_from(); + + public: + void clear_type(); + TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RelationshipType) + private: + class _Internal; + void set_has_tracked_by(); + void set_has_group_child(); + void set_has_group_parent(); + void set_has_merged_from(); + inline bool has_type() const; + inline void clear_has_type(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RelationshipType& from_msg); + union TypeUnion { + constexpr TypeUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::TrackedBy* tracked_by_; + ::anduril::entitymanager::v1::GroupChild* group_child_; + ::anduril::entitymanager::v1::GroupParent* group_parent_; + ::anduril::entitymanager::v1::MergedFrom* merged_from_; + } type_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Relationship final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Relationship) */ { + public: + inline Relationship() : Relationship(nullptr) {} + ~Relationship() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Relationship* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Relationship)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Relationship( + ::google::protobuf::internal::ConstantInitialized); + + inline Relationship(const Relationship& from) : Relationship(nullptr, from) {} + inline Relationship(Relationship&& from) noexcept + : Relationship(nullptr, std::move(from)) {} + inline Relationship& operator=(const Relationship& from) { + CopyFrom(from); + return *this; + } + inline Relationship& operator=(Relationship&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Relationship& default_instance() { + return *internal_default_instance(); + } + static inline const Relationship* internal_default_instance() { + return reinterpret_cast( + &_Relationship_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Relationship& a, Relationship& b) { a.Swap(&b); } + inline void Swap(Relationship* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Relationship* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Relationship* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Relationship& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Relationship& from) { Relationship::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Relationship* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Relationship"; } + + protected: + explicit Relationship(::google::protobuf::Arena* arena); + Relationship(::google::protobuf::Arena* arena, const Relationship& from); + Relationship(::google::protobuf::Arena* arena, Relationship&& from) noexcept + : Relationship(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRelatedEntityIdFieldNumber = 1, + kRelationshipIdFieldNumber = 2, + kRelationshipTypeFieldNumber = 3, + }; + // string related_entity_id = 1 [json_name = "relatedEntityId"]; + void clear_related_entity_id() ; + const std::string& related_entity_id() const; + template + void set_related_entity_id(Arg_&& arg, Args_... args); + std::string* mutable_related_entity_id(); + PROTOBUF_NODISCARD std::string* release_related_entity_id(); + void set_allocated_related_entity_id(std::string* value); + + private: + const std::string& _internal_related_entity_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_related_entity_id( + const std::string& value); + std::string* _internal_mutable_related_entity_id(); + + public: + // string relationship_id = 2 [json_name = "relationshipId"]; + void clear_relationship_id() ; + const std::string& relationship_id() const; + template + void set_relationship_id(Arg_&& arg, Args_... args); + std::string* mutable_relationship_id(); + PROTOBUF_NODISCARD std::string* release_relationship_id(); + void set_allocated_relationship_id(std::string* value); + + private: + const std::string& _internal_relationship_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_relationship_id( + const std::string& value); + std::string* _internal_mutable_relationship_id(); + + public: + // .anduril.entitymanager.v1.RelationshipType relationship_type = 3 [json_name = "relationshipType"]; + bool has_relationship_type() const; + void clear_relationship_type() ; + const ::anduril::entitymanager::v1::RelationshipType& relationship_type() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::RelationshipType* release_relationship_type(); + ::anduril::entitymanager::v1::RelationshipType* mutable_relationship_type(); + void set_allocated_relationship_type(::anduril::entitymanager::v1::RelationshipType* value); + void unsafe_arena_set_allocated_relationship_type(::anduril::entitymanager::v1::RelationshipType* value); + ::anduril::entitymanager::v1::RelationshipType* unsafe_arena_release_relationship_type(); + + private: + const ::anduril::entitymanager::v1::RelationshipType& _internal_relationship_type() const; + ::anduril::entitymanager::v1::RelationshipType* _internal_mutable_relationship_type(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Relationship) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 78, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Relationship& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr related_entity_id_; + ::google::protobuf::internal::ArenaStringPtr relationship_id_; + ::anduril::entitymanager::v1::RelationshipType* relationship_type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Relationships final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Relationships) */ { + public: + inline Relationships() : Relationships(nullptr) {} + ~Relationships() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Relationships* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Relationships)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Relationships( + ::google::protobuf::internal::ConstantInitialized); + + inline Relationships(const Relationships& from) : Relationships(nullptr, from) {} + inline Relationships(Relationships&& from) noexcept + : Relationships(nullptr, std::move(from)) {} + inline Relationships& operator=(const Relationships& from) { + CopyFrom(from); + return *this; + } + inline Relationships& operator=(Relationships&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Relationships& default_instance() { + return *internal_default_instance(); + } + static inline const Relationships* internal_default_instance() { + return reinterpret_cast( + &_Relationships_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Relationships& a, Relationships& b) { a.Swap(&b); } + inline void Swap(Relationships* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Relationships* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Relationships* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Relationships& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Relationships& from) { Relationships::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Relationships* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Relationships"; } + + protected: + explicit Relationships(::google::protobuf::Arena* arena); + Relationships(::google::protobuf::Arena* arena, const Relationships& from); + Relationships(::google::protobuf::Arena* arena, Relationships&& from) noexcept + : Relationships(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRelationshipsFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Relationship relationships = 1 [json_name = "relationships"]; + int relationships_size() const; + private: + int _internal_relationships_size() const; + + public: + void clear_relationships() ; + ::anduril::entitymanager::v1::Relationship* mutable_relationships(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>* mutable_relationships(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>& _internal_relationships() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>* _internal_mutable_relationships(); + public: + const ::anduril::entitymanager::v1::Relationship& relationships(int index) const; + ::anduril::entitymanager::v1::Relationship* add_relationships(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>& relationships() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Relationships) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Relationships& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Relationship > relationships_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Relationships + +// repeated .anduril.entitymanager.v1.Relationship relationships = 1 [json_name = "relationships"]; +inline int Relationships::_internal_relationships_size() const { + return _internal_relationships().size(); +} +inline int Relationships::relationships_size() const { + return _internal_relationships_size(); +} +inline void Relationships::clear_relationships() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relationships_.Clear(); +} +inline ::anduril::entitymanager::v1::Relationship* Relationships::mutable_relationships(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Relationships.relationships) + return _internal_mutable_relationships()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>* Relationships::mutable_relationships() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Relationships.relationships) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_relationships(); +} +inline const ::anduril::entitymanager::v1::Relationship& Relationships::relationships(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Relationships.relationships) + return _internal_relationships().Get(index); +} +inline ::anduril::entitymanager::v1::Relationship* Relationships::add_relationships() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Relationship* _add = _internal_mutable_relationships()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Relationships.relationships) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>& Relationships::relationships() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Relationships.relationships) + return _internal_relationships(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>& +Relationships::_internal_relationships() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.relationships_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Relationship>* +Relationships::_internal_mutable_relationships() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.relationships_; +} + +// ------------------------------------------------------------------- + +// Relationship + +// string related_entity_id = 1 [json_name = "relatedEntityId"]; +inline void Relationship::clear_related_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.related_entity_id_.ClearToEmpty(); +} +inline const std::string& Relationship::related_entity_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Relationship.related_entity_id) + return _internal_related_entity_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Relationship::set_related_entity_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.related_entity_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Relationship.related_entity_id) +} +inline std::string* Relationship::mutable_related_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_related_entity_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Relationship.related_entity_id) + return _s; +} +inline const std::string& Relationship::_internal_related_entity_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.related_entity_id_.Get(); +} +inline void Relationship::_internal_set_related_entity_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.related_entity_id_.Set(value, GetArena()); +} +inline std::string* Relationship::_internal_mutable_related_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.related_entity_id_.Mutable( GetArena()); +} +inline std::string* Relationship::release_related_entity_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Relationship.related_entity_id) + return _impl_.related_entity_id_.Release(); +} +inline void Relationship::set_allocated_related_entity_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.related_entity_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.related_entity_id_.IsDefault()) { + _impl_.related_entity_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Relationship.related_entity_id) +} + +// string relationship_id = 2 [json_name = "relationshipId"]; +inline void Relationship::clear_relationship_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relationship_id_.ClearToEmpty(); +} +inline const std::string& Relationship::relationship_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Relationship.relationship_id) + return _internal_relationship_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Relationship::set_relationship_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relationship_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Relationship.relationship_id) +} +inline std::string* Relationship::mutable_relationship_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_relationship_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Relationship.relationship_id) + return _s; +} +inline const std::string& Relationship::_internal_relationship_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.relationship_id_.Get(); +} +inline void Relationship::_internal_set_relationship_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relationship_id_.Set(value, GetArena()); +} +inline std::string* Relationship::_internal_mutable_relationship_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.relationship_id_.Mutable( GetArena()); +} +inline std::string* Relationship::release_relationship_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Relationship.relationship_id) + return _impl_.relationship_id_.Release(); +} +inline void Relationship::set_allocated_relationship_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relationship_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.relationship_id_.IsDefault()) { + _impl_.relationship_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Relationship.relationship_id) +} + +// .anduril.entitymanager.v1.RelationshipType relationship_type = 3 [json_name = "relationshipType"]; +inline bool Relationship::has_relationship_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.relationship_type_ != nullptr); + return value; +} +inline void Relationship::clear_relationship_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.relationship_type_ != nullptr) _impl_.relationship_type_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::RelationshipType& Relationship::_internal_relationship_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::RelationshipType* p = _impl_.relationship_type_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_RelationshipType_default_instance_); +} +inline const ::anduril::entitymanager::v1::RelationshipType& Relationship::relationship_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Relationship.relationship_type) + return _internal_relationship_type(); +} +inline void Relationship::unsafe_arena_set_allocated_relationship_type(::anduril::entitymanager::v1::RelationshipType* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.relationship_type_); + } + _impl_.relationship_type_ = reinterpret_cast<::anduril::entitymanager::v1::RelationshipType*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Relationship.relationship_type) +} +inline ::anduril::entitymanager::v1::RelationshipType* Relationship::release_relationship_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::RelationshipType* released = _impl_.relationship_type_; + _impl_.relationship_type_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::RelationshipType* Relationship::unsafe_arena_release_relationship_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Relationship.relationship_type) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::RelationshipType* temp = _impl_.relationship_type_; + _impl_.relationship_type_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::RelationshipType* Relationship::_internal_mutable_relationship_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.relationship_type_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::RelationshipType>(GetArena()); + _impl_.relationship_type_ = reinterpret_cast<::anduril::entitymanager::v1::RelationshipType*>(p); + } + return _impl_.relationship_type_; +} +inline ::anduril::entitymanager::v1::RelationshipType* Relationship::mutable_relationship_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::RelationshipType* _msg = _internal_mutable_relationship_type(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Relationship.relationship_type) + return _msg; +} +inline void Relationship::set_allocated_relationship_type(::anduril::entitymanager::v1::RelationshipType* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.relationship_type_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.relationship_type_ = reinterpret_cast<::anduril::entitymanager::v1::RelationshipType*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Relationship.relationship_type) +} + +// ------------------------------------------------------------------- + +// RelationshipType + +// .anduril.entitymanager.v1.TrackedBy tracked_by = 2 [json_name = "trackedBy"]; +inline bool RelationshipType::has_tracked_by() const { + return type_case() == kTrackedBy; +} +inline bool RelationshipType::_internal_has_tracked_by() const { + return type_case() == kTrackedBy; +} +inline void RelationshipType::set_has_tracked_by() { + _impl_._oneof_case_[0] = kTrackedBy; +} +inline void RelationshipType::clear_tracked_by() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kTrackedBy) { + if (GetArena() == nullptr) { + delete _impl_.type_.tracked_by_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.tracked_by_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::TrackedBy* RelationshipType::release_tracked_by() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RelationshipType.tracked_by) + if (type_case() == kTrackedBy) { + clear_has_type(); + auto* temp = _impl_.type_.tracked_by_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.tracked_by_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::TrackedBy& RelationshipType::_internal_tracked_by() const { + return type_case() == kTrackedBy ? *_impl_.type_.tracked_by_ : reinterpret_cast<::anduril::entitymanager::v1::TrackedBy&>(::anduril::entitymanager::v1::_TrackedBy_default_instance_); +} +inline const ::anduril::entitymanager::v1::TrackedBy& RelationshipType::tracked_by() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RelationshipType.tracked_by) + return _internal_tracked_by(); +} +inline ::anduril::entitymanager::v1::TrackedBy* RelationshipType::unsafe_arena_release_tracked_by() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.RelationshipType.tracked_by) + if (type_case() == kTrackedBy) { + clear_has_type(); + auto* temp = _impl_.type_.tracked_by_; + _impl_.type_.tracked_by_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RelationshipType::unsafe_arena_set_allocated_tracked_by(::anduril::entitymanager::v1::TrackedBy* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_tracked_by(); + _impl_.type_.tracked_by_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RelationshipType.tracked_by) +} +inline ::anduril::entitymanager::v1::TrackedBy* RelationshipType::_internal_mutable_tracked_by() { + if (type_case() != kTrackedBy) { + clear_type(); + set_has_tracked_by(); + _impl_.type_.tracked_by_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::TrackedBy>(GetArena()); + } + return _impl_.type_.tracked_by_; +} +inline ::anduril::entitymanager::v1::TrackedBy* RelationshipType::mutable_tracked_by() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::TrackedBy* _msg = _internal_mutable_tracked_by(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RelationshipType.tracked_by) + return _msg; +} + +// .anduril.entitymanager.v1.GroupChild group_child = 4 [json_name = "groupChild"]; +inline bool RelationshipType::has_group_child() const { + return type_case() == kGroupChild; +} +inline bool RelationshipType::_internal_has_group_child() const { + return type_case() == kGroupChild; +} +inline void RelationshipType::set_has_group_child() { + _impl_._oneof_case_[0] = kGroupChild; +} +inline void RelationshipType::clear_group_child() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kGroupChild) { + if (GetArena() == nullptr) { + delete _impl_.type_.group_child_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.group_child_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::GroupChild* RelationshipType::release_group_child() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RelationshipType.group_child) + if (type_case() == kGroupChild) { + clear_has_type(); + auto* temp = _impl_.type_.group_child_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.group_child_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GroupChild& RelationshipType::_internal_group_child() const { + return type_case() == kGroupChild ? *_impl_.type_.group_child_ : reinterpret_cast<::anduril::entitymanager::v1::GroupChild&>(::anduril::entitymanager::v1::_GroupChild_default_instance_); +} +inline const ::anduril::entitymanager::v1::GroupChild& RelationshipType::group_child() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RelationshipType.group_child) + return _internal_group_child(); +} +inline ::anduril::entitymanager::v1::GroupChild* RelationshipType::unsafe_arena_release_group_child() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.RelationshipType.group_child) + if (type_case() == kGroupChild) { + clear_has_type(); + auto* temp = _impl_.type_.group_child_; + _impl_.type_.group_child_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RelationshipType::unsafe_arena_set_allocated_group_child(::anduril::entitymanager::v1::GroupChild* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_group_child(); + _impl_.type_.group_child_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RelationshipType.group_child) +} +inline ::anduril::entitymanager::v1::GroupChild* RelationshipType::_internal_mutable_group_child() { + if (type_case() != kGroupChild) { + clear_type(); + set_has_group_child(); + _impl_.type_.group_child_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GroupChild>(GetArena()); + } + return _impl_.type_.group_child_; +} +inline ::anduril::entitymanager::v1::GroupChild* RelationshipType::mutable_group_child() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GroupChild* _msg = _internal_mutable_group_child(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RelationshipType.group_child) + return _msg; +} + +// .anduril.entitymanager.v1.GroupParent group_parent = 5 [json_name = "groupParent"]; +inline bool RelationshipType::has_group_parent() const { + return type_case() == kGroupParent; +} +inline bool RelationshipType::_internal_has_group_parent() const { + return type_case() == kGroupParent; +} +inline void RelationshipType::set_has_group_parent() { + _impl_._oneof_case_[0] = kGroupParent; +} +inline void RelationshipType::clear_group_parent() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kGroupParent) { + if (GetArena() == nullptr) { + delete _impl_.type_.group_parent_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.group_parent_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::GroupParent* RelationshipType::release_group_parent() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RelationshipType.group_parent) + if (type_case() == kGroupParent) { + clear_has_type(); + auto* temp = _impl_.type_.group_parent_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.group_parent_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::GroupParent& RelationshipType::_internal_group_parent() const { + return type_case() == kGroupParent ? *_impl_.type_.group_parent_ : reinterpret_cast<::anduril::entitymanager::v1::GroupParent&>(::anduril::entitymanager::v1::_GroupParent_default_instance_); +} +inline const ::anduril::entitymanager::v1::GroupParent& RelationshipType::group_parent() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RelationshipType.group_parent) + return _internal_group_parent(); +} +inline ::anduril::entitymanager::v1::GroupParent* RelationshipType::unsafe_arena_release_group_parent() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.RelationshipType.group_parent) + if (type_case() == kGroupParent) { + clear_has_type(); + auto* temp = _impl_.type_.group_parent_; + _impl_.type_.group_parent_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RelationshipType::unsafe_arena_set_allocated_group_parent(::anduril::entitymanager::v1::GroupParent* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_group_parent(); + _impl_.type_.group_parent_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RelationshipType.group_parent) +} +inline ::anduril::entitymanager::v1::GroupParent* RelationshipType::_internal_mutable_group_parent() { + if (type_case() != kGroupParent) { + clear_type(); + set_has_group_parent(); + _impl_.type_.group_parent_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::GroupParent>(GetArena()); + } + return _impl_.type_.group_parent_; +} +inline ::anduril::entitymanager::v1::GroupParent* RelationshipType::mutable_group_parent() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::GroupParent* _msg = _internal_mutable_group_parent(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RelationshipType.group_parent) + return _msg; +} + +// .anduril.entitymanager.v1.MergedFrom merged_from = 6 [json_name = "mergedFrom"]; +inline bool RelationshipType::has_merged_from() const { + return type_case() == kMergedFrom; +} +inline bool RelationshipType::_internal_has_merged_from() const { + return type_case() == kMergedFrom; +} +inline void RelationshipType::set_has_merged_from() { + _impl_._oneof_case_[0] = kMergedFrom; +} +inline void RelationshipType::clear_merged_from() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kMergedFrom) { + if (GetArena() == nullptr) { + delete _impl_.type_.merged_from_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.merged_from_); + } + clear_has_type(); + } +} +inline ::anduril::entitymanager::v1::MergedFrom* RelationshipType::release_merged_from() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RelationshipType.merged_from) + if (type_case() == kMergedFrom) { + clear_has_type(); + auto* temp = _impl_.type_.merged_from_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.merged_from_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::MergedFrom& RelationshipType::_internal_merged_from() const { + return type_case() == kMergedFrom ? *_impl_.type_.merged_from_ : reinterpret_cast<::anduril::entitymanager::v1::MergedFrom&>(::anduril::entitymanager::v1::_MergedFrom_default_instance_); +} +inline const ::anduril::entitymanager::v1::MergedFrom& RelationshipType::merged_from() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RelationshipType.merged_from) + return _internal_merged_from(); +} +inline ::anduril::entitymanager::v1::MergedFrom* RelationshipType::unsafe_arena_release_merged_from() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.RelationshipType.merged_from) + if (type_case() == kMergedFrom) { + clear_has_type(); + auto* temp = _impl_.type_.merged_from_; + _impl_.type_.merged_from_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RelationshipType::unsafe_arena_set_allocated_merged_from(::anduril::entitymanager::v1::MergedFrom* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_merged_from(); + _impl_.type_.merged_from_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RelationshipType.merged_from) +} +inline ::anduril::entitymanager::v1::MergedFrom* RelationshipType::_internal_mutable_merged_from() { + if (type_case() != kMergedFrom) { + clear_type(); + set_has_merged_from(); + _impl_.type_.merged_from_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::MergedFrom>(GetArena()); + } + return _impl_.type_.merged_from_; +} +inline ::anduril::entitymanager::v1::MergedFrom* RelationshipType::mutable_merged_from() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::MergedFrom* _msg = _internal_mutable_merged_from(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RelationshipType.merged_from) + return _msg; +} + +inline bool RelationshipType::has_type() const { + return type_case() != TYPE_NOT_SET; +} +inline void RelationshipType::clear_has_type() { + _impl_._oneof_case_[0] = TYPE_NOT_SET; +} +inline RelationshipType::TypeCase RelationshipType::type_case() const { + return RelationshipType::TypeCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// TrackedBy + +// .anduril.entitymanager.v1.Sensors actively_tracking_sensors = 1 [json_name = "activelyTrackingSensors"]; +inline bool TrackedBy::has_actively_tracking_sensors() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.actively_tracking_sensors_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Sensors& TrackedBy::_internal_actively_tracking_sensors() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Sensors* p = _impl_.actively_tracking_sensors_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Sensors_default_instance_); +} +inline const ::anduril::entitymanager::v1::Sensors& TrackedBy::actively_tracking_sensors() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TrackedBy.actively_tracking_sensors) + return _internal_actively_tracking_sensors(); +} +inline void TrackedBy::unsafe_arena_set_allocated_actively_tracking_sensors(::anduril::entitymanager::v1::Sensors* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.actively_tracking_sensors_); + } + _impl_.actively_tracking_sensors_ = reinterpret_cast<::anduril::entitymanager::v1::Sensors*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TrackedBy.actively_tracking_sensors) +} +inline ::anduril::entitymanager::v1::Sensors* TrackedBy::release_actively_tracking_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Sensors* released = _impl_.actively_tracking_sensors_; + _impl_.actively_tracking_sensors_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Sensors* TrackedBy::unsafe_arena_release_actively_tracking_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TrackedBy.actively_tracking_sensors) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Sensors* temp = _impl_.actively_tracking_sensors_; + _impl_.actively_tracking_sensors_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Sensors* TrackedBy::_internal_mutable_actively_tracking_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.actively_tracking_sensors_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Sensors>(GetArena()); + _impl_.actively_tracking_sensors_ = reinterpret_cast<::anduril::entitymanager::v1::Sensors*>(p); + } + return _impl_.actively_tracking_sensors_; +} +inline ::anduril::entitymanager::v1::Sensors* TrackedBy::mutable_actively_tracking_sensors() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Sensors* _msg = _internal_mutable_actively_tracking_sensors(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TrackedBy.actively_tracking_sensors) + return _msg; +} +inline void TrackedBy::set_allocated_actively_tracking_sensors(::anduril::entitymanager::v1::Sensors* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.actively_tracking_sensors_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.actively_tracking_sensors_ = reinterpret_cast<::anduril::entitymanager::v1::Sensors*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TrackedBy.actively_tracking_sensors) +} + +// .google.protobuf.Timestamp last_measurement_timestamp = 2 [json_name = "lastMeasurementTimestamp"]; +inline bool TrackedBy::has_last_measurement_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.last_measurement_timestamp_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& TrackedBy::_internal_last_measurement_timestamp() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.last_measurement_timestamp_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& TrackedBy::last_measurement_timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TrackedBy.last_measurement_timestamp) + return _internal_last_measurement_timestamp(); +} +inline void TrackedBy::unsafe_arena_set_allocated_last_measurement_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_measurement_timestamp_); + } + _impl_.last_measurement_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TrackedBy.last_measurement_timestamp) +} +inline ::google::protobuf::Timestamp* TrackedBy::release_last_measurement_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* released = _impl_.last_measurement_timestamp_; + _impl_.last_measurement_timestamp_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* TrackedBy::unsafe_arena_release_last_measurement_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TrackedBy.last_measurement_timestamp) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* temp = _impl_.last_measurement_timestamp_; + _impl_.last_measurement_timestamp_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* TrackedBy::_internal_mutable_last_measurement_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.last_measurement_timestamp_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.last_measurement_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.last_measurement_timestamp_; +} +inline ::google::protobuf::Timestamp* TrackedBy::mutable_last_measurement_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_last_measurement_timestamp(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TrackedBy.last_measurement_timestamp) + return _msg; +} +inline void TrackedBy::set_allocated_last_measurement_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_measurement_timestamp_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.last_measurement_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TrackedBy.last_measurement_timestamp) +} + +// ------------------------------------------------------------------- + +// GroupChild + +// ------------------------------------------------------------------- + +// GroupParent + +// ------------------------------------------------------------------- + +// MergedFrom + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2frelationship_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/route_details.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/route_details.pub.grpc.pb.cc new file mode 100644 index 0000000..cd2246d --- /dev/null +++ b/src/anduril/entitymanager/v1/route_details.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/route_details.pub.proto + +#include "anduril/entitymanager/v1/route_details.pub.pb.h" +#include "anduril/entitymanager/v1/route_details.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/route_details.pub.grpc.pb.h b/src/anduril/entitymanager/v1/route_details.pub.grpc.pb.h new file mode 100644 index 0000000..6e4d6f1 --- /dev/null +++ b/src/anduril/entitymanager/v1/route_details.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/route_details.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/route_details.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/route_details.pub.pb.cc b/src/anduril/entitymanager/v1/route_details.pub.pb.cc new file mode 100644 index 0000000..489d604 --- /dev/null +++ b/src/anduril/entitymanager/v1/route_details.pub.pb.cc @@ -0,0 +1,433 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/route_details.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/route_details.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr RouteDetails::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + destination_name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + estimated_arrival_time_{nullptr} {} + +template +PROTOBUF_CONSTEXPR RouteDetails::RouteDetails(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RouteDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR RouteDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RouteDetailsDefaultTypeInternal() {} + union { + RouteDetails _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RouteDetailsDefaultTypeInternal _RouteDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RouteDetails, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RouteDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RouteDetails, _impl_.destination_name_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RouteDetails, _impl_.estimated_arrival_time_), + ~0u, + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 10, -1, sizeof(::anduril::entitymanager::v1::RouteDetails)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_RouteDetails_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n0anduril/entitymanager/v1/route_details" + ".pub.proto\022\030anduril.entitymanager.v1\032\037go" + "ogle/protobuf/timestamp.proto\"\213\001\n\014RouteD" + "etails\022)\n\020destination_name\030\001 \001(\tR\017destin" + "ationName\022P\n\026estimated_arrival_time\030\002 \001(" + "\0132\032.google.protobuf.TimestampR\024estimated" + "ArrivalTimeB\205\002\n\034com.anduril.entitymanage" + "r.v1B\024RouteDetailsPubProtoP\001ZMghe.anduri" + "l.dev/anduril/andurilapis-go/anduril/ent" + "itymanager/v1;entitymanager\242\002\003AEX\252\002\030Andu" + "ril.Entitymanager.V1\312\002\030Anduril\\Entityman" + "ager\\V1\342\002$Anduril\\Entitymanager\\V1\\GPBMe" + "tadata\352\002\032Anduril::Entitymanager::V1b\006pro" + "to3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_deps[1] = + { + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto = { + false, + false, + 523, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto, + "anduril/entitymanager/v1/route_details.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_deps, + 1, + 1, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class RouteDetails::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_._has_bits_); +}; + +void RouteDetails::clear_estimated_arrival_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.estimated_arrival_time_ != nullptr) _impl_.estimated_arrival_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +RouteDetails::RouteDetails(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RouteDetails) +} +inline PROTOBUF_NDEBUG_INLINE RouteDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::RouteDetails& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + destination_name_(arena, from.destination_name_) {} + +RouteDetails::RouteDetails( + ::google::protobuf::Arena* arena, + const RouteDetails& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RouteDetails* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.estimated_arrival_time_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.estimated_arrival_time_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RouteDetails) +} +inline PROTOBUF_NDEBUG_INLINE RouteDetails::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + destination_name_(arena) {} + +inline void RouteDetails::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.estimated_arrival_time_ = {}; +} +RouteDetails::~RouteDetails() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RouteDetails) + SharedDtor(*this); +} +inline void RouteDetails::SharedDtor(MessageLite& self) { + RouteDetails& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.destination_name_.Destroy(); + delete this_._impl_.estimated_arrival_time_; + this_._impl_.~Impl_(); +} + +inline void* RouteDetails::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RouteDetails(arena); +} +constexpr auto RouteDetails::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RouteDetails), + alignof(RouteDetails)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RouteDetails::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RouteDetails_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RouteDetails::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RouteDetails::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RouteDetails::ByteSizeLong, + &RouteDetails::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_._cached_size_), + false, + }, + &RouteDetails::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RouteDetails::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 62, 2> RouteDetails::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RouteDetails>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.Timestamp estimated_arrival_time = 2 [json_name = "estimatedArrivalTime"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_.estimated_arrival_time_)}}, + // string destination_name = 1 [json_name = "destinationName"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_.destination_name_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string destination_name = 1 [json_name = "destinationName"]; + {PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_.destination_name_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .google.protobuf.Timestamp estimated_arrival_time = 2 [json_name = "estimatedArrivalTime"]; + {PROTOBUF_FIELD_OFFSET(RouteDetails, _impl_.estimated_arrival_time_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + "\45\20\0\0\0\0\0\0" + "anduril.entitymanager.v1.RouteDetails" + "destination_name" + }}, +}; + +PROTOBUF_NOINLINE void RouteDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RouteDetails) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.destination_name_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.estimated_arrival_time_ != nullptr); + _impl_.estimated_arrival_time_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RouteDetails::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RouteDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RouteDetails::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RouteDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RouteDetails) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string destination_name = 1 [json_name = "destinationName"]; + if (!this_._internal_destination_name().empty()) { + const std::string& _s = this_._internal_destination_name(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.RouteDetails.destination_name"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp estimated_arrival_time = 2 [json_name = "estimatedArrivalTime"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.estimated_arrival_time_, this_._impl_.estimated_arrival_time_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RouteDetails) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RouteDetails::ByteSizeLong(const MessageLite& base) { + const RouteDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RouteDetails::ByteSizeLong() const { + const RouteDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RouteDetails) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string destination_name = 1 [json_name = "destinationName"]; + if (!this_._internal_destination_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_destination_name()); + } + } + { + // .google.protobuf.Timestamp estimated_arrival_time = 2 [json_name = "estimatedArrivalTime"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.estimated_arrival_time_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RouteDetails::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RouteDetails) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_destination_name().empty()) { + _this->_internal_set_destination_name(from._internal_destination_name()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.estimated_arrival_time_ != nullptr); + if (_this->_impl_.estimated_arrival_time_ == nullptr) { + _this->_impl_.estimated_arrival_time_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.estimated_arrival_time_); + } else { + _this->_impl_.estimated_arrival_time_->MergeFrom(*from._impl_.estimated_arrival_time_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RouteDetails::CopyFrom(const RouteDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RouteDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RouteDetails::InternalSwap(RouteDetails* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.destination_name_, &other->_impl_.destination_name_, arena); + swap(_impl_.estimated_arrival_time_, other->_impl_.estimated_arrival_time_); +} + +::google::protobuf::Metadata RouteDetails::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/route_details.pub.pb.h b/src/anduril/entitymanager/v1/route_details.pub.pb.h new file mode 100644 index 0000000..d596d52 --- /dev/null +++ b/src/anduril/entitymanager/v1/route_details.pub.pb.h @@ -0,0 +1,461 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/route_details.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class RouteDetails; +struct RouteDetailsDefaultTypeInternal; +extern RouteDetailsDefaultTypeInternal _RouteDetails_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class RouteDetails final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RouteDetails) */ { + public: + inline RouteDetails() : RouteDetails(nullptr) {} + ~RouteDetails() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RouteDetails* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RouteDetails)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RouteDetails( + ::google::protobuf::internal::ConstantInitialized); + + inline RouteDetails(const RouteDetails& from) : RouteDetails(nullptr, from) {} + inline RouteDetails(RouteDetails&& from) noexcept + : RouteDetails(nullptr, std::move(from)) {} + inline RouteDetails& operator=(const RouteDetails& from) { + CopyFrom(from); + return *this; + } + inline RouteDetails& operator=(RouteDetails&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RouteDetails& default_instance() { + return *internal_default_instance(); + } + static inline const RouteDetails* internal_default_instance() { + return reinterpret_cast( + &_RouteDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(RouteDetails& a, RouteDetails& b) { a.Swap(&b); } + inline void Swap(RouteDetails* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RouteDetails* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RouteDetails* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RouteDetails& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RouteDetails& from) { RouteDetails::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RouteDetails* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RouteDetails"; } + + protected: + explicit RouteDetails(::google::protobuf::Arena* arena); + RouteDetails(::google::protobuf::Arena* arena, const RouteDetails& from); + RouteDetails(::google::protobuf::Arena* arena, RouteDetails&& from) noexcept + : RouteDetails(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDestinationNameFieldNumber = 1, + kEstimatedArrivalTimeFieldNumber = 2, + }; + // string destination_name = 1 [json_name = "destinationName"]; + void clear_destination_name() ; + const std::string& destination_name() const; + template + void set_destination_name(Arg_&& arg, Args_... args); + std::string* mutable_destination_name(); + PROTOBUF_NODISCARD std::string* release_destination_name(); + void set_allocated_destination_name(std::string* value); + + private: + const std::string& _internal_destination_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_destination_name( + const std::string& value); + std::string* _internal_mutable_destination_name(); + + public: + // .google.protobuf.Timestamp estimated_arrival_time = 2 [json_name = "estimatedArrivalTime"]; + bool has_estimated_arrival_time() const; + void clear_estimated_arrival_time() ; + const ::google::protobuf::Timestamp& estimated_arrival_time() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_estimated_arrival_time(); + ::google::protobuf::Timestamp* mutable_estimated_arrival_time(); + void set_allocated_estimated_arrival_time(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_estimated_arrival_time(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_estimated_arrival_time(); + + private: + const ::google::protobuf::Timestamp& _internal_estimated_arrival_time() const; + ::google::protobuf::Timestamp* _internal_mutable_estimated_arrival_time(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RouteDetails) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 62, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RouteDetails& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr destination_name_; + ::google::protobuf::Timestamp* estimated_arrival_time_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// RouteDetails + +// string destination_name = 1 [json_name = "destinationName"]; +inline void RouteDetails::clear_destination_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.destination_name_.ClearToEmpty(); +} +inline const std::string& RouteDetails::destination_name() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RouteDetails.destination_name) + return _internal_destination_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void RouteDetails::set_destination_name(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.destination_name_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.RouteDetails.destination_name) +} +inline std::string* RouteDetails::mutable_destination_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_destination_name(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RouteDetails.destination_name) + return _s; +} +inline const std::string& RouteDetails::_internal_destination_name() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.destination_name_.Get(); +} +inline void RouteDetails::_internal_set_destination_name(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.destination_name_.Set(value, GetArena()); +} +inline std::string* RouteDetails::_internal_mutable_destination_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.destination_name_.Mutable( GetArena()); +} +inline std::string* RouteDetails::release_destination_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RouteDetails.destination_name) + return _impl_.destination_name_.Release(); +} +inline void RouteDetails::set_allocated_destination_name(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.destination_name_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.destination_name_.IsDefault()) { + _impl_.destination_name_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RouteDetails.destination_name) +} + +// .google.protobuf.Timestamp estimated_arrival_time = 2 [json_name = "estimatedArrivalTime"]; +inline bool RouteDetails::has_estimated_arrival_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.estimated_arrival_time_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& RouteDetails::_internal_estimated_arrival_time() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.estimated_arrival_time_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& RouteDetails::estimated_arrival_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RouteDetails.estimated_arrival_time) + return _internal_estimated_arrival_time(); +} +inline void RouteDetails::unsafe_arena_set_allocated_estimated_arrival_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.estimated_arrival_time_); + } + _impl_.estimated_arrival_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.RouteDetails.estimated_arrival_time) +} +inline ::google::protobuf::Timestamp* RouteDetails::release_estimated_arrival_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.estimated_arrival_time_; + _impl_.estimated_arrival_time_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* RouteDetails::unsafe_arena_release_estimated_arrival_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.RouteDetails.estimated_arrival_time) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.estimated_arrival_time_; + _impl_.estimated_arrival_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* RouteDetails::_internal_mutable_estimated_arrival_time() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.estimated_arrival_time_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.estimated_arrival_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.estimated_arrival_time_; +} +inline ::google::protobuf::Timestamp* RouteDetails::mutable_estimated_arrival_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_estimated_arrival_time(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RouteDetails.estimated_arrival_time) + return _msg; +} +inline void RouteDetails::set_allocated_estimated_arrival_time(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.estimated_arrival_time_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.estimated_arrival_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.RouteDetails.estimated_arrival_time) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2froute_5fdetails_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/schedule.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/schedule.pub.grpc.pb.cc new file mode 100644 index 0000000..0b8faae --- /dev/null +++ b/src/anduril/entitymanager/v1/schedule.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/schedule.pub.proto + +#include "anduril/entitymanager/v1/schedule.pub.pb.h" +#include "anduril/entitymanager/v1/schedule.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/schedule.pub.grpc.pb.h b/src/anduril/entitymanager/v1/schedule.pub.grpc.pb.h new file mode 100644 index 0000000..6031cb1 --- /dev/null +++ b/src/anduril/entitymanager/v1/schedule.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/schedule.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/schedule.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/schedule.pub.pb.cc b/src/anduril/entitymanager/v1/schedule.pub.pb.cc new file mode 100644 index 0000000..57f0aea --- /dev/null +++ b/src/anduril/entitymanager/v1/schedule.pub.pb.cc @@ -0,0 +1,1031 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/schedule.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/schedule.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr CronWindow::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : cron_expression_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + duration_millis_{::uint64_t{0u}}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR CronWindow::CronWindow(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CronWindowDefaultTypeInternal { + PROTOBUF_CONSTEXPR CronWindowDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CronWindowDefaultTypeInternal() {} + union { + CronWindow _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CronWindowDefaultTypeInternal _CronWindow_default_instance_; + +inline constexpr Schedule::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : windows_{}, + schedule_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + schedule_type_{static_cast< ::anduril::entitymanager::v1::ScheduleType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Schedule::Schedule(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ScheduleDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScheduleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ScheduleDefaultTypeInternal() {} + union { + Schedule _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScheduleDefaultTypeInternal _Schedule_default_instance_; + +inline constexpr Schedules::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : schedules_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Schedules::Schedules(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SchedulesDefaultTypeInternal { + PROTOBUF_CONSTEXPR SchedulesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SchedulesDefaultTypeInternal() {} + union { + Schedules _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SchedulesDefaultTypeInternal _Schedules_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Schedules, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Schedules, _impl_.schedules_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Schedule, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Schedule, _impl_.windows_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Schedule, _impl_.schedule_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Schedule, _impl_.schedule_type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CronWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CronWindow, _impl_.cron_expression_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::CronWindow, _impl_.duration_millis_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Schedules)}, + {9, -1, -1, sizeof(::anduril::entitymanager::v1::Schedule)}, + {20, -1, -1, sizeof(::anduril::entitymanager::v1::CronWindow)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Schedules_default_instance_._instance, + &::anduril::entitymanager::v1::_Schedule_default_instance_._instance, + &::anduril::entitymanager::v1::_CronWindow_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n+anduril/entitymanager/v1/schedule.pub." + "proto\022\030anduril.entitymanager.v1\"M\n\tSched" + "ules\022@\n\tschedules\030\001 \003(\0132\".anduril.entity" + "manager.v1.ScheduleR\tschedules\"\270\001\n\010Sched" + "ule\022>\n\007windows\030\001 \003(\0132$.anduril.entityman" + "ager.v1.CronWindowR\007windows\022\037\n\013schedule_" + "id\030\002 \001(\tR\nscheduleId\022K\n\rschedule_type\030\003 " + "\001(\0162&.anduril.entitymanager.v1.ScheduleT" + "ypeR\014scheduleType\"^\n\nCronWindow\022\'\n\017cron_" + "expression\030\001 \001(\tR\016cronExpression\022\'\n\017dura" + "tion_millis\030\002 \001(\004R\016durationMillis*n\n\014Sch" + "eduleType\022\031\n\025SCHEDULE_TYPE_INVALID\020\000\022\036\n\032" + "SCHEDULE_TYPE_ZONE_ENABLED\020\001\022#\n\037SCHEDULE" + "_TYPE_ZONE_TEMP_ENABLED\020\002B\201\002\n\034com.anduri" + "l.entitymanager.v1B\020SchedulePubProtoP\001ZM" + "ghe.anduril.dev/anduril/andurilapis-go/a" + "nduril/entitymanager/v1;entitymanager\242\002\003" + "AEX\252\002\030Anduril.Entitymanager.V1\312\002\030Anduril" + "\\Entitymanager\\V1\342\002$Anduril\\Entitymanage" + "r\\V1\\GPBMetadata\352\002\032Anduril::Entitymanage" + "r::V1b\006proto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto = { + false, + false, + 813, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, + "anduril/entitymanager/v1/schedule.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto_once, + nullptr, + 0, + 3, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* ScheduleType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t ScheduleType_internal_data_[] = { + 196608u, 0u, }; +bool ScheduleType_IsValid(int value) { + return 0 <= value && value <= 2; +} +// =================================================================== + +class Schedules::_Internal { + public: +}; + +Schedules::Schedules(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Schedules) +} +inline PROTOBUF_NDEBUG_INLINE Schedules::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Schedules& from_msg) + : schedules_{visibility, arena, from.schedules_}, + _cached_size_{0} {} + +Schedules::Schedules( + ::google::protobuf::Arena* arena, + const Schedules& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Schedules* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Schedules) +} +inline PROTOBUF_NDEBUG_INLINE Schedules::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : schedules_{visibility, arena}, + _cached_size_{0} {} + +inline void Schedules::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Schedules::~Schedules() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Schedules) + SharedDtor(*this); +} +inline void Schedules::SharedDtor(MessageLite& self) { + Schedules& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Schedules::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Schedules(arena); +} +constexpr auto Schedules::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Schedules, _impl_.schedules_) + + decltype(Schedules::_impl_.schedules_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Schedules), alignof(Schedules), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Schedules::PlacementNew_, + sizeof(Schedules), + alignof(Schedules)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Schedules::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Schedules_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Schedules::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Schedules::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Schedules::ByteSizeLong, + &Schedules::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Schedules, _impl_._cached_size_), + false, + }, + &Schedules::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Schedules::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Schedules::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Schedules>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Schedule schedules = 1 [json_name = "schedules"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Schedules, _impl_.schedules_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Schedule schedules = 1 [json_name = "schedules"]; + {PROTOBUF_FIELD_OFFSET(Schedules, _impl_.schedules_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Schedule>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Schedules::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Schedules) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.schedules_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Schedules::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Schedules& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Schedules::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Schedules& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Schedules) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Schedule schedules = 1 [json_name = "schedules"]; + for (unsigned i = 0, n = static_cast( + this_._internal_schedules_size()); + i < n; i++) { + const auto& repfield = this_._internal_schedules().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Schedules) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Schedules::ByteSizeLong(const MessageLite& base) { + const Schedules& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Schedules::ByteSizeLong() const { + const Schedules& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Schedules) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Schedule schedules = 1 [json_name = "schedules"]; + { + total_size += 1UL * this_._internal_schedules_size(); + for (const auto& msg : this_._internal_schedules()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Schedules::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Schedules) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_schedules()->MergeFrom( + from._internal_schedules()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Schedules::CopyFrom(const Schedules& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Schedules) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Schedules::InternalSwap(Schedules* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.schedules_.InternalSwap(&other->_impl_.schedules_); +} + +::google::protobuf::Metadata Schedules::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Schedule::_Internal { + public: +}; + +Schedule::Schedule(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Schedule) +} +inline PROTOBUF_NDEBUG_INLINE Schedule::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Schedule& from_msg) + : windows_{visibility, arena, from.windows_}, + schedule_id_(arena, from.schedule_id_), + _cached_size_{0} {} + +Schedule::Schedule( + ::google::protobuf::Arena* arena, + const Schedule& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Schedule* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.schedule_type_ = from._impl_.schedule_type_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Schedule) +} +inline PROTOBUF_NDEBUG_INLINE Schedule::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : windows_{visibility, arena}, + schedule_id_(arena), + _cached_size_{0} {} + +inline void Schedule::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.schedule_type_ = {}; +} +Schedule::~Schedule() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Schedule) + SharedDtor(*this); +} +inline void Schedule::SharedDtor(MessageLite& self) { + Schedule& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.schedule_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Schedule::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Schedule(arena); +} +constexpr auto Schedule::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Schedule, _impl_.windows_) + + decltype(Schedule::_impl_.windows_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Schedule), alignof(Schedule), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Schedule::PlacementNew_, + sizeof(Schedule), + alignof(Schedule)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Schedule::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Schedule_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Schedule::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Schedule::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Schedule::ByteSizeLong, + &Schedule::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Schedule, _impl_._cached_size_), + false, + }, + &Schedule::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Schedule::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 53, 2> Schedule::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Schedule>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .anduril.entitymanager.v1.CronWindow windows = 1 [json_name = "windows"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Schedule, _impl_.windows_)}}, + // string schedule_id = 2 [json_name = "scheduleId"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Schedule, _impl_.schedule_id_)}}, + // .anduril.entitymanager.v1.ScheduleType schedule_type = 3 [json_name = "scheduleType"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Schedule, _impl_.schedule_type_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(Schedule, _impl_.schedule_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.CronWindow windows = 1 [json_name = "windows"]; + {PROTOBUF_FIELD_OFFSET(Schedule, _impl_.windows_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // string schedule_id = 2 [json_name = "scheduleId"]; + {PROTOBUF_FIELD_OFFSET(Schedule, _impl_.schedule_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.ScheduleType schedule_type = 3 [json_name = "scheduleType"]; + {PROTOBUF_FIELD_OFFSET(Schedule, _impl_.schedule_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CronWindow>()}, + }}, {{ + "\41\0\13\0\0\0\0\0" + "anduril.entitymanager.v1.Schedule" + "schedule_id" + }}, +}; + +PROTOBUF_NOINLINE void Schedule::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Schedule) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.windows_.Clear(); + _impl_.schedule_id_.ClearToEmpty(); + _impl_.schedule_type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Schedule::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Schedule& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Schedule::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Schedule& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Schedule) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.CronWindow windows = 1 [json_name = "windows"]; + for (unsigned i = 0, n = static_cast( + this_._internal_windows_size()); + i < n; i++) { + const auto& repfield = this_._internal_windows().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // string schedule_id = 2 [json_name = "scheduleId"]; + if (!this_._internal_schedule_id().empty()) { + const std::string& _s = this_._internal_schedule_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Schedule.schedule_id"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .anduril.entitymanager.v1.ScheduleType schedule_type = 3 [json_name = "scheduleType"]; + if (this_._internal_schedule_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_schedule_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Schedule) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Schedule::ByteSizeLong(const MessageLite& base) { + const Schedule& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Schedule::ByteSizeLong() const { + const Schedule& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Schedule) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.CronWindow windows = 1 [json_name = "windows"]; + { + total_size += 1UL * this_._internal_windows_size(); + for (const auto& msg : this_._internal_windows()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string schedule_id = 2 [json_name = "scheduleId"]; + if (!this_._internal_schedule_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_schedule_id()); + } + // .anduril.entitymanager.v1.ScheduleType schedule_type = 3 [json_name = "scheduleType"]; + if (this_._internal_schedule_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_schedule_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Schedule::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Schedule) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_windows()->MergeFrom( + from._internal_windows()); + if (!from._internal_schedule_id().empty()) { + _this->_internal_set_schedule_id(from._internal_schedule_id()); + } + if (from._internal_schedule_type() != 0) { + _this->_impl_.schedule_type_ = from._impl_.schedule_type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Schedule::CopyFrom(const Schedule& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Schedule) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Schedule::InternalSwap(Schedule* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.windows_.InternalSwap(&other->_impl_.windows_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.schedule_id_, &other->_impl_.schedule_id_, arena); + swap(_impl_.schedule_type_, other->_impl_.schedule_type_); +} + +::google::protobuf::Metadata Schedule::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class CronWindow::_Internal { + public: +}; + +CronWindow::CronWindow(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.CronWindow) +} +inline PROTOBUF_NDEBUG_INLINE CronWindow::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::CronWindow& from_msg) + : cron_expression_(arena, from.cron_expression_), + _cached_size_{0} {} + +CronWindow::CronWindow( + ::google::protobuf::Arena* arena, + const CronWindow& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CronWindow* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.duration_millis_ = from._impl_.duration_millis_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.CronWindow) +} +inline PROTOBUF_NDEBUG_INLINE CronWindow::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : cron_expression_(arena), + _cached_size_{0} {} + +inline void CronWindow::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.duration_millis_ = {}; +} +CronWindow::~CronWindow() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.CronWindow) + SharedDtor(*this); +} +inline void CronWindow::SharedDtor(MessageLite& self) { + CronWindow& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.cron_expression_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* CronWindow::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CronWindow(arena); +} +constexpr auto CronWindow::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CronWindow), + alignof(CronWindow)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull CronWindow::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CronWindow_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CronWindow::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CronWindow::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CronWindow::ByteSizeLong, + &CronWindow::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CronWindow, _impl_._cached_size_), + false, + }, + &CronWindow::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CronWindow::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 59, 2> CronWindow::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::CronWindow>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint64 duration_millis = 2 [json_name = "durationMillis"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CronWindow, _impl_.duration_millis_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(CronWindow, _impl_.duration_millis_)}}, + // string cron_expression = 1 [json_name = "cronExpression"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(CronWindow, _impl_.cron_expression_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string cron_expression = 1 [json_name = "cronExpression"]; + {PROTOBUF_FIELD_OFFSET(CronWindow, _impl_.cron_expression_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // uint64 duration_millis = 2 [json_name = "durationMillis"]; + {PROTOBUF_FIELD_OFFSET(CronWindow, _impl_.duration_millis_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, + }}, + // no aux_entries + {{ + "\43\17\0\0\0\0\0\0" + "anduril.entitymanager.v1.CronWindow" + "cron_expression" + }}, +}; + +PROTOBUF_NOINLINE void CronWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.CronWindow) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.cron_expression_.ClearToEmpty(); + _impl_.duration_millis_ = ::uint64_t{0u}; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CronWindow::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CronWindow& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CronWindow::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CronWindow& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.CronWindow) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string cron_expression = 1 [json_name = "cronExpression"]; + if (!this_._internal_cron_expression().empty()) { + const std::string& _s = this_._internal_cron_expression(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.CronWindow.cron_expression"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint64 duration_millis = 2 [json_name = "durationMillis"]; + if (this_._internal_duration_millis() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_duration_millis(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.CronWindow) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t CronWindow::ByteSizeLong(const MessageLite& base) { + const CronWindow& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CronWindow::ByteSizeLong() const { + const CronWindow& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.CronWindow) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string cron_expression = 1 [json_name = "cronExpression"]; + if (!this_._internal_cron_expression().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_cron_expression()); + } + // uint64 duration_millis = 2 [json_name = "durationMillis"]; + if (this_._internal_duration_millis() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_duration_millis()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void CronWindow::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.CronWindow) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_cron_expression().empty()) { + _this->_internal_set_cron_expression(from._internal_cron_expression()); + } + if (from._internal_duration_millis() != 0) { + _this->_impl_.duration_millis_ = from._impl_.duration_millis_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CronWindow::CopyFrom(const CronWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.CronWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CronWindow::InternalSwap(CronWindow* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cron_expression_, &other->_impl_.cron_expression_, arena); + swap(_impl_.duration_millis_, other->_impl_.duration_millis_); +} + +::google::protobuf::Metadata CronWindow::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/schedule.pub.pb.h b/src/anduril/entitymanager/v1/schedule.pub.pb.h new file mode 100644 index 0000000..065f508 --- /dev/null +++ b/src/anduril/entitymanager/v1/schedule.pub.pb.h @@ -0,0 +1,1041 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/schedule.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class CronWindow; +struct CronWindowDefaultTypeInternal; +extern CronWindowDefaultTypeInternal _CronWindow_default_instance_; +class Schedule; +struct ScheduleDefaultTypeInternal; +extern ScheduleDefaultTypeInternal _Schedule_default_instance_; +class Schedules; +struct SchedulesDefaultTypeInternal; +extern SchedulesDefaultTypeInternal _Schedules_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum ScheduleType : int { + SCHEDULE_TYPE_INVALID = 0, + SCHEDULE_TYPE_ZONE_ENABLED = 1, + SCHEDULE_TYPE_ZONE_TEMP_ENABLED = 2, + ScheduleType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ScheduleType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ScheduleType_IsValid(int value); +extern const uint32_t ScheduleType_internal_data_[]; +constexpr ScheduleType ScheduleType_MIN = static_cast(0); +constexpr ScheduleType ScheduleType_MAX = static_cast(2); +constexpr int ScheduleType_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* +ScheduleType_descriptor(); +template +const std::string& ScheduleType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ScheduleType_Name()."); + return ScheduleType_Name(static_cast(value)); +} +template <> +inline const std::string& ScheduleType_Name(ScheduleType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ScheduleType_Parse(absl::string_view name, ScheduleType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ScheduleType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class CronWindow final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.CronWindow) */ { + public: + inline CronWindow() : CronWindow(nullptr) {} + ~CronWindow() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CronWindow* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CronWindow)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CronWindow( + ::google::protobuf::internal::ConstantInitialized); + + inline CronWindow(const CronWindow& from) : CronWindow(nullptr, from) {} + inline CronWindow(CronWindow&& from) noexcept + : CronWindow(nullptr, std::move(from)) {} + inline CronWindow& operator=(const CronWindow& from) { + CopyFrom(from); + return *this; + } + inline CronWindow& operator=(CronWindow&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CronWindow& default_instance() { + return *internal_default_instance(); + } + static inline const CronWindow* internal_default_instance() { + return reinterpret_cast( + &_CronWindow_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(CronWindow& a, CronWindow& b) { a.Swap(&b); } + inline void Swap(CronWindow* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CronWindow* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CronWindow* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CronWindow& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CronWindow& from) { CronWindow::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CronWindow* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.CronWindow"; } + + protected: + explicit CronWindow(::google::protobuf::Arena* arena); + CronWindow(::google::protobuf::Arena* arena, const CronWindow& from); + CronWindow(::google::protobuf::Arena* arena, CronWindow&& from) noexcept + : CronWindow(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCronExpressionFieldNumber = 1, + kDurationMillisFieldNumber = 2, + }; + // string cron_expression = 1 [json_name = "cronExpression"]; + void clear_cron_expression() ; + const std::string& cron_expression() const; + template + void set_cron_expression(Arg_&& arg, Args_... args); + std::string* mutable_cron_expression(); + PROTOBUF_NODISCARD std::string* release_cron_expression(); + void set_allocated_cron_expression(std::string* value); + + private: + const std::string& _internal_cron_expression() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cron_expression( + const std::string& value); + std::string* _internal_mutable_cron_expression(); + + public: + // uint64 duration_millis = 2 [json_name = "durationMillis"]; + void clear_duration_millis() ; + ::uint64_t duration_millis() const; + void set_duration_millis(::uint64_t value); + + private: + ::uint64_t _internal_duration_millis() const; + void _internal_set_duration_millis(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.CronWindow) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 59, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CronWindow& from_msg); + ::google::protobuf::internal::ArenaStringPtr cron_expression_; + ::uint64_t duration_millis_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Schedule final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Schedule) */ { + public: + inline Schedule() : Schedule(nullptr) {} + ~Schedule() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Schedule* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Schedule)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Schedule( + ::google::protobuf::internal::ConstantInitialized); + + inline Schedule(const Schedule& from) : Schedule(nullptr, from) {} + inline Schedule(Schedule&& from) noexcept + : Schedule(nullptr, std::move(from)) {} + inline Schedule& operator=(const Schedule& from) { + CopyFrom(from); + return *this; + } + inline Schedule& operator=(Schedule&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Schedule& default_instance() { + return *internal_default_instance(); + } + static inline const Schedule* internal_default_instance() { + return reinterpret_cast( + &_Schedule_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Schedule& a, Schedule& b) { a.Swap(&b); } + inline void Swap(Schedule* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Schedule* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Schedule* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Schedule& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Schedule& from) { Schedule::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Schedule* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Schedule"; } + + protected: + explicit Schedule(::google::protobuf::Arena* arena); + Schedule(::google::protobuf::Arena* arena, const Schedule& from); + Schedule(::google::protobuf::Arena* arena, Schedule&& from) noexcept + : Schedule(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kWindowsFieldNumber = 1, + kScheduleIdFieldNumber = 2, + kScheduleTypeFieldNumber = 3, + }; + // repeated .anduril.entitymanager.v1.CronWindow windows = 1 [json_name = "windows"]; + int windows_size() const; + private: + int _internal_windows_size() const; + + public: + void clear_windows() ; + ::anduril::entitymanager::v1::CronWindow* mutable_windows(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>* mutable_windows(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>& _internal_windows() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>* _internal_mutable_windows(); + public: + const ::anduril::entitymanager::v1::CronWindow& windows(int index) const; + ::anduril::entitymanager::v1::CronWindow* add_windows(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>& windows() const; + // string schedule_id = 2 [json_name = "scheduleId"]; + void clear_schedule_id() ; + const std::string& schedule_id() const; + template + void set_schedule_id(Arg_&& arg, Args_... args); + std::string* mutable_schedule_id(); + PROTOBUF_NODISCARD std::string* release_schedule_id(); + void set_allocated_schedule_id(std::string* value); + + private: + const std::string& _internal_schedule_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_schedule_id( + const std::string& value); + std::string* _internal_mutable_schedule_id(); + + public: + // .anduril.entitymanager.v1.ScheduleType schedule_type = 3 [json_name = "scheduleType"]; + void clear_schedule_type() ; + ::anduril::entitymanager::v1::ScheduleType schedule_type() const; + void set_schedule_type(::anduril::entitymanager::v1::ScheduleType value); + + private: + ::anduril::entitymanager::v1::ScheduleType _internal_schedule_type() const; + void _internal_set_schedule_type(::anduril::entitymanager::v1::ScheduleType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Schedule) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 53, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Schedule& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::CronWindow > windows_; + ::google::protobuf::internal::ArenaStringPtr schedule_id_; + int schedule_type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Schedules final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Schedules) */ { + public: + inline Schedules() : Schedules(nullptr) {} + ~Schedules() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Schedules* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Schedules)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Schedules( + ::google::protobuf::internal::ConstantInitialized); + + inline Schedules(const Schedules& from) : Schedules(nullptr, from) {} + inline Schedules(Schedules&& from) noexcept + : Schedules(nullptr, std::move(from)) {} + inline Schedules& operator=(const Schedules& from) { + CopyFrom(from); + return *this; + } + inline Schedules& operator=(Schedules&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Schedules& default_instance() { + return *internal_default_instance(); + } + static inline const Schedules* internal_default_instance() { + return reinterpret_cast( + &_Schedules_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Schedules& a, Schedules& b) { a.Swap(&b); } + inline void Swap(Schedules* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Schedules* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Schedules* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Schedules& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Schedules& from) { Schedules::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Schedules* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Schedules"; } + + protected: + explicit Schedules(::google::protobuf::Arena* arena); + Schedules(::google::protobuf::Arena* arena, const Schedules& from); + Schedules(::google::protobuf::Arena* arena, Schedules&& from) noexcept + : Schedules(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSchedulesFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Schedule schedules = 1 [json_name = "schedules"]; + int schedules_size() const; + private: + int _internal_schedules_size() const; + + public: + void clear_schedules() ; + ::anduril::entitymanager::v1::Schedule* mutable_schedules(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>* mutable_schedules(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>& _internal_schedules() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>* _internal_mutable_schedules(); + public: + const ::anduril::entitymanager::v1::Schedule& schedules(int index) const; + ::anduril::entitymanager::v1::Schedule* add_schedules(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>& schedules() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Schedules) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Schedules& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Schedule > schedules_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Schedules + +// repeated .anduril.entitymanager.v1.Schedule schedules = 1 [json_name = "schedules"]; +inline int Schedules::_internal_schedules_size() const { + return _internal_schedules().size(); +} +inline int Schedules::schedules_size() const { + return _internal_schedules_size(); +} +inline void Schedules::clear_schedules() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedules_.Clear(); +} +inline ::anduril::entitymanager::v1::Schedule* Schedules::mutable_schedules(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Schedules.schedules) + return _internal_mutable_schedules()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>* Schedules::mutable_schedules() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Schedules.schedules) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_schedules(); +} +inline const ::anduril::entitymanager::v1::Schedule& Schedules::schedules(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Schedules.schedules) + return _internal_schedules().Get(index); +} +inline ::anduril::entitymanager::v1::Schedule* Schedules::add_schedules() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Schedule* _add = _internal_mutable_schedules()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Schedules.schedules) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>& Schedules::schedules() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Schedules.schedules) + return _internal_schedules(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>& +Schedules::_internal_schedules() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.schedules_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Schedule>* +Schedules::_internal_mutable_schedules() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.schedules_; +} + +// ------------------------------------------------------------------- + +// Schedule + +// repeated .anduril.entitymanager.v1.CronWindow windows = 1 [json_name = "windows"]; +inline int Schedule::_internal_windows_size() const { + return _internal_windows().size(); +} +inline int Schedule::windows_size() const { + return _internal_windows_size(); +} +inline void Schedule::clear_windows() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.windows_.Clear(); +} +inline ::anduril::entitymanager::v1::CronWindow* Schedule::mutable_windows(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Schedule.windows) + return _internal_mutable_windows()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>* Schedule::mutable_windows() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Schedule.windows) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_windows(); +} +inline const ::anduril::entitymanager::v1::CronWindow& Schedule::windows(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Schedule.windows) + return _internal_windows().Get(index); +} +inline ::anduril::entitymanager::v1::CronWindow* Schedule::add_windows() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::CronWindow* _add = _internal_mutable_windows()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Schedule.windows) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>& Schedule::windows() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Schedule.windows) + return _internal_windows(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>& +Schedule::_internal_windows() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.windows_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::CronWindow>* +Schedule::_internal_mutable_windows() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.windows_; +} + +// string schedule_id = 2 [json_name = "scheduleId"]; +inline void Schedule::clear_schedule_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedule_id_.ClearToEmpty(); +} +inline const std::string& Schedule::schedule_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Schedule.schedule_id) + return _internal_schedule_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Schedule::set_schedule_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedule_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Schedule.schedule_id) +} +inline std::string* Schedule::mutable_schedule_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_schedule_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Schedule.schedule_id) + return _s; +} +inline const std::string& Schedule::_internal_schedule_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.schedule_id_.Get(); +} +inline void Schedule::_internal_set_schedule_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedule_id_.Set(value, GetArena()); +} +inline std::string* Schedule::_internal_mutable_schedule_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.schedule_id_.Mutable( GetArena()); +} +inline std::string* Schedule::release_schedule_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Schedule.schedule_id) + return _impl_.schedule_id_.Release(); +} +inline void Schedule::set_allocated_schedule_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedule_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.schedule_id_.IsDefault()) { + _impl_.schedule_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Schedule.schedule_id) +} + +// .anduril.entitymanager.v1.ScheduleType schedule_type = 3 [json_name = "scheduleType"]; +inline void Schedule::clear_schedule_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedule_type_ = 0; +} +inline ::anduril::entitymanager::v1::ScheduleType Schedule::schedule_type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Schedule.schedule_type) + return _internal_schedule_type(); +} +inline void Schedule::set_schedule_type(::anduril::entitymanager::v1::ScheduleType value) { + _internal_set_schedule_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Schedule.schedule_type) +} +inline ::anduril::entitymanager::v1::ScheduleType Schedule::_internal_schedule_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::ScheduleType>(_impl_.schedule_type_); +} +inline void Schedule::_internal_set_schedule_type(::anduril::entitymanager::v1::ScheduleType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.schedule_type_ = value; +} + +// ------------------------------------------------------------------- + +// CronWindow + +// string cron_expression = 1 [json_name = "cronExpression"]; +inline void CronWindow::clear_cron_expression() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cron_expression_.ClearToEmpty(); +} +inline const std::string& CronWindow::cron_expression() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CronWindow.cron_expression) + return _internal_cron_expression(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CronWindow::set_cron_expression(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cron_expression_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CronWindow.cron_expression) +} +inline std::string* CronWindow::mutable_cron_expression() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_cron_expression(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.CronWindow.cron_expression) + return _s; +} +inline const std::string& CronWindow::_internal_cron_expression() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.cron_expression_.Get(); +} +inline void CronWindow::_internal_set_cron_expression(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cron_expression_.Set(value, GetArena()); +} +inline std::string* CronWindow::_internal_mutable_cron_expression() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.cron_expression_.Mutable( GetArena()); +} +inline std::string* CronWindow::release_cron_expression() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.CronWindow.cron_expression) + return _impl_.cron_expression_.Release(); +} +inline void CronWindow::set_allocated_cron_expression(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cron_expression_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.cron_expression_.IsDefault()) { + _impl_.cron_expression_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.CronWindow.cron_expression) +} + +// uint64 duration_millis = 2 [json_name = "durationMillis"]; +inline void CronWindow::clear_duration_millis() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.duration_millis_ = ::uint64_t{0u}; +} +inline ::uint64_t CronWindow::duration_millis() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.CronWindow.duration_millis) + return _internal_duration_millis(); +} +inline void CronWindow::set_duration_millis(::uint64_t value) { + _internal_set_duration_millis(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.CronWindow.duration_millis) +} +inline ::uint64_t CronWindow::_internal_duration_millis() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.duration_millis_; +} +inline void CronWindow::_internal_set_duration_millis(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.duration_millis_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::ScheduleType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::ScheduleType>() { + return ::anduril::entitymanager::v1::ScheduleType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fschedule_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/sensors.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/sensors.pub.grpc.pb.cc new file mode 100644 index 0000000..af002b5 --- /dev/null +++ b/src/anduril/entitymanager/v1/sensors.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/sensors.pub.proto + +#include "anduril/entitymanager/v1/sensors.pub.pb.h" +#include "anduril/entitymanager/v1/sensors.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/sensors.pub.grpc.pb.h b/src/anduril/entitymanager/v1/sensors.pub.grpc.pb.h new file mode 100644 index 0000000..d0713fa --- /dev/null +++ b/src/anduril/entitymanager/v1/sensors.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/sensors.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/sensors.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/sensors.pub.pb.cc b/src/anduril/entitymanager/v1/sensors.pub.pb.cc new file mode 100644 index 0000000..48a05ba --- /dev/null +++ b/src/anduril/entitymanager/v1/sensors.pub.pb.cc @@ -0,0 +1,2970 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/sensors.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/sensors.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Bandwidth::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + bandwidth_hz_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Bandwidth::Bandwidth(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BandwidthDefaultTypeInternal { + PROTOBUF_CONSTEXPR BandwidthDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BandwidthDefaultTypeInternal() {} + union { + Bandwidth _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BandwidthDefaultTypeInternal _Bandwidth_default_instance_; + +inline constexpr ProjectedFrustum::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + upper_left_{nullptr}, + upper_right_{nullptr}, + bottom_right_{nullptr}, + bottom_left_{nullptr} {} + +template +PROTOBUF_CONSTEXPR ProjectedFrustum::ProjectedFrustum(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ProjectedFrustumDefaultTypeInternal { + PROTOBUF_CONSTEXPR ProjectedFrustumDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ProjectedFrustumDefaultTypeInternal() {} + union { + ProjectedFrustum _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProjectedFrustumDefaultTypeInternal _ProjectedFrustum_default_instance_; + +inline constexpr BandwidthRange::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + minimum_bandwidth_{nullptr}, + maximum_bandwidth_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BandwidthRange::BandwidthRange(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BandwidthRangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR BandwidthRangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BandwidthRangeDefaultTypeInternal() {} + union { + BandwidthRange _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BandwidthRangeDefaultTypeInternal _BandwidthRange_default_instance_; + +inline constexpr FieldOfView::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + mount_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + projected_frustum_{nullptr}, + projected_center_ray_{nullptr}, + center_ray_pose_{nullptr}, + range_{nullptr}, + fov_id_{0}, + horizontal_fov_{0}, + vertical_fov_{0}, + mode_{static_cast< ::anduril::entitymanager::v1::SensorMode >(0)} {} + +template +PROTOBUF_CONSTEXPR FieldOfView::FieldOfView(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FieldOfViewDefaultTypeInternal { + PROTOBUF_CONSTEXPR FieldOfViewDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FieldOfViewDefaultTypeInternal() {} + union { + FieldOfView _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOfViewDefaultTypeInternal _FieldOfView_default_instance_; + +inline constexpr RFConfiguration::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : frequency_range_hz_{}, + bandwidth_range_hz_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR RFConfiguration::RFConfiguration(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RFConfigurationDefaultTypeInternal { + PROTOBUF_CONSTEXPR RFConfigurationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RFConfigurationDefaultTypeInternal() {} + union { + RFConfiguration _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RFConfigurationDefaultTypeInternal _RFConfiguration_default_instance_; + +inline constexpr Sensor::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + fields_of_view_{}, + sensor_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + sensor_description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + rf_configuraton_{nullptr}, + last_detection_timestamp_{nullptr}, + operational_state_{static_cast< ::anduril::entitymanager::v1::OperationalState >(0)}, + sensor_type_{static_cast< ::anduril::entitymanager::v1::SensorType >(0)} {} + +template +PROTOBUF_CONSTEXPR Sensor::Sensor(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SensorDefaultTypeInternal { + PROTOBUF_CONSTEXPR SensorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SensorDefaultTypeInternal() {} + union { + Sensor _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SensorDefaultTypeInternal _Sensor_default_instance_; + +inline constexpr Sensors::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : sensors_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Sensors::Sensors(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SensorsDefaultTypeInternal { + PROTOBUF_CONSTEXPR SensorsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SensorsDefaultTypeInternal() {} + union { + Sensors _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SensorsDefaultTypeInternal _Sensors_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto[3]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensors, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensors, _impl_.sensors_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.sensor_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.operational_state_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.sensor_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.sensor_description_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.rf_configuraton_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.last_detection_timestamp_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Sensor, _impl_.fields_of_view_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.fov_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.mount_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.projected_frustum_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.projected_center_ray_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.center_ray_pose_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.horizontal_fov_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.vertical_fov_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FieldOfView, _impl_.mode_), + ~0u, + ~0u, + 0, + 1, + 2, + ~0u, + ~0u, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ProjectedFrustum, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ProjectedFrustum, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ProjectedFrustum, _impl_.upper_left_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ProjectedFrustum, _impl_.upper_right_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ProjectedFrustum, _impl_.bottom_right_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ProjectedFrustum, _impl_.bottom_left_), + 0, + 1, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RFConfiguration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RFConfiguration, _impl_.frequency_range_hz_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::RFConfiguration, _impl_.bandwidth_range_hz_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BandwidthRange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BandwidthRange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BandwidthRange, _impl_.minimum_bandwidth_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::BandwidthRange, _impl_.maximum_bandwidth_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Bandwidth, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Bandwidth, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Bandwidth, _impl_.bandwidth_hz_), + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Sensors)}, + {9, 24, -1, sizeof(::anduril::entitymanager::v1::Sensor)}, + {31, 48, -1, sizeof(::anduril::entitymanager::v1::FieldOfView)}, + {57, 69, -1, sizeof(::anduril::entitymanager::v1::ProjectedFrustum)}, + {73, -1, -1, sizeof(::anduril::entitymanager::v1::RFConfiguration)}, + {83, 93, -1, sizeof(::anduril::entitymanager::v1::BandwidthRange)}, + {95, 104, -1, sizeof(::anduril::entitymanager::v1::Bandwidth)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Sensors_default_instance_._instance, + &::anduril::entitymanager::v1::_Sensor_default_instance_._instance, + &::anduril::entitymanager::v1::_FieldOfView_default_instance_._instance, + &::anduril::entitymanager::v1::_ProjectedFrustum_default_instance_._instance, + &::anduril::entitymanager::v1::_RFConfiguration_default_instance_._instance, + &::anduril::entitymanager::v1::_BandwidthRange_default_instance_._instance, + &::anduril::entitymanager::v1::_Bandwidth_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n*anduril/entitymanager/v1/sensors.pub.p" + "roto\022\030anduril.entitymanager.v1\032+anduril/" + "entitymanager/v1/location.pub.proto\032)and" + "uril/entitymanager/v1/signal.pub.proto\032\037" + "google/protobuf/timestamp.proto\032\036google/" + "protobuf/wrappers.proto\"E\n\007Sensors\022:\n\007se" + "nsors\030\001 \003(\0132 .anduril.entitymanager.v1.S" + "ensorR\007sensors\"\361\003\n\006Sensor\022\033\n\tsensor_id\030\001" + " \001(\tR\010sensorId\022W\n\021operational_state\030\003 \001(" + "\0162*.anduril.entitymanager.v1.Operational" + "StateR\020operationalState\022E\n\013sensor_type\030\005" + " \001(\0162$.anduril.entitymanager.v1.SensorTy" + "peR\nsensorType\022-\n\022sensor_description\030\006 \001" + "(\tR\021sensorDescription\022R\n\017rf_configuraton" + "\030\007 \001(\0132).anduril.entitymanager.v1.RFConf" + "igurationR\016rfConfiguraton\022T\n\030last_detect" + "ion_timestamp\030\010 \001(\0132\032.google.protobuf.Ti" + "mestampR\026lastDetectionTimestamp\022K\n\016field" + "s_of_view\030\t \003(\0132%.anduril.entitymanager." + "v1.FieldOfViewR\014fieldsOfViewJ\004\010\004\020\005\"\355\003\n\013F" + "ieldOfView\022\025\n\006fov_id\030\001 \001(\005R\005fovId\022\031\n\010mou" + "nt_id\030\002 \001(\tR\007mountId\022W\n\021projected_frustu" + "m\030\003 \001(\0132*.anduril.entitymanager.v1.Proje" + "ctedFrustumR\020projectedFrustum\022T\n\024project" + "ed_center_ray\030\004 \001(\0132\".anduril.entitymana" + "ger.v1.PositionR\022projectedCenterRay\022F\n\017c" + "enter_ray_pose\030\005 \001(\0132\036.anduril.entityman" + "ager.v1.PoseR\rcenterRayPose\022%\n\016horizonta" + "l_fov\030\006 \001(\002R\rhorizontalFov\022!\n\014vertical_f" + "ov\030\007 \001(\002R\013verticalFov\0221\n\005range\030\010 \001(\0132\033.g" + "oogle.protobuf.FloatValueR\005range\0228\n\004mode" + "\030\t \001(\0162$.anduril.entitymanager.v1.Sensor" + "ModeR\004mode\"\246\002\n\020ProjectedFrustum\022A\n\nupper" + "_left\030\001 \001(\0132\".anduril.entitymanager.v1.P" + "ositionR\tupperLeft\022C\n\013upper_right\030\002 \001(\0132" + "\".anduril.entitymanager.v1.PositionR\nupp" + "erRight\022E\n\014bottom_right\030\003 \001(\0132\".anduril." + "entitymanager.v1.PositionR\013bottomRight\022C" + "\n\013bottom_left\030\004 \001(\0132\".anduril.entitymana" + "ger.v1.PositionR\nbottomLeft\"\315\001\n\017RFConfig" + "uration\022V\n\022frequency_range_hz\030\003 \003(\0132(.an" + "duril.entitymanager.v1.FrequencyRangeR\020f" + "requencyRangeHz\022V\n\022bandwidth_range_hz\030\004 " + "\003(\0132(.anduril.entitymanager.v1.Bandwidth" + "RangeR\020bandwidthRangeHzJ\004\010\001\020\002J\004\010\002\020\003\"\264\001\n\016" + "BandwidthRange\022P\n\021minimum_bandwidth\030\001 \001(" + "\0132#.anduril.entitymanager.v1.BandwidthR\020" + "minimumBandwidth\022P\n\021maximum_bandwidth\030\002 " + "\001(\0132#.anduril.entitymanager.v1.Bandwidth" + "R\020maximumBandwidth\"L\n\tBandwidth\022\?\n\014bandw" + "idth_hz\030\001 \001(\0132\034.google.protobuf.DoubleVa" + "lueR\013bandwidthHz*\324\001\n\020OperationalState\022\035\n" + "\031OPERATIONAL_STATE_INVALID\020\000\022\031\n\025OPERATIO" + "NAL_STATE_OFF\020\001\022%\n!OPERATIONAL_STATE_NON" + "_OPERATIONAL\020\002\022\036\n\032OPERATIONAL_STATE_DEGR" + "ADED\020\003\022!\n\035OPERATIONAL_STATE_OPERATIONAL\020" + "\004\022\034\n\030OPERATIONAL_STATE_DENIED\020\005*\240\001\n\nSens" + "orMode\022\027\n\023SENSOR_MODE_INVALID\020\000\022\026\n\022SENSO" + "R_MODE_SEARCH\020\001\022\025\n\021SENSOR_MODE_TRACK\020\002\022\036" + "\n\032SENSOR_MODE_WEAPON_SUPPORT\020\003\022\024\n\020SENSOR" + "_MODE_AUTO\020\004\022\024\n\020SENSOR_MODE_MUTE\020\005*\353\001\n\nS" + "ensorType\022\027\n\023SENSOR_TYPE_INVALID\020\000\022\025\n\021SE" + "NSOR_TYPE_RADAR\020\001\022\026\n\022SENSOR_TYPE_CAMERA\020" + "\002\022\033\n\027SENSOR_TYPE_TRANSPONDER\020\003\022\022\n\016SENSOR" + "_TYPE_RF\020\004\022\023\n\017SENSOR_TYPE_GPS\020\005\022\027\n\023SENSO" + "R_TYPE_PTU_POS\020\006\022\031\n\025SENSOR_TYPE_PERIMETE" + "R\020\010\022\025\n\021SENSOR_TYPE_SONAR\020\t\"\004\010\007\020\007B\200\002\n\034com" + ".anduril.entitymanager.v1B\017SensorsPubPro" + "toP\001ZMghe.anduril.dev/anduril/andurilapi" + "s-go/anduril/entitymanager/v1;entitymana" + "ger\242\002\003AEX\252\002\030Anduril.Entitymanager.V1\312\002\030A" + "nduril\\Entitymanager\\V1\342\002$Anduril\\Entity" + "manager\\V1\\GPBMetadata\352\002\032Anduril::Entity" + "manager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_deps[4] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2flocation_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, + &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto = { + false, + false, + 2939, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + "anduril/entitymanager/v1/sensors.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_deps, + 4, + 7, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* OperationalState_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t OperationalState_internal_data_[] = { + 393216u, 0u, }; +bool OperationalState_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* SensorMode_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t SensorMode_internal_data_[] = { + 393216u, 0u, }; +bool SensorMode_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* SensorType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto[2]; +} +PROTOBUF_CONSTINIT const uint32_t SensorType_internal_data_[] = { + 458752u, 32u, 6u, }; +bool SensorType_IsValid(int value) { + return 0 <= value && value <= 9 && ((895u >> value) & 1) != 0; +} +// =================================================================== + +class Sensors::_Internal { + public: +}; + +Sensors::Sensors(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Sensors) +} +inline PROTOBUF_NDEBUG_INLINE Sensors::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Sensors& from_msg) + : sensors_{visibility, arena, from.sensors_}, + _cached_size_{0} {} + +Sensors::Sensors( + ::google::protobuf::Arena* arena, + const Sensors& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Sensors* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Sensors) +} +inline PROTOBUF_NDEBUG_INLINE Sensors::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : sensors_{visibility, arena}, + _cached_size_{0} {} + +inline void Sensors::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Sensors::~Sensors() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Sensors) + SharedDtor(*this); +} +inline void Sensors::SharedDtor(MessageLite& self) { + Sensors& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Sensors::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Sensors(arena); +} +constexpr auto Sensors::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Sensors, _impl_.sensors_) + + decltype(Sensors::_impl_.sensors_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Sensors), alignof(Sensors), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Sensors::PlacementNew_, + sizeof(Sensors), + alignof(Sensors)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Sensors::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Sensors_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Sensors::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Sensors::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Sensors::ByteSizeLong, + &Sensors::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Sensors, _impl_._cached_size_), + false, + }, + &Sensors::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Sensors::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Sensors::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Sensors>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Sensor sensors = 1 [json_name = "sensors"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Sensors, _impl_.sensors_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Sensor sensors = 1 [json_name = "sensors"]; + {PROTOBUF_FIELD_OFFSET(Sensors, _impl_.sensors_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Sensor>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Sensors::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Sensors) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.sensors_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Sensors::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Sensors& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Sensors::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Sensors& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Sensors) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Sensor sensors = 1 [json_name = "sensors"]; + for (unsigned i = 0, n = static_cast( + this_._internal_sensors_size()); + i < n; i++) { + const auto& repfield = this_._internal_sensors().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Sensors) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Sensors::ByteSizeLong(const MessageLite& base) { + const Sensors& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Sensors::ByteSizeLong() const { + const Sensors& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Sensors) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Sensor sensors = 1 [json_name = "sensors"]; + { + total_size += 1UL * this_._internal_sensors_size(); + for (const auto& msg : this_._internal_sensors()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Sensors::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Sensors) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_sensors()->MergeFrom( + from._internal_sensors()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Sensors::CopyFrom(const Sensors& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Sensors) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Sensors::InternalSwap(Sensors* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.sensors_.InternalSwap(&other->_impl_.sensors_); +} + +::google::protobuf::Metadata Sensors::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Sensor::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Sensor, _impl_._has_bits_); +}; + +void Sensor::clear_last_detection_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.last_detection_timestamp_ != nullptr) _impl_.last_detection_timestamp_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +Sensor::Sensor(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Sensor) +} +inline PROTOBUF_NDEBUG_INLINE Sensor::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Sensor& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + fields_of_view_{visibility, arena, from.fields_of_view_}, + sensor_id_(arena, from.sensor_id_), + sensor_description_(arena, from.sensor_description_) {} + +Sensor::Sensor( + ::google::protobuf::Arena* arena, + const Sensor& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Sensor* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.rf_configuraton_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RFConfiguration>( + arena, *from._impl_.rf_configuraton_) + : nullptr; + _impl_.last_detection_timestamp_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.last_detection_timestamp_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, operational_state_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, operational_state_), + offsetof(Impl_, sensor_type_) - + offsetof(Impl_, operational_state_) + + sizeof(Impl_::sensor_type_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Sensor) +} +inline PROTOBUF_NDEBUG_INLINE Sensor::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + fields_of_view_{visibility, arena}, + sensor_id_(arena), + sensor_description_(arena) {} + +inline void Sensor::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, rf_configuraton_), + 0, + offsetof(Impl_, sensor_type_) - + offsetof(Impl_, rf_configuraton_) + + sizeof(Impl_::sensor_type_)); +} +Sensor::~Sensor() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Sensor) + SharedDtor(*this); +} +inline void Sensor::SharedDtor(MessageLite& self) { + Sensor& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.sensor_id_.Destroy(); + this_._impl_.sensor_description_.Destroy(); + delete this_._impl_.rf_configuraton_; + delete this_._impl_.last_detection_timestamp_; + this_._impl_.~Impl_(); +} + +inline void* Sensor::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Sensor(arena); +} +constexpr auto Sensor::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Sensor, _impl_.fields_of_view_) + + decltype(Sensor::_impl_.fields_of_view_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Sensor), alignof(Sensor), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Sensor::PlacementNew_, + sizeof(Sensor), + alignof(Sensor)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Sensor::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Sensor_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Sensor::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Sensor::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Sensor::ByteSizeLong, + &Sensor::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Sensor, _impl_._cached_size_), + false, + }, + &Sensor::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Sensor::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 3, 67, 2> Sensor::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Sensor, _impl_._has_bits_), + 0, // no _extensions_ + 9, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294966794, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Sensor>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.Timestamp last_detection_timestamp = 8 [json_name = "lastDetectionTimestamp"]; + {::_pbi::TcParser::FastMtS1, + {66, 1, 1, PROTOBUF_FIELD_OFFSET(Sensor, _impl_.last_detection_timestamp_)}}, + // string sensor_id = 1 [json_name = "sensorId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_id_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.OperationalState operational_state = 3 [json_name = "operationalState"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Sensor, _impl_.operational_state_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(Sensor, _impl_.operational_state_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.SensorType sensor_type = 5 [json_name = "sensorType"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Sensor, _impl_.sensor_type_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_type_)}}, + // string sensor_description = 6 [json_name = "sensorDescription"]; + {::_pbi::TcParser::FastUS1, + {50, 63, 0, PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_description_)}}, + // .anduril.entitymanager.v1.RFConfiguration rf_configuraton = 7 [json_name = "rfConfiguraton"]; + {::_pbi::TcParser::FastMtS1, + {58, 0, 0, PROTOBUF_FIELD_OFFSET(Sensor, _impl_.rf_configuraton_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string sensor_id = 1 [json_name = "sensorId"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.OperationalState operational_state = 3 [json_name = "operationalState"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.operational_state_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.SensorType sensor_type = 5 [json_name = "sensorType"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string sensor_description = 6 [json_name = "sensorDescription"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_description_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.RFConfiguration rf_configuraton = 7 [json_name = "rfConfiguraton"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.rf_configuraton_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp last_detection_timestamp = 8 [json_name = "lastDetectionTimestamp"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.last_detection_timestamp_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.FieldOfView fields_of_view = 9 [json_name = "fieldsOfView"]; + {PROTOBUF_FIELD_OFFSET(Sensor, _impl_.fields_of_view_), -1, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RFConfiguration>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FieldOfView>()}, + }}, {{ + "\37\11\0\0\22\0\0\0" + "anduril.entitymanager.v1.Sensor" + "sensor_id" + "sensor_description" + }}, +}; + +PROTOBUF_NOINLINE void Sensor::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Sensor) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fields_of_view_.Clear(); + _impl_.sensor_id_.ClearToEmpty(); + _impl_.sensor_description_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.rf_configuraton_ != nullptr); + _impl_.rf_configuraton_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.last_detection_timestamp_ != nullptr); + _impl_.last_detection_timestamp_->Clear(); + } + } + ::memset(&_impl_.operational_state_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.sensor_type_) - + reinterpret_cast(&_impl_.operational_state_)) + sizeof(_impl_.sensor_type_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Sensor::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Sensor& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Sensor::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Sensor& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Sensor) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string sensor_id = 1 [json_name = "sensorId"]; + if (!this_._internal_sensor_id().empty()) { + const std::string& _s = this_._internal_sensor_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Sensor.sensor_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .anduril.entitymanager.v1.OperationalState operational_state = 3 [json_name = "operationalState"]; + if (this_._internal_operational_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_operational_state(), target); + } + + // .anduril.entitymanager.v1.SensorType sensor_type = 5 [json_name = "sensorType"]; + if (this_._internal_sensor_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 5, this_._internal_sensor_type(), target); + } + + // string sensor_description = 6 [json_name = "sensorDescription"]; + if (!this_._internal_sensor_description().empty()) { + const std::string& _s = this_._internal_sensor_description(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Sensor.sensor_description"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.RFConfiguration rf_configuraton = 7 [json_name = "rfConfiguraton"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.rf_configuraton_, this_._impl_.rf_configuraton_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.Timestamp last_detection_timestamp = 8 [json_name = "lastDetectionTimestamp"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.last_detection_timestamp_, this_._impl_.last_detection_timestamp_->GetCachedSize(), target, + stream); + } + + // repeated .anduril.entitymanager.v1.FieldOfView fields_of_view = 9 [json_name = "fieldsOfView"]; + for (unsigned i = 0, n = static_cast( + this_._internal_fields_of_view_size()); + i < n; i++) { + const auto& repfield = this_._internal_fields_of_view().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Sensor) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Sensor::ByteSizeLong(const MessageLite& base) { + const Sensor& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Sensor::ByteSizeLong() const { + const Sensor& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Sensor) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.FieldOfView fields_of_view = 9 [json_name = "fieldsOfView"]; + { + total_size += 1UL * this_._internal_fields_of_view_size(); + for (const auto& msg : this_._internal_fields_of_view()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string sensor_id = 1 [json_name = "sensorId"]; + if (!this_._internal_sensor_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_sensor_id()); + } + // string sensor_description = 6 [json_name = "sensorDescription"]; + if (!this_._internal_sensor_description().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_sensor_description()); + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.RFConfiguration rf_configuraton = 7 [json_name = "rfConfiguraton"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rf_configuraton_); + } + // .google.protobuf.Timestamp last_detection_timestamp = 8 [json_name = "lastDetectionTimestamp"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.last_detection_timestamp_); + } + } + { + // .anduril.entitymanager.v1.OperationalState operational_state = 3 [json_name = "operationalState"]; + if (this_._internal_operational_state() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_operational_state()); + } + // .anduril.entitymanager.v1.SensorType sensor_type = 5 [json_name = "sensorType"]; + if (this_._internal_sensor_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_sensor_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Sensor::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Sensor) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_fields_of_view()->MergeFrom( + from._internal_fields_of_view()); + if (!from._internal_sensor_id().empty()) { + _this->_internal_set_sensor_id(from._internal_sensor_id()); + } + if (!from._internal_sensor_description().empty()) { + _this->_internal_set_sensor_description(from._internal_sensor_description()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.rf_configuraton_ != nullptr); + if (_this->_impl_.rf_configuraton_ == nullptr) { + _this->_impl_.rf_configuraton_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::RFConfiguration>(arena, *from._impl_.rf_configuraton_); + } else { + _this->_impl_.rf_configuraton_->MergeFrom(*from._impl_.rf_configuraton_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.last_detection_timestamp_ != nullptr); + if (_this->_impl_.last_detection_timestamp_ == nullptr) { + _this->_impl_.last_detection_timestamp_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.last_detection_timestamp_); + } else { + _this->_impl_.last_detection_timestamp_->MergeFrom(*from._impl_.last_detection_timestamp_); + } + } + } + if (from._internal_operational_state() != 0) { + _this->_impl_.operational_state_ = from._impl_.operational_state_; + } + if (from._internal_sensor_type() != 0) { + _this->_impl_.sensor_type_ = from._impl_.sensor_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Sensor::CopyFrom(const Sensor& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Sensor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Sensor::InternalSwap(Sensor* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.fields_of_view_.InternalSwap(&other->_impl_.fields_of_view_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sensor_id_, &other->_impl_.sensor_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sensor_description_, &other->_impl_.sensor_description_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Sensor, _impl_.sensor_type_) + + sizeof(Sensor::_impl_.sensor_type_) + - PROTOBUF_FIELD_OFFSET(Sensor, _impl_.rf_configuraton_)>( + reinterpret_cast(&_impl_.rf_configuraton_), + reinterpret_cast(&other->_impl_.rf_configuraton_)); +} + +::google::protobuf::Metadata Sensor::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class FieldOfView::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_._has_bits_); +}; + +void FieldOfView::clear_projected_center_ray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.projected_center_ray_ != nullptr) _impl_.projected_center_ray_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void FieldOfView::clear_center_ray_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.center_ray_pose_ != nullptr) _impl_.center_ray_pose_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void FieldOfView::clear_range() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.range_ != nullptr) _impl_.range_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +FieldOfView::FieldOfView(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.FieldOfView) +} +inline PROTOBUF_NDEBUG_INLINE FieldOfView::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::FieldOfView& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + mount_id_(arena, from.mount_id_) {} + +FieldOfView::FieldOfView( + ::google::protobuf::Arena* arena, + const FieldOfView& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FieldOfView* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.projected_frustum_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ProjectedFrustum>( + arena, *from._impl_.projected_frustum_) + : nullptr; + _impl_.projected_center_ray_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.projected_center_ray_) + : nullptr; + _impl_.center_ray_pose_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Pose>( + arena, *from._impl_.center_ray_pose_) + : nullptr; + _impl_.range_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::FloatValue>( + arena, *from._impl_.range_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, fov_id_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, fov_id_), + offsetof(Impl_, mode_) - + offsetof(Impl_, fov_id_) + + sizeof(Impl_::mode_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.FieldOfView) +} +inline PROTOBUF_NDEBUG_INLINE FieldOfView::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + mount_id_(arena) {} + +inline void FieldOfView::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, projected_frustum_), + 0, + offsetof(Impl_, mode_) - + offsetof(Impl_, projected_frustum_) + + sizeof(Impl_::mode_)); +} +FieldOfView::~FieldOfView() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.FieldOfView) + SharedDtor(*this); +} +inline void FieldOfView::SharedDtor(MessageLite& self) { + FieldOfView& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.mount_id_.Destroy(); + delete this_._impl_.projected_frustum_; + delete this_._impl_.projected_center_ray_; + delete this_._impl_.center_ray_pose_; + delete this_._impl_.range_; + this_._impl_.~Impl_(); +} + +inline void* FieldOfView::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FieldOfView(arena); +} +constexpr auto FieldOfView::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldOfView), + alignof(FieldOfView)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull FieldOfView::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_FieldOfView_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FieldOfView::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FieldOfView::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FieldOfView::ByteSizeLong, + &FieldOfView::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_._cached_size_), + false, + }, + &FieldOfView::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FieldOfView::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 9, 4, 61, 2> FieldOfView::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_._has_bits_), + 0, // no _extensions_ + 9, 120, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294966784, // skipmap + offsetof(decltype(_table_), field_entries), + 9, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FieldOfView>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // int32 fov_id = 1 [json_name = "fovId"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FieldOfView, _impl_.fov_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.fov_id_)}}, + // string mount_id = 2 [json_name = "mountId"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.mount_id_)}}, + // .anduril.entitymanager.v1.ProjectedFrustum projected_frustum = 3 [json_name = "projectedFrustum"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.projected_frustum_)}}, + // .anduril.entitymanager.v1.Position projected_center_ray = 4 [json_name = "projectedCenterRay"]; + {::_pbi::TcParser::FastMtS1, + {34, 1, 1, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.projected_center_ray_)}}, + // .anduril.entitymanager.v1.Pose center_ray_pose = 5 [json_name = "centerRayPose"]; + {::_pbi::TcParser::FastMtS1, + {42, 2, 2, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.center_ray_pose_)}}, + // float horizontal_fov = 6 [json_name = "horizontalFov"]; + {::_pbi::TcParser::FastF32S1, + {53, 63, 0, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.horizontal_fov_)}}, + // float vertical_fov = 7 [json_name = "verticalFov"]; + {::_pbi::TcParser::FastF32S1, + {61, 63, 0, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.vertical_fov_)}}, + // .google.protobuf.FloatValue range = 8 [json_name = "range"]; + {::_pbi::TcParser::FastMtS1, + {66, 3, 3, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.range_)}}, + // .anduril.entitymanager.v1.SensorMode mode = 9 [json_name = "mode"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FieldOfView, _impl_.mode_), 63>(), + {72, 63, 0, PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.mode_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 fov_id = 1 [json_name = "fovId"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.fov_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + // string mount_id = 2 [json_name = "mountId"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.mount_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .anduril.entitymanager.v1.ProjectedFrustum projected_frustum = 3 [json_name = "projectedFrustum"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.projected_frustum_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Position projected_center_ray = 4 [json_name = "projectedCenterRay"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.projected_center_ray_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Pose center_ray_pose = 5 [json_name = "centerRayPose"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.center_ray_pose_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // float horizontal_fov = 6 [json_name = "horizontalFov"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.horizontal_fov_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float vertical_fov = 7 [json_name = "verticalFov"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.vertical_fov_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // .google.protobuf.FloatValue range = 8 [json_name = "range"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.range_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.SensorMode mode = 9 [json_name = "mode"]; + {PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.mode_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ProjectedFrustum>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Pose>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::FloatValue>()}, + }}, {{ + "\44\0\10\0\0\0\0\0\0\0\0\0\0\0\0\0" + "anduril.entitymanager.v1.FieldOfView" + "mount_id" + }}, +}; + +PROTOBUF_NOINLINE void FieldOfView::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.FieldOfView) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mount_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.projected_frustum_ != nullptr); + _impl_.projected_frustum_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.projected_center_ray_ != nullptr); + _impl_.projected_center_ray_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.center_ray_pose_ != nullptr); + _impl_.center_ray_pose_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.range_ != nullptr); + _impl_.range_->Clear(); + } + } + ::memset(&_impl_.fov_id_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.mode_) - + reinterpret_cast(&_impl_.fov_id_)) + sizeof(_impl_.mode_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FieldOfView::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FieldOfView& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FieldOfView::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FieldOfView& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.FieldOfView) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 fov_id = 1 [json_name = "fovId"]; + if (this_._internal_fov_id() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_fov_id(), target); + } + + // string mount_id = 2 [json_name = "mountId"]; + if (!this_._internal_mount_id().empty()) { + const std::string& _s = this_._internal_mount_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.FieldOfView.mount_id"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.ProjectedFrustum projected_frustum = 3 [json_name = "projectedFrustum"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.projected_frustum_, this_._impl_.projected_frustum_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Position projected_center_ray = 4 [json_name = "projectedCenterRay"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.projected_center_ray_, this_._impl_.projected_center_ray_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Pose center_ray_pose = 5 [json_name = "centerRayPose"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.center_ray_pose_, this_._impl_.center_ray_pose_->GetCachedSize(), target, + stream); + } + + // float horizontal_fov = 6 [json_name = "horizontalFov"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_horizontal_fov()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this_._internal_horizontal_fov(), target); + } + + // float vertical_fov = 7 [json_name = "verticalFov"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_vertical_fov()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 7, this_._internal_vertical_fov(), target); + } + + // .google.protobuf.FloatValue range = 8 [json_name = "range"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.range_, this_._impl_.range_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.SensorMode mode = 9 [json_name = "mode"]; + if (this_._internal_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 9, this_._internal_mode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.FieldOfView) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t FieldOfView::ByteSizeLong(const MessageLite& base) { + const FieldOfView& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FieldOfView::ByteSizeLong() const { + const FieldOfView& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.FieldOfView) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string mount_id = 2 [json_name = "mountId"]; + if (!this_._internal_mount_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_mount_id()); + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // .anduril.entitymanager.v1.ProjectedFrustum projected_frustum = 3 [json_name = "projectedFrustum"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.projected_frustum_); + } + // .anduril.entitymanager.v1.Position projected_center_ray = 4 [json_name = "projectedCenterRay"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.projected_center_ray_); + } + // .anduril.entitymanager.v1.Pose center_ray_pose = 5 [json_name = "centerRayPose"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.center_ray_pose_); + } + // .google.protobuf.FloatValue range = 8 [json_name = "range"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.range_); + } + } + { + // int32 fov_id = 1 [json_name = "fovId"]; + if (this_._internal_fov_id() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_fov_id()); + } + // float horizontal_fov = 6 [json_name = "horizontalFov"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_horizontal_fov()) != 0) { + total_size += 5; + } + // float vertical_fov = 7 [json_name = "verticalFov"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_vertical_fov()) != 0) { + total_size += 5; + } + // .anduril.entitymanager.v1.SensorMode mode = 9 [json_name = "mode"]; + if (this_._internal_mode() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void FieldOfView::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.FieldOfView) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mount_id().empty()) { + _this->_internal_set_mount_id(from._internal_mount_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.projected_frustum_ != nullptr); + if (_this->_impl_.projected_frustum_ == nullptr) { + _this->_impl_.projected_frustum_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ProjectedFrustum>(arena, *from._impl_.projected_frustum_); + } else { + _this->_impl_.projected_frustum_->MergeFrom(*from._impl_.projected_frustum_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.projected_center_ray_ != nullptr); + if (_this->_impl_.projected_center_ray_ == nullptr) { + _this->_impl_.projected_center_ray_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.projected_center_ray_); + } else { + _this->_impl_.projected_center_ray_->MergeFrom(*from._impl_.projected_center_ray_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.center_ray_pose_ != nullptr); + if (_this->_impl_.center_ray_pose_ == nullptr) { + _this->_impl_.center_ray_pose_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Pose>(arena, *from._impl_.center_ray_pose_); + } else { + _this->_impl_.center_ray_pose_->MergeFrom(*from._impl_.center_ray_pose_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.range_ != nullptr); + if (_this->_impl_.range_ == nullptr) { + _this->_impl_.range_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::FloatValue>(arena, *from._impl_.range_); + } else { + _this->_impl_.range_->MergeFrom(*from._impl_.range_); + } + } + } + if (from._internal_fov_id() != 0) { + _this->_impl_.fov_id_ = from._impl_.fov_id_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_horizontal_fov()) != 0) { + _this->_impl_.horizontal_fov_ = from._impl_.horizontal_fov_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_vertical_fov()) != 0) { + _this->_impl_.vertical_fov_ = from._impl_.vertical_fov_; + } + if (from._internal_mode() != 0) { + _this->_impl_.mode_ = from._impl_.mode_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void FieldOfView::CopyFrom(const FieldOfView& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.FieldOfView) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void FieldOfView::InternalSwap(FieldOfView* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mount_id_, &other->_impl_.mount_id_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.mode_) + + sizeof(FieldOfView::_impl_.mode_) + - PROTOBUF_FIELD_OFFSET(FieldOfView, _impl_.projected_frustum_)>( + reinterpret_cast(&_impl_.projected_frustum_), + reinterpret_cast(&other->_impl_.projected_frustum_)); +} + +::google::protobuf::Metadata FieldOfView::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ProjectedFrustum::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_._has_bits_); +}; + +void ProjectedFrustum::clear_upper_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.upper_left_ != nullptr) _impl_.upper_left_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void ProjectedFrustum::clear_upper_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.upper_right_ != nullptr) _impl_.upper_right_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void ProjectedFrustum::clear_bottom_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bottom_right_ != nullptr) _impl_.bottom_right_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void ProjectedFrustum::clear_bottom_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bottom_left_ != nullptr) _impl_.bottom_left_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +ProjectedFrustum::ProjectedFrustum(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ProjectedFrustum) +} +inline PROTOBUF_NDEBUG_INLINE ProjectedFrustum::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ProjectedFrustum& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ProjectedFrustum::ProjectedFrustum( + ::google::protobuf::Arena* arena, + const ProjectedFrustum& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ProjectedFrustum* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.upper_left_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.upper_left_) + : nullptr; + _impl_.upper_right_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.upper_right_) + : nullptr; + _impl_.bottom_right_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.bottom_right_) + : nullptr; + _impl_.bottom_left_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>( + arena, *from._impl_.bottom_left_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ProjectedFrustum) +} +inline PROTOBUF_NDEBUG_INLINE ProjectedFrustum::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ProjectedFrustum::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, upper_left_), + 0, + offsetof(Impl_, bottom_left_) - + offsetof(Impl_, upper_left_) + + sizeof(Impl_::bottom_left_)); +} +ProjectedFrustum::~ProjectedFrustum() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ProjectedFrustum) + SharedDtor(*this); +} +inline void ProjectedFrustum::SharedDtor(MessageLite& self) { + ProjectedFrustum& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.upper_left_; + delete this_._impl_.upper_right_; + delete this_._impl_.bottom_right_; + delete this_._impl_.bottom_left_; + this_._impl_.~Impl_(); +} + +inline void* ProjectedFrustum::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ProjectedFrustum(arena); +} +constexpr auto ProjectedFrustum::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ProjectedFrustum), + alignof(ProjectedFrustum)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ProjectedFrustum::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ProjectedFrustum_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ProjectedFrustum::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ProjectedFrustum::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ProjectedFrustum::ByteSizeLong, + &ProjectedFrustum::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_._cached_size_), + false, + }, + &ProjectedFrustum::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ProjectedFrustum::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 4, 0, 2> ProjectedFrustum::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ProjectedFrustum>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Position bottom_left = 4 [json_name = "bottomLeft"]; + {::_pbi::TcParser::FastMtS1, + {34, 3, 3, PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.bottom_left_)}}, + // .anduril.entitymanager.v1.Position upper_left = 1 [json_name = "upperLeft"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.upper_left_)}}, + // .anduril.entitymanager.v1.Position upper_right = 2 [json_name = "upperRight"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.upper_right_)}}, + // .anduril.entitymanager.v1.Position bottom_right = 3 [json_name = "bottomRight"]; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.bottom_right_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Position upper_left = 1 [json_name = "upperLeft"]; + {PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.upper_left_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Position upper_right = 2 [json_name = "upperRight"]; + {PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.upper_right_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Position bottom_right = 3 [json_name = "bottomRight"]; + {PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.bottom_right_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Position bottom_left = 4 [json_name = "bottomLeft"]; + {PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.bottom_left_), _Internal::kHasBitsOffset + 3, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Position>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ProjectedFrustum::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ProjectedFrustum) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.upper_left_ != nullptr); + _impl_.upper_left_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.upper_right_ != nullptr); + _impl_.upper_right_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.bottom_right_ != nullptr); + _impl_.bottom_right_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.bottom_left_ != nullptr); + _impl_.bottom_left_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ProjectedFrustum::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ProjectedFrustum& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ProjectedFrustum::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ProjectedFrustum& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ProjectedFrustum) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Position upper_left = 1 [json_name = "upperLeft"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.upper_left_, this_._impl_.upper_left_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Position upper_right = 2 [json_name = "upperRight"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.upper_right_, this_._impl_.upper_right_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Position bottom_right = 3 [json_name = "bottomRight"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.bottom_right_, this_._impl_.bottom_right_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Position bottom_left = 4 [json_name = "bottomLeft"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.bottom_left_, this_._impl_.bottom_left_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ProjectedFrustum) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ProjectedFrustum::ByteSizeLong(const MessageLite& base) { + const ProjectedFrustum& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ProjectedFrustum::ByteSizeLong() const { + const ProjectedFrustum& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ProjectedFrustum) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // .anduril.entitymanager.v1.Position upper_left = 1 [json_name = "upperLeft"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.upper_left_); + } + // .anduril.entitymanager.v1.Position upper_right = 2 [json_name = "upperRight"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.upper_right_); + } + // .anduril.entitymanager.v1.Position bottom_right = 3 [json_name = "bottomRight"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bottom_right_); + } + // .anduril.entitymanager.v1.Position bottom_left = 4 [json_name = "bottomLeft"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bottom_left_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ProjectedFrustum::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ProjectedFrustum) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.upper_left_ != nullptr); + if (_this->_impl_.upper_left_ == nullptr) { + _this->_impl_.upper_left_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.upper_left_); + } else { + _this->_impl_.upper_left_->MergeFrom(*from._impl_.upper_left_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.upper_right_ != nullptr); + if (_this->_impl_.upper_right_ == nullptr) { + _this->_impl_.upper_right_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.upper_right_); + } else { + _this->_impl_.upper_right_->MergeFrom(*from._impl_.upper_right_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.bottom_right_ != nullptr); + if (_this->_impl_.bottom_right_ == nullptr) { + _this->_impl_.bottom_right_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.bottom_right_); + } else { + _this->_impl_.bottom_right_->MergeFrom(*from._impl_.bottom_right_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.bottom_left_ != nullptr); + if (_this->_impl_.bottom_left_ == nullptr) { + _this->_impl_.bottom_left_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Position>(arena, *from._impl_.bottom_left_); + } else { + _this->_impl_.bottom_left_->MergeFrom(*from._impl_.bottom_left_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ProjectedFrustum::CopyFrom(const ProjectedFrustum& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ProjectedFrustum) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ProjectedFrustum::InternalSwap(ProjectedFrustum* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.bottom_left_) + + sizeof(ProjectedFrustum::_impl_.bottom_left_) + - PROTOBUF_FIELD_OFFSET(ProjectedFrustum, _impl_.upper_left_)>( + reinterpret_cast(&_impl_.upper_left_), + reinterpret_cast(&other->_impl_.upper_left_)); +} + +::google::protobuf::Metadata ProjectedFrustum::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class RFConfiguration::_Internal { + public: +}; + +void RFConfiguration::clear_frequency_range_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.frequency_range_hz_.Clear(); +} +RFConfiguration::RFConfiguration(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.RFConfiguration) +} +inline PROTOBUF_NDEBUG_INLINE RFConfiguration::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::RFConfiguration& from_msg) + : frequency_range_hz_{visibility, arena, from.frequency_range_hz_}, + bandwidth_range_hz_{visibility, arena, from.bandwidth_range_hz_}, + _cached_size_{0} {} + +RFConfiguration::RFConfiguration( + ::google::protobuf::Arena* arena, + const RFConfiguration& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RFConfiguration* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.RFConfiguration) +} +inline PROTOBUF_NDEBUG_INLINE RFConfiguration::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : frequency_range_hz_{visibility, arena}, + bandwidth_range_hz_{visibility, arena}, + _cached_size_{0} {} + +inline void RFConfiguration::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +RFConfiguration::~RFConfiguration() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.RFConfiguration) + SharedDtor(*this); +} +inline void RFConfiguration::SharedDtor(MessageLite& self) { + RFConfiguration& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* RFConfiguration::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RFConfiguration(arena); +} +constexpr auto RFConfiguration::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_.frequency_range_hz_) + + decltype(RFConfiguration::_impl_.frequency_range_hz_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_.bandwidth_range_hz_) + + decltype(RFConfiguration::_impl_.bandwidth_range_hz_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(RFConfiguration), alignof(RFConfiguration), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RFConfiguration::PlacementNew_, + sizeof(RFConfiguration), + alignof(RFConfiguration)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RFConfiguration::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RFConfiguration_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RFConfiguration::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RFConfiguration::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RFConfiguration::ByteSizeLong, + &RFConfiguration::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_._cached_size_), + false, + }, + &RFConfiguration::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RFConfiguration::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> RFConfiguration::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967283, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::RFConfiguration>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.BandwidthRange bandwidth_range_hz = 4 [json_name = "bandwidthRangeHz"]; + {::_pbi::TcParser::FastMtR1, + {34, 63, 1, PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_.bandwidth_range_hz_)}}, + // repeated .anduril.entitymanager.v1.FrequencyRange frequency_range_hz = 3 [json_name = "frequencyRangeHz"]; + {::_pbi::TcParser::FastMtR1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_.frequency_range_hz_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.FrequencyRange frequency_range_hz = 3 [json_name = "frequencyRangeHz"]; + {PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_.frequency_range_hz_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.BandwidthRange bandwidth_range_hz = 4 [json_name = "bandwidthRangeHz"]; + {PROTOBUF_FIELD_OFFSET(RFConfiguration, _impl_.bandwidth_range_hz_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FrequencyRange>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::BandwidthRange>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void RFConfiguration::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.RFConfiguration) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.frequency_range_hz_.Clear(); + _impl_.bandwidth_range_hz_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RFConfiguration::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RFConfiguration& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RFConfiguration::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RFConfiguration& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.RFConfiguration) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.FrequencyRange frequency_range_hz = 3 [json_name = "frequencyRangeHz"]; + for (unsigned i = 0, n = static_cast( + this_._internal_frequency_range_hz_size()); + i < n; i++) { + const auto& repfield = this_._internal_frequency_range_hz().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .anduril.entitymanager.v1.BandwidthRange bandwidth_range_hz = 4 [json_name = "bandwidthRangeHz"]; + for (unsigned i = 0, n = static_cast( + this_._internal_bandwidth_range_hz_size()); + i < n; i++) { + const auto& repfield = this_._internal_bandwidth_range_hz().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.RFConfiguration) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RFConfiguration::ByteSizeLong(const MessageLite& base) { + const RFConfiguration& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RFConfiguration::ByteSizeLong() const { + const RFConfiguration& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.RFConfiguration) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.FrequencyRange frequency_range_hz = 3 [json_name = "frequencyRangeHz"]; + { + total_size += 1UL * this_._internal_frequency_range_hz_size(); + for (const auto& msg : this_._internal_frequency_range_hz()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .anduril.entitymanager.v1.BandwidthRange bandwidth_range_hz = 4 [json_name = "bandwidthRangeHz"]; + { + total_size += 1UL * this_._internal_bandwidth_range_hz_size(); + for (const auto& msg : this_._internal_bandwidth_range_hz()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RFConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.RFConfiguration) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_frequency_range_hz()->MergeFrom( + from._internal_frequency_range_hz()); + _this->_internal_mutable_bandwidth_range_hz()->MergeFrom( + from._internal_bandwidth_range_hz()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RFConfiguration::CopyFrom(const RFConfiguration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.RFConfiguration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RFConfiguration::InternalSwap(RFConfiguration* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.frequency_range_hz_.InternalSwap(&other->_impl_.frequency_range_hz_); + _impl_.bandwidth_range_hz_.InternalSwap(&other->_impl_.bandwidth_range_hz_); +} + +::google::protobuf::Metadata RFConfiguration::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BandwidthRange::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_._has_bits_); +}; + +BandwidthRange::BandwidthRange(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.BandwidthRange) +} +inline PROTOBUF_NDEBUG_INLINE BandwidthRange::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::BandwidthRange& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BandwidthRange::BandwidthRange( + ::google::protobuf::Arena* arena, + const BandwidthRange& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BandwidthRange* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.minimum_bandwidth_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Bandwidth>( + arena, *from._impl_.minimum_bandwidth_) + : nullptr; + _impl_.maximum_bandwidth_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Bandwidth>( + arena, *from._impl_.maximum_bandwidth_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.BandwidthRange) +} +inline PROTOBUF_NDEBUG_INLINE BandwidthRange::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BandwidthRange::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, minimum_bandwidth_), + 0, + offsetof(Impl_, maximum_bandwidth_) - + offsetof(Impl_, minimum_bandwidth_) + + sizeof(Impl_::maximum_bandwidth_)); +} +BandwidthRange::~BandwidthRange() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.BandwidthRange) + SharedDtor(*this); +} +inline void BandwidthRange::SharedDtor(MessageLite& self) { + BandwidthRange& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.minimum_bandwidth_; + delete this_._impl_.maximum_bandwidth_; + this_._impl_.~Impl_(); +} + +inline void* BandwidthRange::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BandwidthRange(arena); +} +constexpr auto BandwidthRange::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BandwidthRange), + alignof(BandwidthRange)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BandwidthRange::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BandwidthRange_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BandwidthRange::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BandwidthRange::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BandwidthRange::ByteSizeLong, + &BandwidthRange::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_._cached_size_), + false, + }, + &BandwidthRange::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BandwidthRange::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> BandwidthRange::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::BandwidthRange>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Bandwidth maximum_bandwidth = 2 [json_name = "maximumBandwidth"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_.maximum_bandwidth_)}}, + // .anduril.entitymanager.v1.Bandwidth minimum_bandwidth = 1 [json_name = "minimumBandwidth"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_.minimum_bandwidth_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Bandwidth minimum_bandwidth = 1 [json_name = "minimumBandwidth"]; + {PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_.minimum_bandwidth_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Bandwidth maximum_bandwidth = 2 [json_name = "maximumBandwidth"]; + {PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_.maximum_bandwidth_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Bandwidth>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Bandwidth>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BandwidthRange::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.BandwidthRange) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.minimum_bandwidth_ != nullptr); + _impl_.minimum_bandwidth_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.maximum_bandwidth_ != nullptr); + _impl_.maximum_bandwidth_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BandwidthRange::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BandwidthRange& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BandwidthRange::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BandwidthRange& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.BandwidthRange) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Bandwidth minimum_bandwidth = 1 [json_name = "minimumBandwidth"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.minimum_bandwidth_, this_._impl_.minimum_bandwidth_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Bandwidth maximum_bandwidth = 2 [json_name = "maximumBandwidth"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.maximum_bandwidth_, this_._impl_.maximum_bandwidth_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.BandwidthRange) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BandwidthRange::ByteSizeLong(const MessageLite& base) { + const BandwidthRange& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BandwidthRange::ByteSizeLong() const { + const BandwidthRange& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.BandwidthRange) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Bandwidth minimum_bandwidth = 1 [json_name = "minimumBandwidth"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.minimum_bandwidth_); + } + // .anduril.entitymanager.v1.Bandwidth maximum_bandwidth = 2 [json_name = "maximumBandwidth"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.maximum_bandwidth_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BandwidthRange::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.BandwidthRange) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.minimum_bandwidth_ != nullptr); + if (_this->_impl_.minimum_bandwidth_ == nullptr) { + _this->_impl_.minimum_bandwidth_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Bandwidth>(arena, *from._impl_.minimum_bandwidth_); + } else { + _this->_impl_.minimum_bandwidth_->MergeFrom(*from._impl_.minimum_bandwidth_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.maximum_bandwidth_ != nullptr); + if (_this->_impl_.maximum_bandwidth_ == nullptr) { + _this->_impl_.maximum_bandwidth_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Bandwidth>(arena, *from._impl_.maximum_bandwidth_); + } else { + _this->_impl_.maximum_bandwidth_->MergeFrom(*from._impl_.maximum_bandwidth_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BandwidthRange::CopyFrom(const BandwidthRange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.BandwidthRange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BandwidthRange::InternalSwap(BandwidthRange* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_.maximum_bandwidth_) + + sizeof(BandwidthRange::_impl_.maximum_bandwidth_) + - PROTOBUF_FIELD_OFFSET(BandwidthRange, _impl_.minimum_bandwidth_)>( + reinterpret_cast(&_impl_.minimum_bandwidth_), + reinterpret_cast(&other->_impl_.minimum_bandwidth_)); +} + +::google::protobuf::Metadata BandwidthRange::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Bandwidth::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Bandwidth, _impl_._has_bits_); +}; + +void Bandwidth::clear_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bandwidth_hz_ != nullptr) _impl_.bandwidth_hz_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Bandwidth::Bandwidth(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Bandwidth) +} +inline PROTOBUF_NDEBUG_INLINE Bandwidth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Bandwidth& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Bandwidth::Bandwidth( + ::google::protobuf::Arena* arena, + const Bandwidth& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Bandwidth* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.bandwidth_hz_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.bandwidth_hz_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Bandwidth) +} +inline PROTOBUF_NDEBUG_INLINE Bandwidth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Bandwidth::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.bandwidth_hz_ = {}; +} +Bandwidth::~Bandwidth() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Bandwidth) + SharedDtor(*this); +} +inline void Bandwidth::SharedDtor(MessageLite& self) { + Bandwidth& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.bandwidth_hz_; + this_._impl_.~Impl_(); +} + +inline void* Bandwidth::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Bandwidth(arena); +} +constexpr auto Bandwidth::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Bandwidth), + alignof(Bandwidth)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Bandwidth::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Bandwidth_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Bandwidth::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Bandwidth::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Bandwidth::ByteSizeLong, + &Bandwidth::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Bandwidth, _impl_._cached_size_), + false, + }, + &Bandwidth::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Bandwidth::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Bandwidth::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Bandwidth, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Bandwidth>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.DoubleValue bandwidth_hz = 1 [json_name = "bandwidthHz"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Bandwidth, _impl_.bandwidth_hz_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.DoubleValue bandwidth_hz = 1 [json_name = "bandwidthHz"]; + {PROTOBUF_FIELD_OFFSET(Bandwidth, _impl_.bandwidth_hz_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Bandwidth::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Bandwidth) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.bandwidth_hz_ != nullptr); + _impl_.bandwidth_hz_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Bandwidth::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Bandwidth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Bandwidth::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Bandwidth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Bandwidth) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue bandwidth_hz = 1 [json_name = "bandwidthHz"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.bandwidth_hz_, this_._impl_.bandwidth_hz_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Bandwidth) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Bandwidth::ByteSizeLong(const MessageLite& base) { + const Bandwidth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Bandwidth::ByteSizeLong() const { + const Bandwidth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Bandwidth) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .google.protobuf.DoubleValue bandwidth_hz = 1 [json_name = "bandwidthHz"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bandwidth_hz_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Bandwidth::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Bandwidth) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.bandwidth_hz_ != nullptr); + if (_this->_impl_.bandwidth_hz_ == nullptr) { + _this->_impl_.bandwidth_hz_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.bandwidth_hz_); + } else { + _this->_impl_.bandwidth_hz_->MergeFrom(*from._impl_.bandwidth_hz_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Bandwidth::CopyFrom(const Bandwidth& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Bandwidth) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Bandwidth::InternalSwap(Bandwidth* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.bandwidth_hz_, other->_impl_.bandwidth_hz_); +} + +::google::protobuf::Metadata Bandwidth::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/sensors.pub.pb.h b/src/anduril/entitymanager/v1/sensors.pub.pb.h new file mode 100644 index 0000000..123b424 --- /dev/null +++ b/src/anduril/entitymanager/v1/sensors.pub.pb.h @@ -0,0 +1,3644 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/sensors.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/location.pub.pb.h" +#include "anduril/entitymanager/v1/signal.pub.pb.h" +#include "google/protobuf/timestamp.pb.h" +#include "google/protobuf/wrappers.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Bandwidth; +struct BandwidthDefaultTypeInternal; +extern BandwidthDefaultTypeInternal _Bandwidth_default_instance_; +class BandwidthRange; +struct BandwidthRangeDefaultTypeInternal; +extern BandwidthRangeDefaultTypeInternal _BandwidthRange_default_instance_; +class FieldOfView; +struct FieldOfViewDefaultTypeInternal; +extern FieldOfViewDefaultTypeInternal _FieldOfView_default_instance_; +class ProjectedFrustum; +struct ProjectedFrustumDefaultTypeInternal; +extern ProjectedFrustumDefaultTypeInternal _ProjectedFrustum_default_instance_; +class RFConfiguration; +struct RFConfigurationDefaultTypeInternal; +extern RFConfigurationDefaultTypeInternal _RFConfiguration_default_instance_; +class Sensor; +struct SensorDefaultTypeInternal; +extern SensorDefaultTypeInternal _Sensor_default_instance_; +class Sensors; +struct SensorsDefaultTypeInternal; +extern SensorsDefaultTypeInternal _Sensors_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum OperationalState : int { + OPERATIONAL_STATE_INVALID = 0, + OPERATIONAL_STATE_OFF = 1, + OPERATIONAL_STATE_NON_OPERATIONAL = 2, + OPERATIONAL_STATE_DEGRADED = 3, + OPERATIONAL_STATE_OPERATIONAL = 4, + OPERATIONAL_STATE_DENIED = 5, + OperationalState_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + OperationalState_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool OperationalState_IsValid(int value); +extern const uint32_t OperationalState_internal_data_[]; +constexpr OperationalState OperationalState_MIN = static_cast(0); +constexpr OperationalState OperationalState_MAX = static_cast(5); +constexpr int OperationalState_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +OperationalState_descriptor(); +template +const std::string& OperationalState_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to OperationalState_Name()."); + return OperationalState_Name(static_cast(value)); +} +template <> +inline const std::string& OperationalState_Name(OperationalState value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool OperationalState_Parse(absl::string_view name, OperationalState* value) { + return ::google::protobuf::internal::ParseNamedEnum( + OperationalState_descriptor(), name, value); +} +enum SensorMode : int { + SENSOR_MODE_INVALID = 0, + SENSOR_MODE_SEARCH = 1, + SENSOR_MODE_TRACK = 2, + SENSOR_MODE_WEAPON_SUPPORT = 3, + SENSOR_MODE_AUTO = 4, + SENSOR_MODE_MUTE = 5, + SensorMode_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + SensorMode_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool SensorMode_IsValid(int value); +extern const uint32_t SensorMode_internal_data_[]; +constexpr SensorMode SensorMode_MIN = static_cast(0); +constexpr SensorMode SensorMode_MAX = static_cast(5); +constexpr int SensorMode_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +SensorMode_descriptor(); +template +const std::string& SensorMode_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to SensorMode_Name()."); + return SensorMode_Name(static_cast(value)); +} +template <> +inline const std::string& SensorMode_Name(SensorMode value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool SensorMode_Parse(absl::string_view name, SensorMode* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SensorMode_descriptor(), name, value); +} +enum SensorType : int { + SENSOR_TYPE_INVALID = 0, + SENSOR_TYPE_RADAR = 1, + SENSOR_TYPE_CAMERA = 2, + SENSOR_TYPE_TRANSPONDER = 3, + SENSOR_TYPE_RF = 4, + SENSOR_TYPE_GPS = 5, + SENSOR_TYPE_PTU_POS = 6, + SENSOR_TYPE_PERIMETER = 8, + SENSOR_TYPE_SONAR = 9, + SensorType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + SensorType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool SensorType_IsValid(int value); +extern const uint32_t SensorType_internal_data_[]; +constexpr SensorType SensorType_MIN = static_cast(0); +constexpr SensorType SensorType_MAX = static_cast(9); +constexpr int SensorType_ARRAYSIZE = 9 + 1; +const ::google::protobuf::EnumDescriptor* +SensorType_descriptor(); +template +const std::string& SensorType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to SensorType_Name()."); + return SensorType_Name(static_cast(value)); +} +template <> +inline const std::string& SensorType_Name(SensorType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool SensorType_Parse(absl::string_view name, SensorType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SensorType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Bandwidth final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Bandwidth) */ { + public: + inline Bandwidth() : Bandwidth(nullptr) {} + ~Bandwidth() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Bandwidth* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Bandwidth)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Bandwidth( + ::google::protobuf::internal::ConstantInitialized); + + inline Bandwidth(const Bandwidth& from) : Bandwidth(nullptr, from) {} + inline Bandwidth(Bandwidth&& from) noexcept + : Bandwidth(nullptr, std::move(from)) {} + inline Bandwidth& operator=(const Bandwidth& from) { + CopyFrom(from); + return *this; + } + inline Bandwidth& operator=(Bandwidth&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Bandwidth& default_instance() { + return *internal_default_instance(); + } + static inline const Bandwidth* internal_default_instance() { + return reinterpret_cast( + &_Bandwidth_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(Bandwidth& a, Bandwidth& b) { a.Swap(&b); } + inline void Swap(Bandwidth* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Bandwidth* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Bandwidth* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Bandwidth& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Bandwidth& from) { Bandwidth::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Bandwidth* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Bandwidth"; } + + protected: + explicit Bandwidth(::google::protobuf::Arena* arena); + Bandwidth(::google::protobuf::Arena* arena, const Bandwidth& from); + Bandwidth(::google::protobuf::Arena* arena, Bandwidth&& from) noexcept + : Bandwidth(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kBandwidthHzFieldNumber = 1, + }; + // .google.protobuf.DoubleValue bandwidth_hz = 1 [json_name = "bandwidthHz"]; + bool has_bandwidth_hz() const; + void clear_bandwidth_hz() ; + const ::google::protobuf::DoubleValue& bandwidth_hz() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_bandwidth_hz(); + ::google::protobuf::DoubleValue* mutable_bandwidth_hz(); + void set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_bandwidth_hz(); + + private: + const ::google::protobuf::DoubleValue& _internal_bandwidth_hz() const; + ::google::protobuf::DoubleValue* _internal_mutable_bandwidth_hz(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Bandwidth) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Bandwidth& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* bandwidth_hz_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class ProjectedFrustum final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ProjectedFrustum) */ { + public: + inline ProjectedFrustum() : ProjectedFrustum(nullptr) {} + ~ProjectedFrustum() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ProjectedFrustum* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ProjectedFrustum)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ProjectedFrustum( + ::google::protobuf::internal::ConstantInitialized); + + inline ProjectedFrustum(const ProjectedFrustum& from) : ProjectedFrustum(nullptr, from) {} + inline ProjectedFrustum(ProjectedFrustum&& from) noexcept + : ProjectedFrustum(nullptr, std::move(from)) {} + inline ProjectedFrustum& operator=(const ProjectedFrustum& from) { + CopyFrom(from); + return *this; + } + inline ProjectedFrustum& operator=(ProjectedFrustum&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ProjectedFrustum& default_instance() { + return *internal_default_instance(); + } + static inline const ProjectedFrustum* internal_default_instance() { + return reinterpret_cast( + &_ProjectedFrustum_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(ProjectedFrustum& a, ProjectedFrustum& b) { a.Swap(&b); } + inline void Swap(ProjectedFrustum* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ProjectedFrustum* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ProjectedFrustum* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ProjectedFrustum& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ProjectedFrustum& from) { ProjectedFrustum::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ProjectedFrustum* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ProjectedFrustum"; } + + protected: + explicit ProjectedFrustum(::google::protobuf::Arena* arena); + ProjectedFrustum(::google::protobuf::Arena* arena, const ProjectedFrustum& from); + ProjectedFrustum(::google::protobuf::Arena* arena, ProjectedFrustum&& from) noexcept + : ProjectedFrustum(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUpperLeftFieldNumber = 1, + kUpperRightFieldNumber = 2, + kBottomRightFieldNumber = 3, + kBottomLeftFieldNumber = 4, + }; + // .anduril.entitymanager.v1.Position upper_left = 1 [json_name = "upperLeft"]; + bool has_upper_left() const; + void clear_upper_left() ; + const ::anduril::entitymanager::v1::Position& upper_left() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_upper_left(); + ::anduril::entitymanager::v1::Position* mutable_upper_left(); + void set_allocated_upper_left(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_upper_left(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_upper_left(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_upper_left() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_upper_left(); + + public: + // .anduril.entitymanager.v1.Position upper_right = 2 [json_name = "upperRight"]; + bool has_upper_right() const; + void clear_upper_right() ; + const ::anduril::entitymanager::v1::Position& upper_right() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_upper_right(); + ::anduril::entitymanager::v1::Position* mutable_upper_right(); + void set_allocated_upper_right(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_upper_right(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_upper_right(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_upper_right() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_upper_right(); + + public: + // .anduril.entitymanager.v1.Position bottom_right = 3 [json_name = "bottomRight"]; + bool has_bottom_right() const; + void clear_bottom_right() ; + const ::anduril::entitymanager::v1::Position& bottom_right() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_bottom_right(); + ::anduril::entitymanager::v1::Position* mutable_bottom_right(); + void set_allocated_bottom_right(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_bottom_right(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_bottom_right(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_bottom_right() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_bottom_right(); + + public: + // .anduril.entitymanager.v1.Position bottom_left = 4 [json_name = "bottomLeft"]; + bool has_bottom_left() const; + void clear_bottom_left() ; + const ::anduril::entitymanager::v1::Position& bottom_left() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_bottom_left(); + ::anduril::entitymanager::v1::Position* mutable_bottom_left(); + void set_allocated_bottom_left(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_bottom_left(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_bottom_left(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_bottom_left() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_bottom_left(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ProjectedFrustum) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ProjectedFrustum& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Position* upper_left_; + ::anduril::entitymanager::v1::Position* upper_right_; + ::anduril::entitymanager::v1::Position* bottom_right_; + ::anduril::entitymanager::v1::Position* bottom_left_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class BandwidthRange final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.BandwidthRange) */ { + public: + inline BandwidthRange() : BandwidthRange(nullptr) {} + ~BandwidthRange() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BandwidthRange* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthRange)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BandwidthRange( + ::google::protobuf::internal::ConstantInitialized); + + inline BandwidthRange(const BandwidthRange& from) : BandwidthRange(nullptr, from) {} + inline BandwidthRange(BandwidthRange&& from) noexcept + : BandwidthRange(nullptr, std::move(from)) {} + inline BandwidthRange& operator=(const BandwidthRange& from) { + CopyFrom(from); + return *this; + } + inline BandwidthRange& operator=(BandwidthRange&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BandwidthRange& default_instance() { + return *internal_default_instance(); + } + static inline const BandwidthRange* internal_default_instance() { + return reinterpret_cast( + &_BandwidthRange_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(BandwidthRange& a, BandwidthRange& b) { a.Swap(&b); } + inline void Swap(BandwidthRange* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BandwidthRange* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BandwidthRange* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BandwidthRange& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BandwidthRange& from) { BandwidthRange::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BandwidthRange* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.BandwidthRange"; } + + protected: + explicit BandwidthRange(::google::protobuf::Arena* arena); + BandwidthRange(::google::protobuf::Arena* arena, const BandwidthRange& from); + BandwidthRange(::google::protobuf::Arena* arena, BandwidthRange&& from) noexcept + : BandwidthRange(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMinimumBandwidthFieldNumber = 1, + kMaximumBandwidthFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Bandwidth minimum_bandwidth = 1 [json_name = "minimumBandwidth"]; + bool has_minimum_bandwidth() const; + void clear_minimum_bandwidth() ; + const ::anduril::entitymanager::v1::Bandwidth& minimum_bandwidth() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Bandwidth* release_minimum_bandwidth(); + ::anduril::entitymanager::v1::Bandwidth* mutable_minimum_bandwidth(); + void set_allocated_minimum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value); + void unsafe_arena_set_allocated_minimum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value); + ::anduril::entitymanager::v1::Bandwidth* unsafe_arena_release_minimum_bandwidth(); + + private: + const ::anduril::entitymanager::v1::Bandwidth& _internal_minimum_bandwidth() const; + ::anduril::entitymanager::v1::Bandwidth* _internal_mutable_minimum_bandwidth(); + + public: + // .anduril.entitymanager.v1.Bandwidth maximum_bandwidth = 2 [json_name = "maximumBandwidth"]; + bool has_maximum_bandwidth() const; + void clear_maximum_bandwidth() ; + const ::anduril::entitymanager::v1::Bandwidth& maximum_bandwidth() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Bandwidth* release_maximum_bandwidth(); + ::anduril::entitymanager::v1::Bandwidth* mutable_maximum_bandwidth(); + void set_allocated_maximum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value); + void unsafe_arena_set_allocated_maximum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value); + ::anduril::entitymanager::v1::Bandwidth* unsafe_arena_release_maximum_bandwidth(); + + private: + const ::anduril::entitymanager::v1::Bandwidth& _internal_maximum_bandwidth() const; + ::anduril::entitymanager::v1::Bandwidth* _internal_mutable_maximum_bandwidth(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.BandwidthRange) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BandwidthRange& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Bandwidth* minimum_bandwidth_; + ::anduril::entitymanager::v1::Bandwidth* maximum_bandwidth_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class FieldOfView final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.FieldOfView) */ { + public: + inline FieldOfView() : FieldOfView(nullptr) {} + ~FieldOfView() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(FieldOfView* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOfView)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR FieldOfView( + ::google::protobuf::internal::ConstantInitialized); + + inline FieldOfView(const FieldOfView& from) : FieldOfView(nullptr, from) {} + inline FieldOfView(FieldOfView&& from) noexcept + : FieldOfView(nullptr, std::move(from)) {} + inline FieldOfView& operator=(const FieldOfView& from) { + CopyFrom(from); + return *this; + } + inline FieldOfView& operator=(FieldOfView&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FieldOfView& default_instance() { + return *internal_default_instance(); + } + static inline const FieldOfView* internal_default_instance() { + return reinterpret_cast( + &_FieldOfView_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(FieldOfView& a, FieldOfView& b) { a.Swap(&b); } + inline void Swap(FieldOfView* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FieldOfView* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FieldOfView* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const FieldOfView& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const FieldOfView& from) { FieldOfView::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(FieldOfView* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.FieldOfView"; } + + protected: + explicit FieldOfView(::google::protobuf::Arena* arena); + FieldOfView(::google::protobuf::Arena* arena, const FieldOfView& from); + FieldOfView(::google::protobuf::Arena* arena, FieldOfView&& from) noexcept + : FieldOfView(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMountIdFieldNumber = 2, + kProjectedFrustumFieldNumber = 3, + kProjectedCenterRayFieldNumber = 4, + kCenterRayPoseFieldNumber = 5, + kRangeFieldNumber = 8, + kFovIdFieldNumber = 1, + kHorizontalFovFieldNumber = 6, + kVerticalFovFieldNumber = 7, + kModeFieldNumber = 9, + }; + // string mount_id = 2 [json_name = "mountId"]; + void clear_mount_id() ; + const std::string& mount_id() const; + template + void set_mount_id(Arg_&& arg, Args_... args); + std::string* mutable_mount_id(); + PROTOBUF_NODISCARD std::string* release_mount_id(); + void set_allocated_mount_id(std::string* value); + + private: + const std::string& _internal_mount_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mount_id( + const std::string& value); + std::string* _internal_mutable_mount_id(); + + public: + // .anduril.entitymanager.v1.ProjectedFrustum projected_frustum = 3 [json_name = "projectedFrustum"]; + bool has_projected_frustum() const; + void clear_projected_frustum() ; + const ::anduril::entitymanager::v1::ProjectedFrustum& projected_frustum() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ProjectedFrustum* release_projected_frustum(); + ::anduril::entitymanager::v1::ProjectedFrustum* mutable_projected_frustum(); + void set_allocated_projected_frustum(::anduril::entitymanager::v1::ProjectedFrustum* value); + void unsafe_arena_set_allocated_projected_frustum(::anduril::entitymanager::v1::ProjectedFrustum* value); + ::anduril::entitymanager::v1::ProjectedFrustum* unsafe_arena_release_projected_frustum(); + + private: + const ::anduril::entitymanager::v1::ProjectedFrustum& _internal_projected_frustum() const; + ::anduril::entitymanager::v1::ProjectedFrustum* _internal_mutable_projected_frustum(); + + public: + // .anduril.entitymanager.v1.Position projected_center_ray = 4 [json_name = "projectedCenterRay"]; + bool has_projected_center_ray() const; + void clear_projected_center_ray() ; + const ::anduril::entitymanager::v1::Position& projected_center_ray() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Position* release_projected_center_ray(); + ::anduril::entitymanager::v1::Position* mutable_projected_center_ray(); + void set_allocated_projected_center_ray(::anduril::entitymanager::v1::Position* value); + void unsafe_arena_set_allocated_projected_center_ray(::anduril::entitymanager::v1::Position* value); + ::anduril::entitymanager::v1::Position* unsafe_arena_release_projected_center_ray(); + + private: + const ::anduril::entitymanager::v1::Position& _internal_projected_center_ray() const; + ::anduril::entitymanager::v1::Position* _internal_mutable_projected_center_ray(); + + public: + // .anduril.entitymanager.v1.Pose center_ray_pose = 5 [json_name = "centerRayPose"]; + bool has_center_ray_pose() const; + void clear_center_ray_pose() ; + const ::anduril::entitymanager::v1::Pose& center_ray_pose() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Pose* release_center_ray_pose(); + ::anduril::entitymanager::v1::Pose* mutable_center_ray_pose(); + void set_allocated_center_ray_pose(::anduril::entitymanager::v1::Pose* value); + void unsafe_arena_set_allocated_center_ray_pose(::anduril::entitymanager::v1::Pose* value); + ::anduril::entitymanager::v1::Pose* unsafe_arena_release_center_ray_pose(); + + private: + const ::anduril::entitymanager::v1::Pose& _internal_center_ray_pose() const; + ::anduril::entitymanager::v1::Pose* _internal_mutable_center_ray_pose(); + + public: + // .google.protobuf.FloatValue range = 8 [json_name = "range"]; + bool has_range() const; + void clear_range() ; + const ::google::protobuf::FloatValue& range() const; + PROTOBUF_NODISCARD ::google::protobuf::FloatValue* release_range(); + ::google::protobuf::FloatValue* mutable_range(); + void set_allocated_range(::google::protobuf::FloatValue* value); + void unsafe_arena_set_allocated_range(::google::protobuf::FloatValue* value); + ::google::protobuf::FloatValue* unsafe_arena_release_range(); + + private: + const ::google::protobuf::FloatValue& _internal_range() const; + ::google::protobuf::FloatValue* _internal_mutable_range(); + + public: + // int32 fov_id = 1 [json_name = "fovId"]; + void clear_fov_id() ; + ::int32_t fov_id() const; + void set_fov_id(::int32_t value); + + private: + ::int32_t _internal_fov_id() const; + void _internal_set_fov_id(::int32_t value); + + public: + // float horizontal_fov = 6 [json_name = "horizontalFov"]; + void clear_horizontal_fov() ; + float horizontal_fov() const; + void set_horizontal_fov(float value); + + private: + float _internal_horizontal_fov() const; + void _internal_set_horizontal_fov(float value); + + public: + // float vertical_fov = 7 [json_name = "verticalFov"]; + void clear_vertical_fov() ; + float vertical_fov() const; + void set_vertical_fov(float value); + + private: + float _internal_vertical_fov() const; + void _internal_set_vertical_fov(float value); + + public: + // .anduril.entitymanager.v1.SensorMode mode = 9 [json_name = "mode"]; + void clear_mode() ; + ::anduril::entitymanager::v1::SensorMode mode() const; + void set_mode(::anduril::entitymanager::v1::SensorMode value); + + private: + ::anduril::entitymanager::v1::SensorMode _internal_mode() const; + void _internal_set_mode(::anduril::entitymanager::v1::SensorMode value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.FieldOfView) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 4, 9, 4, + 61, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const FieldOfView& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr mount_id_; + ::anduril::entitymanager::v1::ProjectedFrustum* projected_frustum_; + ::anduril::entitymanager::v1::Position* projected_center_ray_; + ::anduril::entitymanager::v1::Pose* center_ray_pose_; + ::google::protobuf::FloatValue* range_; + ::int32_t fov_id_; + float horizontal_fov_; + float vertical_fov_; + int mode_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class RFConfiguration final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.RFConfiguration) */ { + public: + inline RFConfiguration() : RFConfiguration(nullptr) {} + ~RFConfiguration() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RFConfiguration* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RFConfiguration)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RFConfiguration( + ::google::protobuf::internal::ConstantInitialized); + + inline RFConfiguration(const RFConfiguration& from) : RFConfiguration(nullptr, from) {} + inline RFConfiguration(RFConfiguration&& from) noexcept + : RFConfiguration(nullptr, std::move(from)) {} + inline RFConfiguration& operator=(const RFConfiguration& from) { + CopyFrom(from); + return *this; + } + inline RFConfiguration& operator=(RFConfiguration&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RFConfiguration& default_instance() { + return *internal_default_instance(); + } + static inline const RFConfiguration* internal_default_instance() { + return reinterpret_cast( + &_RFConfiguration_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(RFConfiguration& a, RFConfiguration& b) { a.Swap(&b); } + inline void Swap(RFConfiguration* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RFConfiguration* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RFConfiguration* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RFConfiguration& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RFConfiguration& from) { RFConfiguration::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RFConfiguration* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.RFConfiguration"; } + + protected: + explicit RFConfiguration(::google::protobuf::Arena* arena); + RFConfiguration(::google::protobuf::Arena* arena, const RFConfiguration& from); + RFConfiguration(::google::protobuf::Arena* arena, RFConfiguration&& from) noexcept + : RFConfiguration(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFrequencyRangeHzFieldNumber = 3, + kBandwidthRangeHzFieldNumber = 4, + }; + // repeated .anduril.entitymanager.v1.FrequencyRange frequency_range_hz = 3 [json_name = "frequencyRangeHz"]; + int frequency_range_hz_size() const; + private: + int _internal_frequency_range_hz_size() const; + + public: + void clear_frequency_range_hz() ; + ::anduril::entitymanager::v1::FrequencyRange* mutable_frequency_range_hz(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>* mutable_frequency_range_hz(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>& _internal_frequency_range_hz() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>* _internal_mutable_frequency_range_hz(); + public: + const ::anduril::entitymanager::v1::FrequencyRange& frequency_range_hz(int index) const; + ::anduril::entitymanager::v1::FrequencyRange* add_frequency_range_hz(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>& frequency_range_hz() const; + // repeated .anduril.entitymanager.v1.BandwidthRange bandwidth_range_hz = 4 [json_name = "bandwidthRangeHz"]; + int bandwidth_range_hz_size() const; + private: + int _internal_bandwidth_range_hz_size() const; + + public: + void clear_bandwidth_range_hz() ; + ::anduril::entitymanager::v1::BandwidthRange* mutable_bandwidth_range_hz(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>* mutable_bandwidth_range_hz(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>& _internal_bandwidth_range_hz() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>* _internal_mutable_bandwidth_range_hz(); + public: + const ::anduril::entitymanager::v1::BandwidthRange& bandwidth_range_hz(int index) const; + ::anduril::entitymanager::v1::BandwidthRange* add_bandwidth_range_hz(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>& bandwidth_range_hz() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.RFConfiguration) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RFConfiguration& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::FrequencyRange > frequency_range_hz_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::BandwidthRange > bandwidth_range_hz_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Sensor final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Sensor) */ { + public: + inline Sensor() : Sensor(nullptr) {} + ~Sensor() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Sensor* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Sensor)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Sensor( + ::google::protobuf::internal::ConstantInitialized); + + inline Sensor(const Sensor& from) : Sensor(nullptr, from) {} + inline Sensor(Sensor&& from) noexcept + : Sensor(nullptr, std::move(from)) {} + inline Sensor& operator=(const Sensor& from) { + CopyFrom(from); + return *this; + } + inline Sensor& operator=(Sensor&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Sensor& default_instance() { + return *internal_default_instance(); + } + static inline const Sensor* internal_default_instance() { + return reinterpret_cast( + &_Sensor_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Sensor& a, Sensor& b) { a.Swap(&b); } + inline void Swap(Sensor* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Sensor* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Sensor* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Sensor& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Sensor& from) { Sensor::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Sensor* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Sensor"; } + + protected: + explicit Sensor(::google::protobuf::Arena* arena); + Sensor(::google::protobuf::Arena* arena, const Sensor& from); + Sensor(::google::protobuf::Arena* arena, Sensor&& from) noexcept + : Sensor(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFieldsOfViewFieldNumber = 9, + kSensorIdFieldNumber = 1, + kSensorDescriptionFieldNumber = 6, + kRfConfiguratonFieldNumber = 7, + kLastDetectionTimestampFieldNumber = 8, + kOperationalStateFieldNumber = 3, + kSensorTypeFieldNumber = 5, + }; + // repeated .anduril.entitymanager.v1.FieldOfView fields_of_view = 9 [json_name = "fieldsOfView"]; + int fields_of_view_size() const; + private: + int _internal_fields_of_view_size() const; + + public: + void clear_fields_of_view() ; + ::anduril::entitymanager::v1::FieldOfView* mutable_fields_of_view(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>* mutable_fields_of_view(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>& _internal_fields_of_view() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>* _internal_mutable_fields_of_view(); + public: + const ::anduril::entitymanager::v1::FieldOfView& fields_of_view(int index) const; + ::anduril::entitymanager::v1::FieldOfView* add_fields_of_view(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>& fields_of_view() const; + // string sensor_id = 1 [json_name = "sensorId"]; + void clear_sensor_id() ; + const std::string& sensor_id() const; + template + void set_sensor_id(Arg_&& arg, Args_... args); + std::string* mutable_sensor_id(); + PROTOBUF_NODISCARD std::string* release_sensor_id(); + void set_allocated_sensor_id(std::string* value); + + private: + const std::string& _internal_sensor_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor_id( + const std::string& value); + std::string* _internal_mutable_sensor_id(); + + public: + // string sensor_description = 6 [json_name = "sensorDescription"]; + void clear_sensor_description() ; + const std::string& sensor_description() const; + template + void set_sensor_description(Arg_&& arg, Args_... args); + std::string* mutable_sensor_description(); + PROTOBUF_NODISCARD std::string* release_sensor_description(); + void set_allocated_sensor_description(std::string* value); + + private: + const std::string& _internal_sensor_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor_description( + const std::string& value); + std::string* _internal_mutable_sensor_description(); + + public: + // .anduril.entitymanager.v1.RFConfiguration rf_configuraton = 7 [json_name = "rfConfiguraton"]; + bool has_rf_configuraton() const; + void clear_rf_configuraton() ; + const ::anduril::entitymanager::v1::RFConfiguration& rf_configuraton() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::RFConfiguration* release_rf_configuraton(); + ::anduril::entitymanager::v1::RFConfiguration* mutable_rf_configuraton(); + void set_allocated_rf_configuraton(::anduril::entitymanager::v1::RFConfiguration* value); + void unsafe_arena_set_allocated_rf_configuraton(::anduril::entitymanager::v1::RFConfiguration* value); + ::anduril::entitymanager::v1::RFConfiguration* unsafe_arena_release_rf_configuraton(); + + private: + const ::anduril::entitymanager::v1::RFConfiguration& _internal_rf_configuraton() const; + ::anduril::entitymanager::v1::RFConfiguration* _internal_mutable_rf_configuraton(); + + public: + // .google.protobuf.Timestamp last_detection_timestamp = 8 [json_name = "lastDetectionTimestamp"]; + bool has_last_detection_timestamp() const; + void clear_last_detection_timestamp() ; + const ::google::protobuf::Timestamp& last_detection_timestamp() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_last_detection_timestamp(); + ::google::protobuf::Timestamp* mutable_last_detection_timestamp(); + void set_allocated_last_detection_timestamp(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_last_detection_timestamp(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_last_detection_timestamp(); + + private: + const ::google::protobuf::Timestamp& _internal_last_detection_timestamp() const; + ::google::protobuf::Timestamp* _internal_mutable_last_detection_timestamp(); + + public: + // .anduril.entitymanager.v1.OperationalState operational_state = 3 [json_name = "operationalState"]; + void clear_operational_state() ; + ::anduril::entitymanager::v1::OperationalState operational_state() const; + void set_operational_state(::anduril::entitymanager::v1::OperationalState value); + + private: + ::anduril::entitymanager::v1::OperationalState _internal_operational_state() const; + void _internal_set_operational_state(::anduril::entitymanager::v1::OperationalState value); + + public: + // .anduril.entitymanager.v1.SensorType sensor_type = 5 [json_name = "sensorType"]; + void clear_sensor_type() ; + ::anduril::entitymanager::v1::SensorType sensor_type() const; + void set_sensor_type(::anduril::entitymanager::v1::SensorType value); + + private: + ::anduril::entitymanager::v1::SensorType _internal_sensor_type() const; + void _internal_set_sensor_type(::anduril::entitymanager::v1::SensorType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Sensor) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 7, 3, + 67, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Sensor& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::FieldOfView > fields_of_view_; + ::google::protobuf::internal::ArenaStringPtr sensor_id_; + ::google::protobuf::internal::ArenaStringPtr sensor_description_; + ::anduril::entitymanager::v1::RFConfiguration* rf_configuraton_; + ::google::protobuf::Timestamp* last_detection_timestamp_; + int operational_state_; + int sensor_type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Sensors final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Sensors) */ { + public: + inline Sensors() : Sensors(nullptr) {} + ~Sensors() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Sensors* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Sensors)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Sensors( + ::google::protobuf::internal::ConstantInitialized); + + inline Sensors(const Sensors& from) : Sensors(nullptr, from) {} + inline Sensors(Sensors&& from) noexcept + : Sensors(nullptr, std::move(from)) {} + inline Sensors& operator=(const Sensors& from) { + CopyFrom(from); + return *this; + } + inline Sensors& operator=(Sensors&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Sensors& default_instance() { + return *internal_default_instance(); + } + static inline const Sensors* internal_default_instance() { + return reinterpret_cast( + &_Sensors_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Sensors& a, Sensors& b) { a.Swap(&b); } + inline void Swap(Sensors* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Sensors* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Sensors* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Sensors& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Sensors& from) { Sensors::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Sensors* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Sensors"; } + + protected: + explicit Sensors(::google::protobuf::Arena* arena); + Sensors(::google::protobuf::Arena* arena, const Sensors& from); + Sensors(::google::protobuf::Arena* arena, Sensors&& from) noexcept + : Sensors(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSensorsFieldNumber = 1, + }; + // repeated .anduril.entitymanager.v1.Sensor sensors = 1 [json_name = "sensors"]; + int sensors_size() const; + private: + int _internal_sensors_size() const; + + public: + void clear_sensors() ; + ::anduril::entitymanager::v1::Sensor* mutable_sensors(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>* mutable_sensors(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>& _internal_sensors() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>* _internal_mutable_sensors(); + public: + const ::anduril::entitymanager::v1::Sensor& sensors(int index) const; + ::anduril::entitymanager::v1::Sensor* add_sensors(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>& sensors() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Sensors) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Sensors& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Sensor > sensors_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Sensors + +// repeated .anduril.entitymanager.v1.Sensor sensors = 1 [json_name = "sensors"]; +inline int Sensors::_internal_sensors_size() const { + return _internal_sensors().size(); +} +inline int Sensors::sensors_size() const { + return _internal_sensors_size(); +} +inline void Sensors::clear_sensors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensors_.Clear(); +} +inline ::anduril::entitymanager::v1::Sensor* Sensors::mutable_sensors(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Sensors.sensors) + return _internal_mutable_sensors()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>* Sensors::mutable_sensors() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Sensors.sensors) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_sensors(); +} +inline const ::anduril::entitymanager::v1::Sensor& Sensors::sensors(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensors.sensors) + return _internal_sensors().Get(index); +} +inline ::anduril::entitymanager::v1::Sensor* Sensors::add_sensors() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Sensor* _add = _internal_mutable_sensors()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Sensors.sensors) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>& Sensors::sensors() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Sensors.sensors) + return _internal_sensors(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>& +Sensors::_internal_sensors() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.sensors_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Sensor>* +Sensors::_internal_mutable_sensors() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.sensors_; +} + +// ------------------------------------------------------------------- + +// Sensor + +// string sensor_id = 1 [json_name = "sensorId"]; +inline void Sensor::clear_sensor_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_id_.ClearToEmpty(); +} +inline const std::string& Sensor::sensor_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.sensor_id) + return _internal_sensor_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Sensor::set_sensor_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Sensor.sensor_id) +} +inline std::string* Sensor::mutable_sensor_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_sensor_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Sensor.sensor_id) + return _s; +} +inline const std::string& Sensor::_internal_sensor_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.sensor_id_.Get(); +} +inline void Sensor::_internal_set_sensor_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_id_.Set(value, GetArena()); +} +inline std::string* Sensor::_internal_mutable_sensor_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.sensor_id_.Mutable( GetArena()); +} +inline std::string* Sensor::release_sensor_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Sensor.sensor_id) + return _impl_.sensor_id_.Release(); +} +inline void Sensor::set_allocated_sensor_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sensor_id_.IsDefault()) { + _impl_.sensor_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Sensor.sensor_id) +} + +// .anduril.entitymanager.v1.OperationalState operational_state = 3 [json_name = "operationalState"]; +inline void Sensor::clear_operational_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operational_state_ = 0; +} +inline ::anduril::entitymanager::v1::OperationalState Sensor::operational_state() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.operational_state) + return _internal_operational_state(); +} +inline void Sensor::set_operational_state(::anduril::entitymanager::v1::OperationalState value) { + _internal_set_operational_state(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Sensor.operational_state) +} +inline ::anduril::entitymanager::v1::OperationalState Sensor::_internal_operational_state() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::OperationalState>(_impl_.operational_state_); +} +inline void Sensor::_internal_set_operational_state(::anduril::entitymanager::v1::OperationalState value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operational_state_ = value; +} + +// .anduril.entitymanager.v1.SensorType sensor_type = 5 [json_name = "sensorType"]; +inline void Sensor::clear_sensor_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_type_ = 0; +} +inline ::anduril::entitymanager::v1::SensorType Sensor::sensor_type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.sensor_type) + return _internal_sensor_type(); +} +inline void Sensor::set_sensor_type(::anduril::entitymanager::v1::SensorType value) { + _internal_set_sensor_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Sensor.sensor_type) +} +inline ::anduril::entitymanager::v1::SensorType Sensor::_internal_sensor_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::SensorType>(_impl_.sensor_type_); +} +inline void Sensor::_internal_set_sensor_type(::anduril::entitymanager::v1::SensorType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_type_ = value; +} + +// string sensor_description = 6 [json_name = "sensorDescription"]; +inline void Sensor::clear_sensor_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_description_.ClearToEmpty(); +} +inline const std::string& Sensor::sensor_description() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.sensor_description) + return _internal_sensor_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Sensor::set_sensor_description(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_description_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Sensor.sensor_description) +} +inline std::string* Sensor::mutable_sensor_description() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_sensor_description(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Sensor.sensor_description) + return _s; +} +inline const std::string& Sensor::_internal_sensor_description() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.sensor_description_.Get(); +} +inline void Sensor::_internal_set_sensor_description(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_description_.Set(value, GetArena()); +} +inline std::string* Sensor::_internal_mutable_sensor_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.sensor_description_.Mutable( GetArena()); +} +inline std::string* Sensor::release_sensor_description() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Sensor.sensor_description) + return _impl_.sensor_description_.Release(); +} +inline void Sensor::set_allocated_sensor_description(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sensor_description_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sensor_description_.IsDefault()) { + _impl_.sensor_description_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Sensor.sensor_description) +} + +// .anduril.entitymanager.v1.RFConfiguration rf_configuraton = 7 [json_name = "rfConfiguraton"]; +inline bool Sensor::has_rf_configuraton() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.rf_configuraton_ != nullptr); + return value; +} +inline void Sensor::clear_rf_configuraton() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rf_configuraton_ != nullptr) _impl_.rf_configuraton_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::RFConfiguration& Sensor::_internal_rf_configuraton() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::RFConfiguration* p = _impl_.rf_configuraton_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_RFConfiguration_default_instance_); +} +inline const ::anduril::entitymanager::v1::RFConfiguration& Sensor::rf_configuraton() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.rf_configuraton) + return _internal_rf_configuraton(); +} +inline void Sensor::unsafe_arena_set_allocated_rf_configuraton(::anduril::entitymanager::v1::RFConfiguration* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rf_configuraton_); + } + _impl_.rf_configuraton_ = reinterpret_cast<::anduril::entitymanager::v1::RFConfiguration*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Sensor.rf_configuraton) +} +inline ::anduril::entitymanager::v1::RFConfiguration* Sensor::release_rf_configuraton() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::RFConfiguration* released = _impl_.rf_configuraton_; + _impl_.rf_configuraton_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::RFConfiguration* Sensor::unsafe_arena_release_rf_configuraton() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Sensor.rf_configuraton) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::RFConfiguration* temp = _impl_.rf_configuraton_; + _impl_.rf_configuraton_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::RFConfiguration* Sensor::_internal_mutable_rf_configuraton() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rf_configuraton_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::RFConfiguration>(GetArena()); + _impl_.rf_configuraton_ = reinterpret_cast<::anduril::entitymanager::v1::RFConfiguration*>(p); + } + return _impl_.rf_configuraton_; +} +inline ::anduril::entitymanager::v1::RFConfiguration* Sensor::mutable_rf_configuraton() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::RFConfiguration* _msg = _internal_mutable_rf_configuraton(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Sensor.rf_configuraton) + return _msg; +} +inline void Sensor::set_allocated_rf_configuraton(::anduril::entitymanager::v1::RFConfiguration* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.rf_configuraton_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.rf_configuraton_ = reinterpret_cast<::anduril::entitymanager::v1::RFConfiguration*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Sensor.rf_configuraton) +} + +// .google.protobuf.Timestamp last_detection_timestamp = 8 [json_name = "lastDetectionTimestamp"]; +inline bool Sensor::has_last_detection_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.last_detection_timestamp_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Sensor::_internal_last_detection_timestamp() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.last_detection_timestamp_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Sensor::last_detection_timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.last_detection_timestamp) + return _internal_last_detection_timestamp(); +} +inline void Sensor::unsafe_arena_set_allocated_last_detection_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_detection_timestamp_); + } + _impl_.last_detection_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Sensor.last_detection_timestamp) +} +inline ::google::protobuf::Timestamp* Sensor::release_last_detection_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* released = _impl_.last_detection_timestamp_; + _impl_.last_detection_timestamp_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Sensor::unsafe_arena_release_last_detection_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Sensor.last_detection_timestamp) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* temp = _impl_.last_detection_timestamp_; + _impl_.last_detection_timestamp_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Sensor::_internal_mutable_last_detection_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.last_detection_timestamp_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.last_detection_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.last_detection_timestamp_; +} +inline ::google::protobuf::Timestamp* Sensor::mutable_last_detection_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_last_detection_timestamp(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Sensor.last_detection_timestamp) + return _msg; +} +inline void Sensor::set_allocated_last_detection_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_detection_timestamp_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.last_detection_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Sensor.last_detection_timestamp) +} + +// repeated .anduril.entitymanager.v1.FieldOfView fields_of_view = 9 [json_name = "fieldsOfView"]; +inline int Sensor::_internal_fields_of_view_size() const { + return _internal_fields_of_view().size(); +} +inline int Sensor::fields_of_view_size() const { + return _internal_fields_of_view_size(); +} +inline void Sensor::clear_fields_of_view() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fields_of_view_.Clear(); +} +inline ::anduril::entitymanager::v1::FieldOfView* Sensor::mutable_fields_of_view(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Sensor.fields_of_view) + return _internal_mutable_fields_of_view()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>* Sensor::mutable_fields_of_view() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Sensor.fields_of_view) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_fields_of_view(); +} +inline const ::anduril::entitymanager::v1::FieldOfView& Sensor::fields_of_view(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Sensor.fields_of_view) + return _internal_fields_of_view().Get(index); +} +inline ::anduril::entitymanager::v1::FieldOfView* Sensor::add_fields_of_view() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::FieldOfView* _add = _internal_mutable_fields_of_view()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Sensor.fields_of_view) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>& Sensor::fields_of_view() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Sensor.fields_of_view) + return _internal_fields_of_view(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>& +Sensor::_internal_fields_of_view() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.fields_of_view_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FieldOfView>* +Sensor::_internal_mutable_fields_of_view() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.fields_of_view_; +} + +// ------------------------------------------------------------------- + +// FieldOfView + +// int32 fov_id = 1 [json_name = "fovId"]; +inline void FieldOfView::clear_fov_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fov_id_ = 0; +} +inline ::int32_t FieldOfView::fov_id() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.fov_id) + return _internal_fov_id(); +} +inline void FieldOfView::set_fov_id(::int32_t value) { + _internal_set_fov_id(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.FieldOfView.fov_id) +} +inline ::int32_t FieldOfView::_internal_fov_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.fov_id_; +} +inline void FieldOfView::_internal_set_fov_id(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fov_id_ = value; +} + +// string mount_id = 2 [json_name = "mountId"]; +inline void FieldOfView::clear_mount_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_id_.ClearToEmpty(); +} +inline const std::string& FieldOfView::mount_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.mount_id) + return _internal_mount_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void FieldOfView::set_mount_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.FieldOfView.mount_id) +} +inline std::string* FieldOfView::mutable_mount_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_mount_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldOfView.mount_id) + return _s; +} +inline const std::string& FieldOfView::_internal_mount_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mount_id_.Get(); +} +inline void FieldOfView::_internal_set_mount_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_id_.Set(value, GetArena()); +} +inline std::string* FieldOfView::_internal_mutable_mount_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.mount_id_.Mutable( GetArena()); +} +inline std::string* FieldOfView::release_mount_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldOfView.mount_id) + return _impl_.mount_id_.Release(); +} +inline void FieldOfView::set_allocated_mount_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mount_id_.IsDefault()) { + _impl_.mount_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldOfView.mount_id) +} + +// .anduril.entitymanager.v1.ProjectedFrustum projected_frustum = 3 [json_name = "projectedFrustum"]; +inline bool FieldOfView::has_projected_frustum() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.projected_frustum_ != nullptr); + return value; +} +inline void FieldOfView::clear_projected_frustum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.projected_frustum_ != nullptr) _impl_.projected_frustum_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::ProjectedFrustum& FieldOfView::_internal_projected_frustum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::ProjectedFrustum* p = _impl_.projected_frustum_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_ProjectedFrustum_default_instance_); +} +inline const ::anduril::entitymanager::v1::ProjectedFrustum& FieldOfView::projected_frustum() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.projected_frustum) + return _internal_projected_frustum(); +} +inline void FieldOfView::unsafe_arena_set_allocated_projected_frustum(::anduril::entitymanager::v1::ProjectedFrustum* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.projected_frustum_); + } + _impl_.projected_frustum_ = reinterpret_cast<::anduril::entitymanager::v1::ProjectedFrustum*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FieldOfView.projected_frustum) +} +inline ::anduril::entitymanager::v1::ProjectedFrustum* FieldOfView::release_projected_frustum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::ProjectedFrustum* released = _impl_.projected_frustum_; + _impl_.projected_frustum_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::ProjectedFrustum* FieldOfView::unsafe_arena_release_projected_frustum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldOfView.projected_frustum) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::ProjectedFrustum* temp = _impl_.projected_frustum_; + _impl_.projected_frustum_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::ProjectedFrustum* FieldOfView::_internal_mutable_projected_frustum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.projected_frustum_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ProjectedFrustum>(GetArena()); + _impl_.projected_frustum_ = reinterpret_cast<::anduril::entitymanager::v1::ProjectedFrustum*>(p); + } + return _impl_.projected_frustum_; +} +inline ::anduril::entitymanager::v1::ProjectedFrustum* FieldOfView::mutable_projected_frustum() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::ProjectedFrustum* _msg = _internal_mutable_projected_frustum(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldOfView.projected_frustum) + return _msg; +} +inline void FieldOfView::set_allocated_projected_frustum(::anduril::entitymanager::v1::ProjectedFrustum* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.projected_frustum_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.projected_frustum_ = reinterpret_cast<::anduril::entitymanager::v1::ProjectedFrustum*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldOfView.projected_frustum) +} + +// .anduril.entitymanager.v1.Position projected_center_ray = 4 [json_name = "projectedCenterRay"]; +inline bool FieldOfView::has_projected_center_ray() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.projected_center_ray_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& FieldOfView::_internal_projected_center_ray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.projected_center_ray_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& FieldOfView::projected_center_ray() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.projected_center_ray) + return _internal_projected_center_ray(); +} +inline void FieldOfView::unsafe_arena_set_allocated_projected_center_ray(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.projected_center_ray_); + } + _impl_.projected_center_ray_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FieldOfView.projected_center_ray) +} +inline ::anduril::entitymanager::v1::Position* FieldOfView::release_projected_center_ray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Position* released = _impl_.projected_center_ray_; + _impl_.projected_center_ray_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* FieldOfView::unsafe_arena_release_projected_center_ray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldOfView.projected_center_ray) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Position* temp = _impl_.projected_center_ray_; + _impl_.projected_center_ray_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* FieldOfView::_internal_mutable_projected_center_ray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.projected_center_ray_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.projected_center_ray_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.projected_center_ray_; +} +inline ::anduril::entitymanager::v1::Position* FieldOfView::mutable_projected_center_ray() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_projected_center_ray(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldOfView.projected_center_ray) + return _msg; +} +inline void FieldOfView::set_allocated_projected_center_ray(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.projected_center_ray_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.projected_center_ray_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldOfView.projected_center_ray) +} + +// .anduril.entitymanager.v1.Pose center_ray_pose = 5 [json_name = "centerRayPose"]; +inline bool FieldOfView::has_center_ray_pose() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.center_ray_pose_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Pose& FieldOfView::_internal_center_ray_pose() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Pose* p = _impl_.center_ray_pose_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Pose_default_instance_); +} +inline const ::anduril::entitymanager::v1::Pose& FieldOfView::center_ray_pose() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.center_ray_pose) + return _internal_center_ray_pose(); +} +inline void FieldOfView::unsafe_arena_set_allocated_center_ray_pose(::anduril::entitymanager::v1::Pose* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.center_ray_pose_); + } + _impl_.center_ray_pose_ = reinterpret_cast<::anduril::entitymanager::v1::Pose*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FieldOfView.center_ray_pose) +} +inline ::anduril::entitymanager::v1::Pose* FieldOfView::release_center_ray_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::Pose* released = _impl_.center_ray_pose_; + _impl_.center_ray_pose_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Pose* FieldOfView::unsafe_arena_release_center_ray_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldOfView.center_ray_pose) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::Pose* temp = _impl_.center_ray_pose_; + _impl_.center_ray_pose_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Pose* FieldOfView::_internal_mutable_center_ray_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.center_ray_pose_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Pose>(GetArena()); + _impl_.center_ray_pose_ = reinterpret_cast<::anduril::entitymanager::v1::Pose*>(p); + } + return _impl_.center_ray_pose_; +} +inline ::anduril::entitymanager::v1::Pose* FieldOfView::mutable_center_ray_pose() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::entitymanager::v1::Pose* _msg = _internal_mutable_center_ray_pose(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldOfView.center_ray_pose) + return _msg; +} +inline void FieldOfView::set_allocated_center_ray_pose(::anduril::entitymanager::v1::Pose* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.center_ray_pose_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.center_ray_pose_ = reinterpret_cast<::anduril::entitymanager::v1::Pose*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldOfView.center_ray_pose) +} + +// float horizontal_fov = 6 [json_name = "horizontalFov"]; +inline void FieldOfView::clear_horizontal_fov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.horizontal_fov_ = 0; +} +inline float FieldOfView::horizontal_fov() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.horizontal_fov) + return _internal_horizontal_fov(); +} +inline void FieldOfView::set_horizontal_fov(float value) { + _internal_set_horizontal_fov(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.FieldOfView.horizontal_fov) +} +inline float FieldOfView::_internal_horizontal_fov() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.horizontal_fov_; +} +inline void FieldOfView::_internal_set_horizontal_fov(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.horizontal_fov_ = value; +} + +// float vertical_fov = 7 [json_name = "verticalFov"]; +inline void FieldOfView::clear_vertical_fov() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.vertical_fov_ = 0; +} +inline float FieldOfView::vertical_fov() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.vertical_fov) + return _internal_vertical_fov(); +} +inline void FieldOfView::set_vertical_fov(float value) { + _internal_set_vertical_fov(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.FieldOfView.vertical_fov) +} +inline float FieldOfView::_internal_vertical_fov() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.vertical_fov_; +} +inline void FieldOfView::_internal_set_vertical_fov(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.vertical_fov_ = value; +} + +// .google.protobuf.FloatValue range = 8 [json_name = "range"]; +inline bool FieldOfView::has_range() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.range_ != nullptr); + return value; +} +inline const ::google::protobuf::FloatValue& FieldOfView::_internal_range() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::FloatValue* p = _impl_.range_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_FloatValue_default_instance_); +} +inline const ::google::protobuf::FloatValue& FieldOfView::range() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.range) + return _internal_range(); +} +inline void FieldOfView::unsafe_arena_set_allocated_range(::google::protobuf::FloatValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.range_); + } + _impl_.range_ = reinterpret_cast<::google::protobuf::FloatValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FieldOfView.range) +} +inline ::google::protobuf::FloatValue* FieldOfView::release_range() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::FloatValue* released = _impl_.range_; + _impl_.range_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::FloatValue* FieldOfView::unsafe_arena_release_range() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FieldOfView.range) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::google::protobuf::FloatValue* temp = _impl_.range_; + _impl_.range_ = nullptr; + return temp; +} +inline ::google::protobuf::FloatValue* FieldOfView::_internal_mutable_range() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.range_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FloatValue>(GetArena()); + _impl_.range_ = reinterpret_cast<::google::protobuf::FloatValue*>(p); + } + return _impl_.range_; +} +inline ::google::protobuf::FloatValue* FieldOfView::mutable_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::google::protobuf::FloatValue* _msg = _internal_mutable_range(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FieldOfView.range) + return _msg; +} +inline void FieldOfView::set_allocated_range(::google::protobuf::FloatValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.range_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.range_ = reinterpret_cast<::google::protobuf::FloatValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FieldOfView.range) +} + +// .anduril.entitymanager.v1.SensorMode mode = 9 [json_name = "mode"]; +inline void FieldOfView::clear_mode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode_ = 0; +} +inline ::anduril::entitymanager::v1::SensorMode FieldOfView::mode() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FieldOfView.mode) + return _internal_mode(); +} +inline void FieldOfView::set_mode(::anduril::entitymanager::v1::SensorMode value) { + _internal_set_mode(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.FieldOfView.mode) +} +inline ::anduril::entitymanager::v1::SensorMode FieldOfView::_internal_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::SensorMode>(_impl_.mode_); +} +inline void FieldOfView::_internal_set_mode(::anduril::entitymanager::v1::SensorMode value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode_ = value; +} + +// ------------------------------------------------------------------- + +// ProjectedFrustum + +// .anduril.entitymanager.v1.Position upper_left = 1 [json_name = "upperLeft"]; +inline bool ProjectedFrustum::has_upper_left() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.upper_left_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::_internal_upper_left() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.upper_left_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::upper_left() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ProjectedFrustum.upper_left) + return _internal_upper_left(); +} +inline void ProjectedFrustum::unsafe_arena_set_allocated_upper_left(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_left_); + } + _impl_.upper_left_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.upper_left) +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::release_upper_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* released = _impl_.upper_left_; + _impl_.upper_left_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::unsafe_arena_release_upper_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ProjectedFrustum.upper_left) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Position* temp = _impl_.upper_left_; + _impl_.upper_left_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::_internal_mutable_upper_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.upper_left_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.upper_left_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.upper_left_; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::mutable_upper_left() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_upper_left(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ProjectedFrustum.upper_left) + return _msg; +} +inline void ProjectedFrustum::set_allocated_upper_left(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_left_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.upper_left_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.upper_left) +} + +// .anduril.entitymanager.v1.Position upper_right = 2 [json_name = "upperRight"]; +inline bool ProjectedFrustum::has_upper_right() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.upper_right_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::_internal_upper_right() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.upper_right_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::upper_right() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ProjectedFrustum.upper_right) + return _internal_upper_right(); +} +inline void ProjectedFrustum::unsafe_arena_set_allocated_upper_right(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_right_); + } + _impl_.upper_right_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.upper_right) +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::release_upper_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Position* released = _impl_.upper_right_; + _impl_.upper_right_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::unsafe_arena_release_upper_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ProjectedFrustum.upper_right) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Position* temp = _impl_.upper_right_; + _impl_.upper_right_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::_internal_mutable_upper_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.upper_right_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.upper_right_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.upper_right_; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::mutable_upper_right() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_upper_right(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ProjectedFrustum.upper_right) + return _msg; +} +inline void ProjectedFrustum::set_allocated_upper_right(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_right_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.upper_right_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.upper_right) +} + +// .anduril.entitymanager.v1.Position bottom_right = 3 [json_name = "bottomRight"]; +inline bool ProjectedFrustum::has_bottom_right() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bottom_right_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::_internal_bottom_right() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.bottom_right_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::bottom_right() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ProjectedFrustum.bottom_right) + return _internal_bottom_right(); +} +inline void ProjectedFrustum::unsafe_arena_set_allocated_bottom_right(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bottom_right_); + } + _impl_.bottom_right_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.bottom_right) +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::release_bottom_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::Position* released = _impl_.bottom_right_; + _impl_.bottom_right_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::unsafe_arena_release_bottom_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ProjectedFrustum.bottom_right) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::anduril::entitymanager::v1::Position* temp = _impl_.bottom_right_; + _impl_.bottom_right_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::_internal_mutable_bottom_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bottom_right_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.bottom_right_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.bottom_right_; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::mutable_bottom_right() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_bottom_right(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ProjectedFrustum.bottom_right) + return _msg; +} +inline void ProjectedFrustum::set_allocated_bottom_right(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bottom_right_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.bottom_right_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.bottom_right) +} + +// .anduril.entitymanager.v1.Position bottom_left = 4 [json_name = "bottomLeft"]; +inline bool ProjectedFrustum::has_bottom_left() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bottom_left_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::_internal_bottom_left() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Position* p = _impl_.bottom_left_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Position_default_instance_); +} +inline const ::anduril::entitymanager::v1::Position& ProjectedFrustum::bottom_left() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ProjectedFrustum.bottom_left) + return _internal_bottom_left(); +} +inline void ProjectedFrustum::unsafe_arena_set_allocated_bottom_left(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bottom_left_); + } + _impl_.bottom_left_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.bottom_left) +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::release_bottom_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::entitymanager::v1::Position* released = _impl_.bottom_left_; + _impl_.bottom_left_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::unsafe_arena_release_bottom_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ProjectedFrustum.bottom_left) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::entitymanager::v1::Position* temp = _impl_.bottom_left_; + _impl_.bottom_left_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::_internal_mutable_bottom_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bottom_left_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Position>(GetArena()); + _impl_.bottom_left_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(p); + } + return _impl_.bottom_left_; +} +inline ::anduril::entitymanager::v1::Position* ProjectedFrustum::mutable_bottom_left() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::anduril::entitymanager::v1::Position* _msg = _internal_mutable_bottom_left(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ProjectedFrustum.bottom_left) + return _msg; +} +inline void ProjectedFrustum::set_allocated_bottom_left(::anduril::entitymanager::v1::Position* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bottom_left_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.bottom_left_ = reinterpret_cast<::anduril::entitymanager::v1::Position*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ProjectedFrustum.bottom_left) +} + +// ------------------------------------------------------------------- + +// RFConfiguration + +// repeated .anduril.entitymanager.v1.FrequencyRange frequency_range_hz = 3 [json_name = "frequencyRangeHz"]; +inline int RFConfiguration::_internal_frequency_range_hz_size() const { + return _internal_frequency_range_hz().size(); +} +inline int RFConfiguration::frequency_range_hz_size() const { + return _internal_frequency_range_hz_size(); +} +inline ::anduril::entitymanager::v1::FrequencyRange* RFConfiguration::mutable_frequency_range_hz(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RFConfiguration.frequency_range_hz) + return _internal_mutable_frequency_range_hz()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>* RFConfiguration::mutable_frequency_range_hz() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.RFConfiguration.frequency_range_hz) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_frequency_range_hz(); +} +inline const ::anduril::entitymanager::v1::FrequencyRange& RFConfiguration::frequency_range_hz(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RFConfiguration.frequency_range_hz) + return _internal_frequency_range_hz().Get(index); +} +inline ::anduril::entitymanager::v1::FrequencyRange* RFConfiguration::add_frequency_range_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::FrequencyRange* _add = _internal_mutable_frequency_range_hz()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.RFConfiguration.frequency_range_hz) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>& RFConfiguration::frequency_range_hz() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.RFConfiguration.frequency_range_hz) + return _internal_frequency_range_hz(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>& +RFConfiguration::_internal_frequency_range_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.frequency_range_hz_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::FrequencyRange>* +RFConfiguration::_internal_mutable_frequency_range_hz() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.frequency_range_hz_; +} + +// repeated .anduril.entitymanager.v1.BandwidthRange bandwidth_range_hz = 4 [json_name = "bandwidthRangeHz"]; +inline int RFConfiguration::_internal_bandwidth_range_hz_size() const { + return _internal_bandwidth_range_hz().size(); +} +inline int RFConfiguration::bandwidth_range_hz_size() const { + return _internal_bandwidth_range_hz_size(); +} +inline void RFConfiguration::clear_bandwidth_range_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.bandwidth_range_hz_.Clear(); +} +inline ::anduril::entitymanager::v1::BandwidthRange* RFConfiguration::mutable_bandwidth_range_hz(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.RFConfiguration.bandwidth_range_hz) + return _internal_mutable_bandwidth_range_hz()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>* RFConfiguration::mutable_bandwidth_range_hz() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.RFConfiguration.bandwidth_range_hz) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_bandwidth_range_hz(); +} +inline const ::anduril::entitymanager::v1::BandwidthRange& RFConfiguration::bandwidth_range_hz(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.RFConfiguration.bandwidth_range_hz) + return _internal_bandwidth_range_hz().Get(index); +} +inline ::anduril::entitymanager::v1::BandwidthRange* RFConfiguration::add_bandwidth_range_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::BandwidthRange* _add = _internal_mutable_bandwidth_range_hz()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.RFConfiguration.bandwidth_range_hz) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>& RFConfiguration::bandwidth_range_hz() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.RFConfiguration.bandwidth_range_hz) + return _internal_bandwidth_range_hz(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>& +RFConfiguration::_internal_bandwidth_range_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.bandwidth_range_hz_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::BandwidthRange>* +RFConfiguration::_internal_mutable_bandwidth_range_hz() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.bandwidth_range_hz_; +} + +// ------------------------------------------------------------------- + +// BandwidthRange + +// .anduril.entitymanager.v1.Bandwidth minimum_bandwidth = 1 [json_name = "minimumBandwidth"]; +inline bool BandwidthRange::has_minimum_bandwidth() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.minimum_bandwidth_ != nullptr); + return value; +} +inline void BandwidthRange::clear_minimum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.minimum_bandwidth_ != nullptr) _impl_.minimum_bandwidth_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Bandwidth& BandwidthRange::_internal_minimum_bandwidth() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Bandwidth* p = _impl_.minimum_bandwidth_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Bandwidth_default_instance_); +} +inline const ::anduril::entitymanager::v1::Bandwidth& BandwidthRange::minimum_bandwidth() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.BandwidthRange.minimum_bandwidth) + return _internal_minimum_bandwidth(); +} +inline void BandwidthRange::unsafe_arena_set_allocated_minimum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.minimum_bandwidth_); + } + _impl_.minimum_bandwidth_ = reinterpret_cast<::anduril::entitymanager::v1::Bandwidth*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.BandwidthRange.minimum_bandwidth) +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::release_minimum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Bandwidth* released = _impl_.minimum_bandwidth_; + _impl_.minimum_bandwidth_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::unsafe_arena_release_minimum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.BandwidthRange.minimum_bandwidth) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Bandwidth* temp = _impl_.minimum_bandwidth_; + _impl_.minimum_bandwidth_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::_internal_mutable_minimum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.minimum_bandwidth_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Bandwidth>(GetArena()); + _impl_.minimum_bandwidth_ = reinterpret_cast<::anduril::entitymanager::v1::Bandwidth*>(p); + } + return _impl_.minimum_bandwidth_; +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::mutable_minimum_bandwidth() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Bandwidth* _msg = _internal_mutable_minimum_bandwidth(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.BandwidthRange.minimum_bandwidth) + return _msg; +} +inline void BandwidthRange::set_allocated_minimum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.minimum_bandwidth_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.minimum_bandwidth_ = reinterpret_cast<::anduril::entitymanager::v1::Bandwidth*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.BandwidthRange.minimum_bandwidth) +} + +// .anduril.entitymanager.v1.Bandwidth maximum_bandwidth = 2 [json_name = "maximumBandwidth"]; +inline bool BandwidthRange::has_maximum_bandwidth() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.maximum_bandwidth_ != nullptr); + return value; +} +inline void BandwidthRange::clear_maximum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maximum_bandwidth_ != nullptr) _impl_.maximum_bandwidth_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::Bandwidth& BandwidthRange::_internal_maximum_bandwidth() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Bandwidth* p = _impl_.maximum_bandwidth_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Bandwidth_default_instance_); +} +inline const ::anduril::entitymanager::v1::Bandwidth& BandwidthRange::maximum_bandwidth() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.BandwidthRange.maximum_bandwidth) + return _internal_maximum_bandwidth(); +} +inline void BandwidthRange::unsafe_arena_set_allocated_maximum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.maximum_bandwidth_); + } + _impl_.maximum_bandwidth_ = reinterpret_cast<::anduril::entitymanager::v1::Bandwidth*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.BandwidthRange.maximum_bandwidth) +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::release_maximum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Bandwidth* released = _impl_.maximum_bandwidth_; + _impl_.maximum_bandwidth_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::unsafe_arena_release_maximum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.BandwidthRange.maximum_bandwidth) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Bandwidth* temp = _impl_.maximum_bandwidth_; + _impl_.maximum_bandwidth_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::_internal_mutable_maximum_bandwidth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maximum_bandwidth_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Bandwidth>(GetArena()); + _impl_.maximum_bandwidth_ = reinterpret_cast<::anduril::entitymanager::v1::Bandwidth*>(p); + } + return _impl_.maximum_bandwidth_; +} +inline ::anduril::entitymanager::v1::Bandwidth* BandwidthRange::mutable_maximum_bandwidth() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Bandwidth* _msg = _internal_mutable_maximum_bandwidth(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.BandwidthRange.maximum_bandwidth) + return _msg; +} +inline void BandwidthRange::set_allocated_maximum_bandwidth(::anduril::entitymanager::v1::Bandwidth* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.maximum_bandwidth_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.maximum_bandwidth_ = reinterpret_cast<::anduril::entitymanager::v1::Bandwidth*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.BandwidthRange.maximum_bandwidth) +} + +// ------------------------------------------------------------------- + +// Bandwidth + +// .google.protobuf.DoubleValue bandwidth_hz = 1 [json_name = "bandwidthHz"]; +inline bool Bandwidth::has_bandwidth_hz() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bandwidth_hz_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Bandwidth::_internal_bandwidth_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.bandwidth_hz_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Bandwidth::bandwidth_hz() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Bandwidth.bandwidth_hz) + return _internal_bandwidth_hz(); +} +inline void Bandwidth::unsafe_arena_set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_hz_); + } + _impl_.bandwidth_hz_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Bandwidth.bandwidth_hz) +} +inline ::google::protobuf::DoubleValue* Bandwidth::release_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.bandwidth_hz_; + _impl_.bandwidth_hz_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Bandwidth::unsafe_arena_release_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Bandwidth.bandwidth_hz) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.bandwidth_hz_; + _impl_.bandwidth_hz_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Bandwidth::_internal_mutable_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bandwidth_hz_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.bandwidth_hz_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.bandwidth_hz_; +} +inline ::google::protobuf::DoubleValue* Bandwidth::mutable_bandwidth_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_bandwidth_hz(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Bandwidth.bandwidth_hz) + return _msg; +} +inline void Bandwidth::set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_hz_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.bandwidth_hz_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Bandwidth.bandwidth_hz) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::OperationalState> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::OperationalState>() { + return ::anduril::entitymanager::v1::OperationalState_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::SensorMode> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::SensorMode>() { + return ::anduril::entitymanager::v1::SensorMode_descriptor(); +} +template <> +struct is_proto_enum<::anduril::entitymanager::v1::SensorType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::SensorType>() { + return ::anduril::entitymanager::v1::SensorType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fsensors_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/signal.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/signal.pub.grpc.pb.cc new file mode 100644 index 0000000..e0d8b7c --- /dev/null +++ b/src/anduril/entitymanager/v1/signal.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/signal.pub.proto + +#include "anduril/entitymanager/v1/signal.pub.pb.h" +#include "anduril/entitymanager/v1/signal.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/signal.pub.grpc.pb.h b/src/anduril/entitymanager/v1/signal.pub.grpc.pb.h new file mode 100644 index 0000000..b4d8d36 --- /dev/null +++ b/src/anduril/entitymanager/v1/signal.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/signal.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/signal.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/signal.pub.pb.cc b/src/anduril/entitymanager/v1/signal.pub.pb.cc new file mode 100644 index 0000000..48a11dd --- /dev/null +++ b/src/anduril/entitymanager/v1/signal.pub.pb.cc @@ -0,0 +1,3868 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/signal.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/signal.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + template +PROTOBUF_CONSTEXPR Fixed::Fixed(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct FixedDefaultTypeInternal { + PROTOBUF_CONSTEXPR FixedDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FixedDefaultTypeInternal() {} + union { + Fixed _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FixedDefaultTypeInternal _Fixed_default_instance_; + +inline constexpr ScanCharacteristics::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + scan_period_s_{nullptr}, + scan_type_{static_cast< ::anduril::entitymanager::v1::ScanType >(0)} {} + +template +PROTOBUF_CONSTEXPR ScanCharacteristics::ScanCharacteristics(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ScanCharacteristicsDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScanCharacteristicsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ScanCharacteristicsDefaultTypeInternal() {} + union { + ScanCharacteristics _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScanCharacteristicsDefaultTypeInternal _ScanCharacteristics_default_instance_; + +inline constexpr Measurement::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + value_{nullptr}, + sigma_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Measurement::Measurement(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MeasurementDefaultTypeInternal { + PROTOBUF_CONSTEXPR MeasurementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MeasurementDefaultTypeInternal() {} + union { + Measurement _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MeasurementDefaultTypeInternal _Measurement_default_instance_; + +inline constexpr EmitterNotation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + emitter_notation_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + confidence_{nullptr} {} + +template +PROTOBUF_CONSTEXPR EmitterNotation::EmitterNotation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct EmitterNotationDefaultTypeInternal { + PROTOBUF_CONSTEXPR EmitterNotationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~EmitterNotationDefaultTypeInternal() {} + union { + EmitterNotation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmitterNotationDefaultTypeInternal _EmitterNotation_default_instance_; + +inline constexpr PulseRepetitionInterval::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + pulse_repetition_interval_s_{nullptr} {} + +template +PROTOBUF_CONSTEXPR PulseRepetitionInterval::PulseRepetitionInterval(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PulseRepetitionIntervalDefaultTypeInternal { + PROTOBUF_CONSTEXPR PulseRepetitionIntervalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PulseRepetitionIntervalDefaultTypeInternal() {} + union { + PulseRepetitionInterval _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PulseRepetitionIntervalDefaultTypeInternal _PulseRepetitionInterval_default_instance_; + +inline constexpr Frequency::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + frequency_hz_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Frequency::Frequency(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FrequencyDefaultTypeInternal { + PROTOBUF_CONSTEXPR FrequencyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FrequencyDefaultTypeInternal() {} + union { + Frequency _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FrequencyDefaultTypeInternal _Frequency_default_instance_; + +inline constexpr AngleOfArrival::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + relative_pose_{nullptr}, + bearing_elevation_covariance_rad2_{nullptr} {} + +template +PROTOBUF_CONSTEXPR AngleOfArrival::AngleOfArrival(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AngleOfArrivalDefaultTypeInternal { + PROTOBUF_CONSTEXPR AngleOfArrivalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AngleOfArrivalDefaultTypeInternal() {} + union { + AngleOfArrival _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AngleOfArrivalDefaultTypeInternal _AngleOfArrival_default_instance_; + +inline constexpr LineOfBearing::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + angle_of_arrival_{nullptr}, + detection_range_{}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR LineOfBearing::LineOfBearing(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct LineOfBearingDefaultTypeInternal { + PROTOBUF_CONSTEXPR LineOfBearingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LineOfBearingDefaultTypeInternal() {} + union { + LineOfBearing _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LineOfBearingDefaultTypeInternal _LineOfBearing_default_instance_; + +inline constexpr FrequencyRange::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + minimum_frequency_hz_{nullptr}, + maximum_frequency_hz_{nullptr} {} + +template +PROTOBUF_CONSTEXPR FrequencyRange::FrequencyRange(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FrequencyRangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR FrequencyRangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FrequencyRangeDefaultTypeInternal() {} + union { + FrequencyRange _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FrequencyRangeDefaultTypeInternal _FrequencyRange_default_instance_; + +inline constexpr Signal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + emitter_notations_{}, + bandwidth_hz_{nullptr}, + signal_to_noise_ratio_{nullptr}, + pulse_width_s_{nullptr}, + pulse_repetition_interval_{nullptr}, + scan_characteristics_{nullptr}, + frequency_measurement_{}, + report_{}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR Signal::Signal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SignalDefaultTypeInternal { + PROTOBUF_CONSTEXPR SignalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SignalDefaultTypeInternal() {} + union { + Signal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SignalDefaultTypeInternal _Signal_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.bandwidth_hz_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.signal_to_noise_ratio_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.emitter_notations_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.pulse_width_s_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.pulse_repetition_interval_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.scan_characteristics_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.frequency_measurement_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_.report_), + ~0u, + ~0u, + 0, + 1, + ~0u, + ~0u, + ~0u, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EmitterNotation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EmitterNotation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EmitterNotation, _impl_.emitter_notation_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::EmitterNotation, _impl_.confidence_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Measurement, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Measurement, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Measurement, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Measurement, _impl_.sigma_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Frequency, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Frequency, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Frequency, _impl_.frequency_hz_), + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FrequencyRange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FrequencyRange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FrequencyRange, _impl_.minimum_frequency_hz_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FrequencyRange, _impl_.maximum_frequency_hz_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LineOfBearing, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LineOfBearing, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LineOfBearing, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LineOfBearing, _impl_.angle_of_arrival_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LineOfBearing, _impl_.detection_range_), + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AngleOfArrival, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AngleOfArrival, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AngleOfArrival, _impl_.relative_pose_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::AngleOfArrival, _impl_.bearing_elevation_covariance_rad2_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fixed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PulseRepetitionInterval, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PulseRepetitionInterval, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::PulseRepetitionInterval, _impl_.pulse_repetition_interval_s_), + 0, + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ScanCharacteristics, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ScanCharacteristics, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ScanCharacteristics, _impl_.scan_type_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ScanCharacteristics, _impl_.scan_period_s_), + ~0u, + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 20, -1, sizeof(::anduril::entitymanager::v1::Signal)}, + {30, 40, -1, sizeof(::anduril::entitymanager::v1::EmitterNotation)}, + {42, 52, -1, sizeof(::anduril::entitymanager::v1::Measurement)}, + {54, 63, -1, sizeof(::anduril::entitymanager::v1::Frequency)}, + {64, 74, -1, sizeof(::anduril::entitymanager::v1::FrequencyRange)}, + {76, 88, -1, sizeof(::anduril::entitymanager::v1::LineOfBearing)}, + {91, 101, -1, sizeof(::anduril::entitymanager::v1::AngleOfArrival)}, + {103, -1, -1, sizeof(::anduril::entitymanager::v1::Fixed)}, + {111, 120, -1, sizeof(::anduril::entitymanager::v1::PulseRepetitionInterval)}, + {121, 131, -1, sizeof(::anduril::entitymanager::v1::ScanCharacteristics)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Signal_default_instance_._instance, + &::anduril::entitymanager::v1::_EmitterNotation_default_instance_._instance, + &::anduril::entitymanager::v1::_Measurement_default_instance_._instance, + &::anduril::entitymanager::v1::_Frequency_default_instance_._instance, + &::anduril::entitymanager::v1::_FrequencyRange_default_instance_._instance, + &::anduril::entitymanager::v1::_LineOfBearing_default_instance_._instance, + &::anduril::entitymanager::v1::_AngleOfArrival_default_instance_._instance, + &::anduril::entitymanager::v1::_Fixed_default_instance_._instance, + &::anduril::entitymanager::v1::_PulseRepetitionInterval_default_instance_._instance, + &::anduril::entitymanager::v1::_ScanCharacteristics_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n)anduril/entitymanager/v1/signal.pub.pr" + "oto\022\030anduril.entitymanager.v1\032\035anduril/t" + "ype/coords.pub.proto\032\036google/protobuf/wr" + "appers.proto\"\341\006\n\006Signal\022P\n\020frequency_cen" + "ter\030\001 \001(\0132#.anduril.entitymanager.v1.Fre" + "quencyH\000R\017frequencyCenter\022S\n\017frequency_r" + "ange\030\002 \001(\0132(.anduril.entitymanager.v1.Fr" + "equencyRangeH\000R\016frequencyRange\022\?\n\014bandwi" + "dth_hz\030\003 \001(\0132\034.google.protobuf.DoubleVal" + "ueR\013bandwidthHz\022O\n\025signal_to_noise_ratio" + "\030\004 \001(\0132\034.google.protobuf.DoubleValueR\022si" + "gnalToNoiseRatio\022Q\n\017line_of_bearing\030\005 \001(" + "\0132\'.anduril.entitymanager.v1.LineOfBeari" + "ngH\001R\rlineOfBearing\0227\n\005fixed\030\006 \001(\0132\037.and" + "uril.entitymanager.v1.FixedH\001R\005fixed\022V\n\021" + "emitter_notations\030\007 \003(\0132).anduril.entity" + "manager.v1.EmitterNotationR\020emitterNotat" + "ions\022@\n\rpulse_width_s\030\010 \001(\0132\034.google.pro" + "tobuf.DoubleValueR\013pulseWidthS\022m\n\031pulse_" + "repetition_interval\030\t \001(\01321.anduril.enti" + "tymanager.v1.PulseRepetitionIntervalR\027pu" + "lseRepetitionInterval\022`\n\024scan_characteri" + "stics\030\013 \001(\0132-.anduril.entitymanager.v1.S" + "canCharacteristicsR\023scanCharacteristicsB" + "\027\n\025frequency_measurementB\010\n\006reportJ\004\010\n\020\013" + "\"z\n\017EmitterNotation\022)\n\020emitter_notation\030" + "\001 \001(\tR\017emitterNotation\022<\n\nconfidence\030\002 \001" + "(\0132\034.google.protobuf.DoubleValueR\nconfid" + "ence\"u\n\013Measurement\0222\n\005value\030\001 \001(\0132\034.goo" + "gle.protobuf.DoubleValueR\005value\0222\n\005sigma" + "\030\002 \001(\0132\034.google.protobuf.DoubleValueR\005si" + "gma\"U\n\tFrequency\022H\n\014frequency_hz\030\001 \001(\0132%" + ".anduril.entitymanager.v1.MeasurementR\013f" + "requencyHz\"\276\001\n\016FrequencyRange\022U\n\024minimum" + "_frequency_hz\030\001 \001(\0132#.anduril.entitymana" + "ger.v1.FrequencyR\022minimumFrequencyHz\022U\n\024" + "maximum_frequency_hz\030\002 \001(\0132#.anduril.ent" + "itymanager.v1.FrequencyR\022maximumFrequenc" + "yHz\"\236\002\n\rLineOfBearing\022R\n\020angle_of_arriva" + "l\030\003 \001(\0132(.anduril.entitymanager.v1.Angle" + "OfArrivalR\016angleOfArrival\022Q\n\020range_estim" + "ate_m\030\004 \001(\0132%.anduril.entitymanager.v1.M" + "easurementH\000R\016rangeEstimateM\022G\n\013max_rang" + "e_m\030\005 \001(\0132%.anduril.entitymanager.v1.Mea" + "surementH\000R\tmaxRangeMB\021\n\017detection_range" + "J\004\010\001\020\002J\004\010\002\020\003\"\251\001\n\016AngleOfArrival\0227\n\rrelat" + "ive_pose\030\001 \001(\0132\022.anduril.type.PoseR\014rela" + "tivePose\022^\n!bearing_elevation_covariance" + "_rad2\030\002 \001(\0132\023.anduril.type.TMat2R\036bearin" + "gElevationCovarianceRad2\"\007\n\005Fixed\"\177\n\027Pul" + "seRepetitionInterval\022d\n\033pulse_repetition" + "_interval_s\030\001 \001(\0132%.anduril.entitymanage" + "r.v1.MeasurementR\030pulseRepetitionInterva" + "lS\"\230\001\n\023ScanCharacteristics\022\?\n\tscan_type\030" + "\001 \001(\0162\".anduril.entitymanager.v1.ScanTyp" + "eR\010scanType\022@\n\rscan_period_s\030\002 \001(\0132\034.goo" + "gle.protobuf.DoubleValueR\013scanPeriodS*\274\004" + "\n\010ScanType\022\025\n\021SCAN_TYPE_INVALID\020\000\022\026\n\022SCA" + "N_TYPE_CIRCULAR\020\001\022-\n)SCAN_TYPE_BIDIRECTI" + "ONAL_HORIZONTAL_SECTOR\020\002\022+\n\'SCAN_TYPE_BI" + "DIRECTIONAL_VERTICAL_SECTOR\020\003\022\032\n\026SCAN_TY" + "PE_NON_SCANNING\020\004\022\027\n\023SCAN_TYPE_IRREGULAR" + "\020\005\022\025\n\021SCAN_TYPE_CONICAL\020\006\022\034\n\030SCAN_TYPE_L" + "OBE_SWITCHING\020\007\022\024\n\020SCAN_TYPE_RASTER\020\010\022&\n" + "\"SCAN_TYPE_CIRCULAR_VERTICAL_SECTOR\020\t\022\036\n" + "\032SCAN_TYPE_CIRCULAR_CONICAL\020\n\022\034\n\030SCAN_TY" + "PE_SECTOR_CONICAL\020\013\022\030\n\024SCAN_TYPE_AGILE_B" + "EAM\020\014\022,\n(SCAN_TYPE_UNIDIRECTIONAL_VERTIC" + "AL_SECTOR\020\r\022.\n*SCAN_TYPE_UNIDIRECTIONAL_" + "HORIZONTAL_SECTOR\020\016\022#\n\037SCAN_TYPE_UNIDIRE" + "CTIONAL_SECTOR\020\017\022\"\n\036SCAN_TYPE_BIDIRECTIO" + "NAL_SECTOR\020\020B\377\001\n\034com.anduril.entitymanag" + "er.v1B\016SignalPubProtoP\001ZMghe.anduril.dev" + "/anduril/andurilapis-go/anduril/entityma" + "nager/v1;entitymanager\242\002\003AEX\252\002\030Anduril.E" + "ntitymanager.V1\312\002\030Anduril\\Entitymanager\\" + "V1\342\002$Anduril\\Entitymanager\\V1\\GPBMetadat" + "a\352\002\032Anduril::Entitymanager::V1b\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_deps[2] = + { + &::descriptor_table_anduril_2ftype_2fcoords_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto = { + false, + false, + 3118, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + "anduril/entitymanager/v1/signal.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_deps, + 2, + 10, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* ScanType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t ScanType_internal_data_[] = { + 1114112u, 0u, }; +bool ScanType_IsValid(int value) { + return 0 <= value && value <= 16; +} +// =================================================================== + +class Signal::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Signal, _impl_._has_bits_); + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Signal, _impl_._oneof_case_); +}; + +void Signal::set_allocated_frequency_center(::anduril::entitymanager::v1::Frequency* frequency_center) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_frequency_measurement(); + if (frequency_center) { + ::google::protobuf::Arena* submessage_arena = frequency_center->GetArena(); + if (message_arena != submessage_arena) { + frequency_center = ::google::protobuf::internal::GetOwnedMessage(message_arena, frequency_center, submessage_arena); + } + set_has_frequency_center(); + _impl_.frequency_measurement_.frequency_center_ = frequency_center; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.frequency_center) +} +void Signal::set_allocated_frequency_range(::anduril::entitymanager::v1::FrequencyRange* frequency_range) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_frequency_measurement(); + if (frequency_range) { + ::google::protobuf::Arena* submessage_arena = frequency_range->GetArena(); + if (message_arena != submessage_arena) { + frequency_range = ::google::protobuf::internal::GetOwnedMessage(message_arena, frequency_range, submessage_arena); + } + set_has_frequency_range(); + _impl_.frequency_measurement_.frequency_range_ = frequency_range; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.frequency_range) +} +void Signal::clear_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bandwidth_hz_ != nullptr) _impl_.bandwidth_hz_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Signal::clear_signal_to_noise_ratio() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.signal_to_noise_ratio_ != nullptr) _impl_.signal_to_noise_ratio_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void Signal::set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* line_of_bearing) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_report(); + if (line_of_bearing) { + ::google::protobuf::Arena* submessage_arena = line_of_bearing->GetArena(); + if (message_arena != submessage_arena) { + line_of_bearing = ::google::protobuf::internal::GetOwnedMessage(message_arena, line_of_bearing, submessage_arena); + } + set_has_line_of_bearing(); + _impl_.report_.line_of_bearing_ = line_of_bearing; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.line_of_bearing) +} +void Signal::set_allocated_fixed(::anduril::entitymanager::v1::Fixed* fixed) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_report(); + if (fixed) { + ::google::protobuf::Arena* submessage_arena = fixed->GetArena(); + if (message_arena != submessage_arena) { + fixed = ::google::protobuf::internal::GetOwnedMessage(message_arena, fixed, submessage_arena); + } + set_has_fixed(); + _impl_.report_.fixed_ = fixed; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.fixed) +} +void Signal::clear_pulse_width_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pulse_width_s_ != nullptr) _impl_.pulse_width_s_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +Signal::Signal(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Signal) +} +inline PROTOBUF_NDEBUG_INLINE Signal::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Signal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + emitter_notations_{visibility, arena, from.emitter_notations_}, + frequency_measurement_{}, + report_{}, + _oneof_case_{from._oneof_case_[0], from._oneof_case_[1]} {} + +Signal::Signal( + ::google::protobuf::Arena* arena, + const Signal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Signal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.bandwidth_hz_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.bandwidth_hz_) + : nullptr; + _impl_.signal_to_noise_ratio_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.signal_to_noise_ratio_) + : nullptr; + _impl_.pulse_width_s_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.pulse_width_s_) + : nullptr; + _impl_.pulse_repetition_interval_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PulseRepetitionInterval>( + arena, *from._impl_.pulse_repetition_interval_) + : nullptr; + _impl_.scan_characteristics_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ScanCharacteristics>( + arena, *from._impl_.scan_characteristics_) + : nullptr; + switch (frequency_measurement_case()) { + case FREQUENCY_MEASUREMENT_NOT_SET: + break; + case kFrequencyCenter: + _impl_.frequency_measurement_.frequency_center_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Frequency>(arena, *from._impl_.frequency_measurement_.frequency_center_); + break; + case kFrequencyRange: + _impl_.frequency_measurement_.frequency_range_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::FrequencyRange>(arena, *from._impl_.frequency_measurement_.frequency_range_); + break; + } + switch (report_case()) { + case REPORT_NOT_SET: + break; + case kLineOfBearing: + _impl_.report_.line_of_bearing_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::LineOfBearing>(arena, *from._impl_.report_.line_of_bearing_); + break; + case kFixed: + _impl_.report_.fixed_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Fixed>(arena, *from._impl_.report_.fixed_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Signal) +} +inline PROTOBUF_NDEBUG_INLINE Signal::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + emitter_notations_{visibility, arena}, + frequency_measurement_{}, + report_{}, + _oneof_case_{} {} + +inline void Signal::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, bandwidth_hz_), + 0, + offsetof(Impl_, scan_characteristics_) - + offsetof(Impl_, bandwidth_hz_) + + sizeof(Impl_::scan_characteristics_)); +} +Signal::~Signal() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Signal) + SharedDtor(*this); +} +inline void Signal::SharedDtor(MessageLite& self) { + Signal& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.bandwidth_hz_; + delete this_._impl_.signal_to_noise_ratio_; + delete this_._impl_.pulse_width_s_; + delete this_._impl_.pulse_repetition_interval_; + delete this_._impl_.scan_characteristics_; + if (this_.has_frequency_measurement()) { + this_.clear_frequency_measurement(); + } + if (this_.has_report()) { + this_.clear_report(); + } + this_._impl_.~Impl_(); +} + +void Signal::clear_frequency_measurement() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.Signal) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (frequency_measurement_case()) { + case kFrequencyCenter: { + if (GetArena() == nullptr) { + delete _impl_.frequency_measurement_.frequency_center_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.frequency_measurement_.frequency_center_); + } + break; + } + case kFrequencyRange: { + if (GetArena() == nullptr) { + delete _impl_.frequency_measurement_.frequency_range_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.frequency_measurement_.frequency_range_); + } + break; + } + case FREQUENCY_MEASUREMENT_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = FREQUENCY_MEASUREMENT_NOT_SET; +} + +void Signal::clear_report() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.Signal) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (report_case()) { + case kLineOfBearing: { + if (GetArena() == nullptr) { + delete _impl_.report_.line_of_bearing_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.report_.line_of_bearing_); + } + break; + } + case kFixed: { + if (GetArena() == nullptr) { + delete _impl_.report_.fixed_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.report_.fixed_); + } + break; + } + case REPORT_NOT_SET: { + break; + } + } + _impl_._oneof_case_[1] = REPORT_NOT_SET; +} + + +inline void* Signal::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Signal(arena); +} +constexpr auto Signal::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Signal, _impl_.emitter_notations_) + + decltype(Signal::_impl_.emitter_notations_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Signal), alignof(Signal), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Signal::PlacementNew_, + sizeof(Signal), + alignof(Signal)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Signal::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Signal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Signal::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Signal::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Signal::ByteSizeLong, + &Signal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Signal, _impl_._cached_size_), + false, + }, + &Signal::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Signal::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 10, 10, 0, 2> Signal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Signal, _impl_._has_bits_), + 0, // no _extensions_ + 11, 120, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294965760, // skipmap + offsetof(decltype(_table_), field_entries), + 10, // num_field_entries + 10, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Signal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + // .google.protobuf.DoubleValue bandwidth_hz = 3 [json_name = "bandwidthHz"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 2, PROTOBUF_FIELD_OFFSET(Signal, _impl_.bandwidth_hz_)}}, + // .google.protobuf.DoubleValue signal_to_noise_ratio = 4 [json_name = "signalToNoiseRatio"]; + {::_pbi::TcParser::FastMtS1, + {34, 1, 3, PROTOBUF_FIELD_OFFSET(Signal, _impl_.signal_to_noise_ratio_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + // repeated .anduril.entitymanager.v1.EmitterNotation emitter_notations = 7 [json_name = "emitterNotations"]; + {::_pbi::TcParser::FastMtR1, + {58, 63, 6, PROTOBUF_FIELD_OFFSET(Signal, _impl_.emitter_notations_)}}, + // .google.protobuf.DoubleValue pulse_width_s = 8 [json_name = "pulseWidthS"]; + {::_pbi::TcParser::FastMtS1, + {66, 2, 7, PROTOBUF_FIELD_OFFSET(Signal, _impl_.pulse_width_s_)}}, + // .anduril.entitymanager.v1.PulseRepetitionInterval pulse_repetition_interval = 9 [json_name = "pulseRepetitionInterval"]; + {::_pbi::TcParser::FastMtS1, + {74, 3, 8, PROTOBUF_FIELD_OFFSET(Signal, _impl_.pulse_repetition_interval_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.ScanCharacteristics scan_characteristics = 11 [json_name = "scanCharacteristics"]; + {::_pbi::TcParser::FastMtS1, + {90, 4, 9, PROTOBUF_FIELD_OFFSET(Signal, _impl_.scan_characteristics_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Frequency frequency_center = 1 [json_name = "frequencyCenter"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.frequency_measurement_.frequency_center_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.FrequencyRange frequency_range = 2 [json_name = "frequencyRange"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.frequency_measurement_.frequency_range_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue bandwidth_hz = 3 [json_name = "bandwidthHz"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.bandwidth_hz_), _Internal::kHasBitsOffset + 0, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue signal_to_noise_ratio = 4 [json_name = "signalToNoiseRatio"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.signal_to_noise_ratio_), _Internal::kHasBitsOffset + 1, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 5 [json_name = "lineOfBearing"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.report_.line_of_bearing_), _Internal::kOneofCaseOffset + 4, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Fixed fixed = 6 [json_name = "fixed"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.report_.fixed_), _Internal::kOneofCaseOffset + 4, 5, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .anduril.entitymanager.v1.EmitterNotation emitter_notations = 7 [json_name = "emitterNotations"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.emitter_notations_), -1, 6, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue pulse_width_s = 8 [json_name = "pulseWidthS"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.pulse_width_s_), _Internal::kHasBitsOffset + 2, 7, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.PulseRepetitionInterval pulse_repetition_interval = 9 [json_name = "pulseRepetitionInterval"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.pulse_repetition_interval_), _Internal::kHasBitsOffset + 3, 8, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.ScanCharacteristics scan_characteristics = 11 [json_name = "scanCharacteristics"]; + {PROTOBUF_FIELD_OFFSET(Signal, _impl_.scan_characteristics_), _Internal::kHasBitsOffset + 4, 9, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Frequency>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FrequencyRange>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LineOfBearing>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Fixed>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::EmitterNotation>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PulseRepetitionInterval>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ScanCharacteristics>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Signal::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Signal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.emitter_notations_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.bandwidth_hz_ != nullptr); + _impl_.bandwidth_hz_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.signal_to_noise_ratio_ != nullptr); + _impl_.signal_to_noise_ratio_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.pulse_width_s_ != nullptr); + _impl_.pulse_width_s_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.pulse_repetition_interval_ != nullptr); + _impl_.pulse_repetition_interval_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(_impl_.scan_characteristics_ != nullptr); + _impl_.scan_characteristics_->Clear(); + } + } + clear_frequency_measurement(); + clear_report(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Signal::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Signal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Signal::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Signal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Signal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.frequency_measurement_case()) { + case kFrequencyCenter: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.frequency_measurement_.frequency_center_, this_._impl_.frequency_measurement_.frequency_center_->GetCachedSize(), target, + stream); + break; + } + case kFrequencyRange: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.frequency_measurement_.frequency_range_, this_._impl_.frequency_measurement_.frequency_range_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue bandwidth_hz = 3 [json_name = "bandwidthHz"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.bandwidth_hz_, this_._impl_.bandwidth_hz_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue signal_to_noise_ratio = 4 [json_name = "signalToNoiseRatio"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.signal_to_noise_ratio_, this_._impl_.signal_to_noise_ratio_->GetCachedSize(), target, + stream); + } + + switch (this_.report_case()) { + case kLineOfBearing: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.report_.line_of_bearing_, this_._impl_.report_.line_of_bearing_->GetCachedSize(), target, + stream); + break; + } + case kFixed: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.report_.fixed_, this_._impl_.report_.fixed_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + // repeated .anduril.entitymanager.v1.EmitterNotation emitter_notations = 7 [json_name = "emitterNotations"]; + for (unsigned i = 0, n = static_cast( + this_._internal_emitter_notations_size()); + i < n; i++) { + const auto& repfield = this_._internal_emitter_notations().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, repfield, repfield.GetCachedSize(), + target, stream); + } + + // .google.protobuf.DoubleValue pulse_width_s = 8 [json_name = "pulseWidthS"]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.pulse_width_s_, this_._impl_.pulse_width_s_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.PulseRepetitionInterval pulse_repetition_interval = 9 [json_name = "pulseRepetitionInterval"]; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, *this_._impl_.pulse_repetition_interval_, this_._impl_.pulse_repetition_interval_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.ScanCharacteristics scan_characteristics = 11 [json_name = "scanCharacteristics"]; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 11, *this_._impl_.scan_characteristics_, this_._impl_.scan_characteristics_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Signal) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Signal::ByteSizeLong(const MessageLite& base) { + const Signal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Signal::ByteSizeLong() const { + const Signal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Signal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.EmitterNotation emitter_notations = 7 [json_name = "emitterNotations"]; + { + total_size += 1UL * this_._internal_emitter_notations_size(); + for (const auto& msg : this_._internal_emitter_notations()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // .google.protobuf.DoubleValue bandwidth_hz = 3 [json_name = "bandwidthHz"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bandwidth_hz_); + } + // .google.protobuf.DoubleValue signal_to_noise_ratio = 4 [json_name = "signalToNoiseRatio"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.signal_to_noise_ratio_); + } + // .google.protobuf.DoubleValue pulse_width_s = 8 [json_name = "pulseWidthS"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pulse_width_s_); + } + // .anduril.entitymanager.v1.PulseRepetitionInterval pulse_repetition_interval = 9 [json_name = "pulseRepetitionInterval"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pulse_repetition_interval_); + } + // .anduril.entitymanager.v1.ScanCharacteristics scan_characteristics = 11 [json_name = "scanCharacteristics"]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.scan_characteristics_); + } + } + switch (this_.frequency_measurement_case()) { + // .anduril.entitymanager.v1.Frequency frequency_center = 1 [json_name = "frequencyCenter"]; + case kFrequencyCenter: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.frequency_measurement_.frequency_center_); + break; + } + // .anduril.entitymanager.v1.FrequencyRange frequency_range = 2 [json_name = "frequencyRange"]; + case kFrequencyRange: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.frequency_measurement_.frequency_range_); + break; + } + case FREQUENCY_MEASUREMENT_NOT_SET: { + break; + } + } + switch (this_.report_case()) { + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 5 [json_name = "lineOfBearing"]; + case kLineOfBearing: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.report_.line_of_bearing_); + break; + } + // .anduril.entitymanager.v1.Fixed fixed = 6 [json_name = "fixed"]; + case kFixed: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.report_.fixed_); + break; + } + case REPORT_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Signal::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Signal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_emitter_notations()->MergeFrom( + from._internal_emitter_notations()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.bandwidth_hz_ != nullptr); + if (_this->_impl_.bandwidth_hz_ == nullptr) { + _this->_impl_.bandwidth_hz_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.bandwidth_hz_); + } else { + _this->_impl_.bandwidth_hz_->MergeFrom(*from._impl_.bandwidth_hz_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.signal_to_noise_ratio_ != nullptr); + if (_this->_impl_.signal_to_noise_ratio_ == nullptr) { + _this->_impl_.signal_to_noise_ratio_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.signal_to_noise_ratio_); + } else { + _this->_impl_.signal_to_noise_ratio_->MergeFrom(*from._impl_.signal_to_noise_ratio_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.pulse_width_s_ != nullptr); + if (_this->_impl_.pulse_width_s_ == nullptr) { + _this->_impl_.pulse_width_s_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.pulse_width_s_); + } else { + _this->_impl_.pulse_width_s_->MergeFrom(*from._impl_.pulse_width_s_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.pulse_repetition_interval_ != nullptr); + if (_this->_impl_.pulse_repetition_interval_ == nullptr) { + _this->_impl_.pulse_repetition_interval_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::PulseRepetitionInterval>(arena, *from._impl_.pulse_repetition_interval_); + } else { + _this->_impl_.pulse_repetition_interval_->MergeFrom(*from._impl_.pulse_repetition_interval_); + } + } + if (cached_has_bits & 0x00000010u) { + ABSL_DCHECK(from._impl_.scan_characteristics_ != nullptr); + if (_this->_impl_.scan_characteristics_ == nullptr) { + _this->_impl_.scan_characteristics_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ScanCharacteristics>(arena, *from._impl_.scan_characteristics_); + } else { + _this->_impl_.scan_characteristics_->MergeFrom(*from._impl_.scan_characteristics_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_frequency_measurement(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kFrequencyCenter: { + if (oneof_needs_init) { + _this->_impl_.frequency_measurement_.frequency_center_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Frequency>(arena, *from._impl_.frequency_measurement_.frequency_center_); + } else { + _this->_impl_.frequency_measurement_.frequency_center_->MergeFrom(from._internal_frequency_center()); + } + break; + } + case kFrequencyRange: { + if (oneof_needs_init) { + _this->_impl_.frequency_measurement_.frequency_range_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::FrequencyRange>(arena, *from._impl_.frequency_measurement_.frequency_range_); + } else { + _this->_impl_.frequency_measurement_.frequency_range_->MergeFrom(from._internal_frequency_range()); + } + break; + } + case FREQUENCY_MEASUREMENT_NOT_SET: + break; + } + } + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[1]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[1]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_report(); + } + _this->_impl_._oneof_case_[1] = oneof_from_case; + } + + switch (oneof_from_case) { + case kLineOfBearing: { + if (oneof_needs_init) { + _this->_impl_.report_.line_of_bearing_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::LineOfBearing>(arena, *from._impl_.report_.line_of_bearing_); + } else { + _this->_impl_.report_.line_of_bearing_->MergeFrom(from._internal_line_of_bearing()); + } + break; + } + case kFixed: { + if (oneof_needs_init) { + _this->_impl_.report_.fixed_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Fixed>(arena, *from._impl_.report_.fixed_); + } else { + _this->_impl_.report_.fixed_->MergeFrom(from._internal_fixed()); + } + break; + } + case REPORT_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Signal::CopyFrom(const Signal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Signal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Signal::InternalSwap(Signal* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.emitter_notations_.InternalSwap(&other->_impl_.emitter_notations_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Signal, _impl_.scan_characteristics_) + + sizeof(Signal::_impl_.scan_characteristics_) + - PROTOBUF_FIELD_OFFSET(Signal, _impl_.bandwidth_hz_)>( + reinterpret_cast(&_impl_.bandwidth_hz_), + reinterpret_cast(&other->_impl_.bandwidth_hz_)); + swap(_impl_.frequency_measurement_, other->_impl_.frequency_measurement_); + swap(_impl_.report_, other->_impl_.report_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); + swap(_impl_._oneof_case_[1], other->_impl_._oneof_case_[1]); +} + +::google::protobuf::Metadata Signal::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class EmitterNotation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_._has_bits_); +}; + +void EmitterNotation::clear_confidence() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.confidence_ != nullptr) _impl_.confidence_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +EmitterNotation::EmitterNotation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.EmitterNotation) +} +inline PROTOBUF_NDEBUG_INLINE EmitterNotation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::EmitterNotation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + emitter_notation_(arena, from.emitter_notation_) {} + +EmitterNotation::EmitterNotation( + ::google::protobuf::Arena* arena, + const EmitterNotation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + EmitterNotation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.confidence_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.confidence_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.EmitterNotation) +} +inline PROTOBUF_NDEBUG_INLINE EmitterNotation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + emitter_notation_(arena) {} + +inline void EmitterNotation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.confidence_ = {}; +} +EmitterNotation::~EmitterNotation() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.EmitterNotation) + SharedDtor(*this); +} +inline void EmitterNotation::SharedDtor(MessageLite& self) { + EmitterNotation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.emitter_notation_.Destroy(); + delete this_._impl_.confidence_; + this_._impl_.~Impl_(); +} + +inline void* EmitterNotation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) EmitterNotation(arena); +} +constexpr auto EmitterNotation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(EmitterNotation), + alignof(EmitterNotation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull EmitterNotation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_EmitterNotation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &EmitterNotation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EmitterNotation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EmitterNotation::ByteSizeLong, + &EmitterNotation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_._cached_size_), + false, + }, + &EmitterNotation::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* EmitterNotation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 65, 2> EmitterNotation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::EmitterNotation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.DoubleValue confidence = 2 [json_name = "confidence"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_.confidence_)}}, + // string emitter_notation = 1 [json_name = "emitterNotation"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_.emitter_notation_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string emitter_notation = 1 [json_name = "emitterNotation"]; + {PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_.emitter_notation_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .google.protobuf.DoubleValue confidence = 2 [json_name = "confidence"]; + {PROTOBUF_FIELD_OFFSET(EmitterNotation, _impl_.confidence_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + "\50\20\0\0\0\0\0\0" + "anduril.entitymanager.v1.EmitterNotation" + "emitter_notation" + }}, +}; + +PROTOBUF_NOINLINE void EmitterNotation::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.EmitterNotation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.emitter_notation_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.confidence_ != nullptr); + _impl_.confidence_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* EmitterNotation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const EmitterNotation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* EmitterNotation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const EmitterNotation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.EmitterNotation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string emitter_notation = 1 [json_name = "emitterNotation"]; + if (!this_._internal_emitter_notation().empty()) { + const std::string& _s = this_._internal_emitter_notation(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.EmitterNotation.emitter_notation"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue confidence = 2 [json_name = "confidence"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.confidence_, this_._impl_.confidence_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.EmitterNotation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t EmitterNotation::ByteSizeLong(const MessageLite& base) { + const EmitterNotation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t EmitterNotation::ByteSizeLong() const { + const EmitterNotation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.EmitterNotation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string emitter_notation = 1 [json_name = "emitterNotation"]; + if (!this_._internal_emitter_notation().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_emitter_notation()); + } + } + { + // .google.protobuf.DoubleValue confidence = 2 [json_name = "confidence"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.confidence_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void EmitterNotation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.EmitterNotation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_emitter_notation().empty()) { + _this->_internal_set_emitter_notation(from._internal_emitter_notation()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.confidence_ != nullptr); + if (_this->_impl_.confidence_ == nullptr) { + _this->_impl_.confidence_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.confidence_); + } else { + _this->_impl_.confidence_->MergeFrom(*from._impl_.confidence_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void EmitterNotation::CopyFrom(const EmitterNotation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.EmitterNotation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void EmitterNotation::InternalSwap(EmitterNotation* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.emitter_notation_, &other->_impl_.emitter_notation_, arena); + swap(_impl_.confidence_, other->_impl_.confidence_); +} + +::google::protobuf::Metadata EmitterNotation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Measurement::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Measurement, _impl_._has_bits_); +}; + +void Measurement::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ != nullptr) _impl_.value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Measurement::clear_sigma() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sigma_ != nullptr) _impl_.sigma_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +Measurement::Measurement(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Measurement) +} +inline PROTOBUF_NDEBUG_INLINE Measurement::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Measurement& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Measurement::Measurement( + ::google::protobuf::Arena* arena, + const Measurement& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Measurement* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.value_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.value_) + : nullptr; + _impl_.sigma_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.sigma_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Measurement) +} +inline PROTOBUF_NDEBUG_INLINE Measurement::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Measurement::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, value_), + 0, + offsetof(Impl_, sigma_) - + offsetof(Impl_, value_) + + sizeof(Impl_::sigma_)); +} +Measurement::~Measurement() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Measurement) + SharedDtor(*this); +} +inline void Measurement::SharedDtor(MessageLite& self) { + Measurement& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.value_; + delete this_._impl_.sigma_; + this_._impl_.~Impl_(); +} + +inline void* Measurement::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Measurement(arena); +} +constexpr auto Measurement::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Measurement), + alignof(Measurement)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Measurement::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Measurement_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Measurement::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Measurement::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Measurement::ByteSizeLong, + &Measurement::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Measurement, _impl_._cached_size_), + false, + }, + &Measurement::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Measurement::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Measurement::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Measurement, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Measurement>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.DoubleValue sigma = 2 [json_name = "sigma"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Measurement, _impl_.sigma_)}}, + // .google.protobuf.DoubleValue value = 1 [json_name = "value"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Measurement, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .google.protobuf.DoubleValue value = 1 [json_name = "value"]; + {PROTOBUF_FIELD_OFFSET(Measurement, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.DoubleValue sigma = 2 [json_name = "sigma"]; + {PROTOBUF_FIELD_OFFSET(Measurement, _impl_.sigma_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Measurement::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Measurement) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.value_ != nullptr); + _impl_.value_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.sigma_ != nullptr); + _impl_.sigma_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Measurement::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Measurement& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Measurement::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Measurement& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Measurement) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue value = 1 [json_name = "value"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_, this_._impl_.value_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.DoubleValue sigma = 2 [json_name = "sigma"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.sigma_, this_._impl_.sigma_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Measurement) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Measurement::ByteSizeLong(const MessageLite& base) { + const Measurement& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Measurement::ByteSizeLong() const { + const Measurement& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Measurement) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .google.protobuf.DoubleValue value = 1 [json_name = "value"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_); + } + // .google.protobuf.DoubleValue sigma = 2 [json_name = "sigma"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sigma_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Measurement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Measurement) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.value_ != nullptr); + if (_this->_impl_.value_ == nullptr) { + _this->_impl_.value_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.value_); + } else { + _this->_impl_.value_->MergeFrom(*from._impl_.value_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.sigma_ != nullptr); + if (_this->_impl_.sigma_ == nullptr) { + _this->_impl_.sigma_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.sigma_); + } else { + _this->_impl_.sigma_->MergeFrom(*from._impl_.sigma_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Measurement::CopyFrom(const Measurement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Measurement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Measurement::InternalSwap(Measurement* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Measurement, _impl_.sigma_) + + sizeof(Measurement::_impl_.sigma_) + - PROTOBUF_FIELD_OFFSET(Measurement, _impl_.value_)>( + reinterpret_cast(&_impl_.value_), + reinterpret_cast(&other->_impl_.value_)); +} + +::google::protobuf::Metadata Measurement::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Frequency::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Frequency, _impl_._has_bits_); +}; + +Frequency::Frequency(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Frequency) +} +inline PROTOBUF_NDEBUG_INLINE Frequency::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Frequency& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Frequency::Frequency( + ::google::protobuf::Arena* arena, + const Frequency& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Frequency* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.frequency_hz_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>( + arena, *from._impl_.frequency_hz_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Frequency) +} +inline PROTOBUF_NDEBUG_INLINE Frequency::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Frequency::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.frequency_hz_ = {}; +} +Frequency::~Frequency() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Frequency) + SharedDtor(*this); +} +inline void Frequency::SharedDtor(MessageLite& self) { + Frequency& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.frequency_hz_; + this_._impl_.~Impl_(); +} + +inline void* Frequency::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Frequency(arena); +} +constexpr auto Frequency::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Frequency), + alignof(Frequency)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Frequency::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Frequency_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Frequency::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Frequency::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Frequency::ByteSizeLong, + &Frequency::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Frequency, _impl_._cached_size_), + false, + }, + &Frequency::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Frequency::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Frequency::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Frequency, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Frequency>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Measurement frequency_hz = 1 [json_name = "frequencyHz"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Frequency, _impl_.frequency_hz_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Measurement frequency_hz = 1 [json_name = "frequencyHz"]; + {PROTOBUF_FIELD_OFFSET(Frequency, _impl_.frequency_hz_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Measurement>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Frequency::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Frequency) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.frequency_hz_ != nullptr); + _impl_.frequency_hz_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Frequency::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Frequency& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Frequency::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Frequency& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Frequency) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Measurement frequency_hz = 1 [json_name = "frequencyHz"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.frequency_hz_, this_._impl_.frequency_hz_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Frequency) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Frequency::ByteSizeLong(const MessageLite& base) { + const Frequency& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Frequency::ByteSizeLong() const { + const Frequency& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Frequency) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Measurement frequency_hz = 1 [json_name = "frequencyHz"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.frequency_hz_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Frequency::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Frequency) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.frequency_hz_ != nullptr); + if (_this->_impl_.frequency_hz_ == nullptr) { + _this->_impl_.frequency_hz_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>(arena, *from._impl_.frequency_hz_); + } else { + _this->_impl_.frequency_hz_->MergeFrom(*from._impl_.frequency_hz_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Frequency::CopyFrom(const Frequency& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Frequency) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Frequency::InternalSwap(Frequency* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.frequency_hz_, other->_impl_.frequency_hz_); +} + +::google::protobuf::Metadata Frequency::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class FrequencyRange::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_._has_bits_); +}; + +FrequencyRange::FrequencyRange(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.FrequencyRange) +} +inline PROTOBUF_NDEBUG_INLINE FrequencyRange::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::FrequencyRange& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +FrequencyRange::FrequencyRange( + ::google::protobuf::Arena* arena, + const FrequencyRange& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FrequencyRange* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.minimum_frequency_hz_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Frequency>( + arena, *from._impl_.minimum_frequency_hz_) + : nullptr; + _impl_.maximum_frequency_hz_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Frequency>( + arena, *from._impl_.maximum_frequency_hz_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.FrequencyRange) +} +inline PROTOBUF_NDEBUG_INLINE FrequencyRange::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FrequencyRange::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, minimum_frequency_hz_), + 0, + offsetof(Impl_, maximum_frequency_hz_) - + offsetof(Impl_, minimum_frequency_hz_) + + sizeof(Impl_::maximum_frequency_hz_)); +} +FrequencyRange::~FrequencyRange() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.FrequencyRange) + SharedDtor(*this); +} +inline void FrequencyRange::SharedDtor(MessageLite& self) { + FrequencyRange& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.minimum_frequency_hz_; + delete this_._impl_.maximum_frequency_hz_; + this_._impl_.~Impl_(); +} + +inline void* FrequencyRange::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FrequencyRange(arena); +} +constexpr auto FrequencyRange::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FrequencyRange), + alignof(FrequencyRange)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull FrequencyRange::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_FrequencyRange_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FrequencyRange::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FrequencyRange::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FrequencyRange::ByteSizeLong, + &FrequencyRange::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_._cached_size_), + false, + }, + &FrequencyRange::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FrequencyRange::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> FrequencyRange::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FrequencyRange>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Frequency maximum_frequency_hz = 2 [json_name = "maximumFrequencyHz"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_.maximum_frequency_hz_)}}, + // .anduril.entitymanager.v1.Frequency minimum_frequency_hz = 1 [json_name = "minimumFrequencyHz"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_.minimum_frequency_hz_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Frequency minimum_frequency_hz = 1 [json_name = "minimumFrequencyHz"]; + {PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_.minimum_frequency_hz_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Frequency maximum_frequency_hz = 2 [json_name = "maximumFrequencyHz"]; + {PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_.maximum_frequency_hz_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Frequency>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Frequency>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void FrequencyRange::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.FrequencyRange) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.minimum_frequency_hz_ != nullptr); + _impl_.minimum_frequency_hz_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.maximum_frequency_hz_ != nullptr); + _impl_.maximum_frequency_hz_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FrequencyRange::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FrequencyRange& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FrequencyRange::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FrequencyRange& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.FrequencyRange) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Frequency minimum_frequency_hz = 1 [json_name = "minimumFrequencyHz"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.minimum_frequency_hz_, this_._impl_.minimum_frequency_hz_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Frequency maximum_frequency_hz = 2 [json_name = "maximumFrequencyHz"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.maximum_frequency_hz_, this_._impl_.maximum_frequency_hz_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.FrequencyRange) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t FrequencyRange::ByteSizeLong(const MessageLite& base) { + const FrequencyRange& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FrequencyRange::ByteSizeLong() const { + const FrequencyRange& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.FrequencyRange) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Frequency minimum_frequency_hz = 1 [json_name = "minimumFrequencyHz"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.minimum_frequency_hz_); + } + // .anduril.entitymanager.v1.Frequency maximum_frequency_hz = 2 [json_name = "maximumFrequencyHz"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.maximum_frequency_hz_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void FrequencyRange::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.FrequencyRange) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.minimum_frequency_hz_ != nullptr); + if (_this->_impl_.minimum_frequency_hz_ == nullptr) { + _this->_impl_.minimum_frequency_hz_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Frequency>(arena, *from._impl_.minimum_frequency_hz_); + } else { + _this->_impl_.minimum_frequency_hz_->MergeFrom(*from._impl_.minimum_frequency_hz_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.maximum_frequency_hz_ != nullptr); + if (_this->_impl_.maximum_frequency_hz_ == nullptr) { + _this->_impl_.maximum_frequency_hz_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Frequency>(arena, *from._impl_.maximum_frequency_hz_); + } else { + _this->_impl_.maximum_frequency_hz_->MergeFrom(*from._impl_.maximum_frequency_hz_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void FrequencyRange::CopyFrom(const FrequencyRange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.FrequencyRange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void FrequencyRange::InternalSwap(FrequencyRange* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_.maximum_frequency_hz_) + + sizeof(FrequencyRange::_impl_.maximum_frequency_hz_) + - PROTOBUF_FIELD_OFFSET(FrequencyRange, _impl_.minimum_frequency_hz_)>( + reinterpret_cast(&_impl_.minimum_frequency_hz_), + reinterpret_cast(&other->_impl_.minimum_frequency_hz_)); +} + +::google::protobuf::Metadata FrequencyRange::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class LineOfBearing::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_._has_bits_); + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::LineOfBearing, _impl_._oneof_case_); +}; + +void LineOfBearing::set_allocated_range_estimate_m(::anduril::entitymanager::v1::Measurement* range_estimate_m) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_detection_range(); + if (range_estimate_m) { + ::google::protobuf::Arena* submessage_arena = range_estimate_m->GetArena(); + if (message_arena != submessage_arena) { + range_estimate_m = ::google::protobuf::internal::GetOwnedMessage(message_arena, range_estimate_m, submessage_arena); + } + set_has_range_estimate_m(); + _impl_.detection_range_.range_estimate_m_ = range_estimate_m; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.LineOfBearing.range_estimate_m) +} +void LineOfBearing::set_allocated_max_range_m(::anduril::entitymanager::v1::Measurement* max_range_m) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_detection_range(); + if (max_range_m) { + ::google::protobuf::Arena* submessage_arena = max_range_m->GetArena(); + if (message_arena != submessage_arena) { + max_range_m = ::google::protobuf::internal::GetOwnedMessage(message_arena, max_range_m, submessage_arena); + } + set_has_max_range_m(); + _impl_.detection_range_.max_range_m_ = max_range_m; + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.LineOfBearing.max_range_m) +} +LineOfBearing::LineOfBearing(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.LineOfBearing) +} +inline PROTOBUF_NDEBUG_INLINE LineOfBearing::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::LineOfBearing& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + detection_range_{}, + _oneof_case_{from._oneof_case_[0]} {} + +LineOfBearing::LineOfBearing( + ::google::protobuf::Arena* arena, + const LineOfBearing& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LineOfBearing* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.angle_of_arrival_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::AngleOfArrival>( + arena, *from._impl_.angle_of_arrival_) + : nullptr; + switch (detection_range_case()) { + case DETECTION_RANGE_NOT_SET: + break; + case kRangeEstimateM: + _impl_.detection_range_.range_estimate_m_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>(arena, *from._impl_.detection_range_.range_estimate_m_); + break; + case kMaxRangeM: + _impl_.detection_range_.max_range_m_ = ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>(arena, *from._impl_.detection_range_.max_range_m_); + break; + } + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.LineOfBearing) +} +inline PROTOBUF_NDEBUG_INLINE LineOfBearing::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + detection_range_{}, + _oneof_case_{} {} + +inline void LineOfBearing::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.angle_of_arrival_ = {}; +} +LineOfBearing::~LineOfBearing() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.LineOfBearing) + SharedDtor(*this); +} +inline void LineOfBearing::SharedDtor(MessageLite& self) { + LineOfBearing& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.angle_of_arrival_; + if (this_.has_detection_range()) { + this_.clear_detection_range(); + } + this_._impl_.~Impl_(); +} + +void LineOfBearing::clear_detection_range() { +// @@protoc_insertion_point(one_of_clear_start:anduril.entitymanager.v1.LineOfBearing) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (detection_range_case()) { + case kRangeEstimateM: { + if (GetArena() == nullptr) { + delete _impl_.detection_range_.range_estimate_m_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.detection_range_.range_estimate_m_); + } + break; + } + case kMaxRangeM: { + if (GetArena() == nullptr) { + delete _impl_.detection_range_.max_range_m_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.detection_range_.max_range_m_); + } + break; + } + case DETECTION_RANGE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = DETECTION_RANGE_NOT_SET; +} + + +inline void* LineOfBearing::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) LineOfBearing(arena); +} +constexpr auto LineOfBearing::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LineOfBearing), + alignof(LineOfBearing)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull LineOfBearing::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_LineOfBearing_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &LineOfBearing::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &LineOfBearing::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &LineOfBearing::ByteSizeLong, + &LineOfBearing::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_._cached_size_), + false, + }, + &LineOfBearing::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* LineOfBearing::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 3, 3, 0, 2> LineOfBearing::_table_ = { + { + PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_._has_bits_), + 0, // no _extensions_ + 5, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967267, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::LineOfBearing>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.AngleOfArrival angle_of_arrival = 3 [json_name = "angleOfArrival"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_.angle_of_arrival_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.AngleOfArrival angle_of_arrival = 3 [json_name = "angleOfArrival"]; + {PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_.angle_of_arrival_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Measurement range_estimate_m = 4 [json_name = "rangeEstimateM"]; + {PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_.detection_range_.range_estimate_m_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Measurement max_range_m = 5 [json_name = "maxRangeM"]; + {PROTOBUF_FIELD_OFFSET(LineOfBearing, _impl_.detection_range_.max_range_m_), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AngleOfArrival>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Measurement>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Measurement>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void LineOfBearing::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.LineOfBearing) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.angle_of_arrival_ != nullptr); + _impl_.angle_of_arrival_->Clear(); + } + clear_detection_range(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* LineOfBearing::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const LineOfBearing& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* LineOfBearing::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const LineOfBearing& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.LineOfBearing) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.AngleOfArrival angle_of_arrival = 3 [json_name = "angleOfArrival"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.angle_of_arrival_, this_._impl_.angle_of_arrival_->GetCachedSize(), target, + stream); + } + + switch (this_.detection_range_case()) { + case kRangeEstimateM: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.detection_range_.range_estimate_m_, this_._impl_.detection_range_.range_estimate_m_->GetCachedSize(), target, + stream); + break; + } + case kMaxRangeM: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.detection_range_.max_range_m_, this_._impl_.detection_range_.max_range_m_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.LineOfBearing) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t LineOfBearing::ByteSizeLong(const MessageLite& base) { + const LineOfBearing& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t LineOfBearing::ByteSizeLong() const { + const LineOfBearing& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.LineOfBearing) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.AngleOfArrival angle_of_arrival = 3 [json_name = "angleOfArrival"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.angle_of_arrival_); + } + } + switch (this_.detection_range_case()) { + // .anduril.entitymanager.v1.Measurement range_estimate_m = 4 [json_name = "rangeEstimateM"]; + case kRangeEstimateM: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.detection_range_.range_estimate_m_); + break; + } + // .anduril.entitymanager.v1.Measurement max_range_m = 5 [json_name = "maxRangeM"]; + case kMaxRangeM: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.detection_range_.max_range_m_); + break; + } + case DETECTION_RANGE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void LineOfBearing::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.LineOfBearing) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.angle_of_arrival_ != nullptr); + if (_this->_impl_.angle_of_arrival_ == nullptr) { + _this->_impl_.angle_of_arrival_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::AngleOfArrival>(arena, *from._impl_.angle_of_arrival_); + } else { + _this->_impl_.angle_of_arrival_->MergeFrom(*from._impl_.angle_of_arrival_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_detection_range(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kRangeEstimateM: { + if (oneof_needs_init) { + _this->_impl_.detection_range_.range_estimate_m_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>(arena, *from._impl_.detection_range_.range_estimate_m_); + } else { + _this->_impl_.detection_range_.range_estimate_m_->MergeFrom(from._internal_range_estimate_m()); + } + break; + } + case kMaxRangeM: { + if (oneof_needs_init) { + _this->_impl_.detection_range_.max_range_m_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>(arena, *from._impl_.detection_range_.max_range_m_); + } else { + _this->_impl_.detection_range_.max_range_m_->MergeFrom(from._internal_max_range_m()); + } + break; + } + case DETECTION_RANGE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void LineOfBearing::CopyFrom(const LineOfBearing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.LineOfBearing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void LineOfBearing::InternalSwap(LineOfBearing* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.angle_of_arrival_, other->_impl_.angle_of_arrival_); + swap(_impl_.detection_range_, other->_impl_.detection_range_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata LineOfBearing::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class AngleOfArrival::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_._has_bits_); +}; + +void AngleOfArrival::clear_relative_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.relative_pose_ != nullptr) _impl_.relative_pose_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void AngleOfArrival::clear_bearing_elevation_covariance_rad2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bearing_elevation_covariance_rad2_ != nullptr) _impl_.bearing_elevation_covariance_rad2_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +AngleOfArrival::AngleOfArrival(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.AngleOfArrival) +} +inline PROTOBUF_NDEBUG_INLINE AngleOfArrival::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::AngleOfArrival& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +AngleOfArrival::AngleOfArrival( + ::google::protobuf::Arena* arena, + const AngleOfArrival& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AngleOfArrival* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.relative_pose_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::Pose>( + arena, *from._impl_.relative_pose_) + : nullptr; + _impl_.bearing_elevation_covariance_rad2_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::type::TMat2>( + arena, *from._impl_.bearing_elevation_covariance_rad2_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.AngleOfArrival) +} +inline PROTOBUF_NDEBUG_INLINE AngleOfArrival::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void AngleOfArrival::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, relative_pose_), + 0, + offsetof(Impl_, bearing_elevation_covariance_rad2_) - + offsetof(Impl_, relative_pose_) + + sizeof(Impl_::bearing_elevation_covariance_rad2_)); +} +AngleOfArrival::~AngleOfArrival() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.AngleOfArrival) + SharedDtor(*this); +} +inline void AngleOfArrival::SharedDtor(MessageLite& self) { + AngleOfArrival& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.relative_pose_; + delete this_._impl_.bearing_elevation_covariance_rad2_; + this_._impl_.~Impl_(); +} + +inline void* AngleOfArrival::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AngleOfArrival(arena); +} +constexpr auto AngleOfArrival::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AngleOfArrival), + alignof(AngleOfArrival)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull AngleOfArrival::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_AngleOfArrival_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &AngleOfArrival::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &AngleOfArrival::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &AngleOfArrival::ByteSizeLong, + &AngleOfArrival::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_._cached_size_), + false, + }, + &AngleOfArrival::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* AngleOfArrival::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> AngleOfArrival::_table_ = { + { + PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::AngleOfArrival>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.type.TMat2 bearing_elevation_covariance_rad2 = 2 [json_name = "bearingElevationCovarianceRad2"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_.bearing_elevation_covariance_rad2_)}}, + // .anduril.type.Pose relative_pose = 1 [json_name = "relativePose"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_.relative_pose_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.type.Pose relative_pose = 1 [json_name = "relativePose"]; + {PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_.relative_pose_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.type.TMat2 bearing_elevation_covariance_rad2 = 2 [json_name = "bearingElevationCovarianceRad2"]; + {PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_.bearing_elevation_covariance_rad2_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::type::Pose>()}, + {::_pbi::TcParser::GetTable<::anduril::type::TMat2>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void AngleOfArrival::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.AngleOfArrival) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.relative_pose_ != nullptr); + _impl_.relative_pose_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.bearing_elevation_covariance_rad2_ != nullptr); + _impl_.bearing_elevation_covariance_rad2_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AngleOfArrival::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AngleOfArrival& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AngleOfArrival::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AngleOfArrival& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.AngleOfArrival) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.type.Pose relative_pose = 1 [json_name = "relativePose"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.relative_pose_, this_._impl_.relative_pose_->GetCachedSize(), target, + stream); + } + + // .anduril.type.TMat2 bearing_elevation_covariance_rad2 = 2 [json_name = "bearingElevationCovarianceRad2"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.bearing_elevation_covariance_rad2_, this_._impl_.bearing_elevation_covariance_rad2_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.AngleOfArrival) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AngleOfArrival::ByteSizeLong(const MessageLite& base) { + const AngleOfArrival& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AngleOfArrival::ByteSizeLong() const { + const AngleOfArrival& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.AngleOfArrival) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.type.Pose relative_pose = 1 [json_name = "relativePose"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.relative_pose_); + } + // .anduril.type.TMat2 bearing_elevation_covariance_rad2 = 2 [json_name = "bearingElevationCovarianceRad2"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bearing_elevation_covariance_rad2_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void AngleOfArrival::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.AngleOfArrival) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.relative_pose_ != nullptr); + if (_this->_impl_.relative_pose_ == nullptr) { + _this->_impl_.relative_pose_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::Pose>(arena, *from._impl_.relative_pose_); + } else { + _this->_impl_.relative_pose_->MergeFrom(*from._impl_.relative_pose_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.bearing_elevation_covariance_rad2_ != nullptr); + if (_this->_impl_.bearing_elevation_covariance_rad2_ == nullptr) { + _this->_impl_.bearing_elevation_covariance_rad2_ = + ::google::protobuf::Message::CopyConstruct<::anduril::type::TMat2>(arena, *from._impl_.bearing_elevation_covariance_rad2_); + } else { + _this->_impl_.bearing_elevation_covariance_rad2_->MergeFrom(*from._impl_.bearing_elevation_covariance_rad2_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void AngleOfArrival::CopyFrom(const AngleOfArrival& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.AngleOfArrival) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void AngleOfArrival::InternalSwap(AngleOfArrival* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_.bearing_elevation_covariance_rad2_) + + sizeof(AngleOfArrival::_impl_.bearing_elevation_covariance_rad2_) + - PROTOBUF_FIELD_OFFSET(AngleOfArrival, _impl_.relative_pose_)>( + reinterpret_cast(&_impl_.relative_pose_), + reinterpret_cast(&other->_impl_.relative_pose_)); +} + +::google::protobuf::Metadata AngleOfArrival::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Fixed::_Internal { + public: +}; + +Fixed::Fixed(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Fixed) +} +Fixed::Fixed( + ::google::protobuf::Arena* arena, + const Fixed& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Fixed* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Fixed) +} + +inline void* Fixed::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Fixed(arena); +} +constexpr auto Fixed::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Fixed), + alignof(Fixed)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Fixed::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Fixed_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Fixed::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Fixed::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &Fixed::ByteSizeLong, + &Fixed::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Fixed, _impl_._cached_size_), + false, + }, + &Fixed::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Fixed::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> Fixed::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Fixed>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata Fixed::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class PulseRepetitionInterval::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PulseRepetitionInterval, _impl_._has_bits_); +}; + +PulseRepetitionInterval::PulseRepetitionInterval(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.PulseRepetitionInterval) +} +inline PROTOBUF_NDEBUG_INLINE PulseRepetitionInterval::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::PulseRepetitionInterval& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +PulseRepetitionInterval::PulseRepetitionInterval( + ::google::protobuf::Arena* arena, + const PulseRepetitionInterval& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PulseRepetitionInterval* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.pulse_repetition_interval_s_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>( + arena, *from._impl_.pulse_repetition_interval_s_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.PulseRepetitionInterval) +} +inline PROTOBUF_NDEBUG_INLINE PulseRepetitionInterval::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void PulseRepetitionInterval::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.pulse_repetition_interval_s_ = {}; +} +PulseRepetitionInterval::~PulseRepetitionInterval() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.PulseRepetitionInterval) + SharedDtor(*this); +} +inline void PulseRepetitionInterval::SharedDtor(MessageLite& self) { + PulseRepetitionInterval& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.pulse_repetition_interval_s_; + this_._impl_.~Impl_(); +} + +inline void* PulseRepetitionInterval::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PulseRepetitionInterval(arena); +} +constexpr auto PulseRepetitionInterval::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PulseRepetitionInterval), + alignof(PulseRepetitionInterval)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull PulseRepetitionInterval::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_PulseRepetitionInterval_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PulseRepetitionInterval::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PulseRepetitionInterval::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &PulseRepetitionInterval::ByteSizeLong, + &PulseRepetitionInterval::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PulseRepetitionInterval, _impl_._cached_size_), + false, + }, + &PulseRepetitionInterval::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PulseRepetitionInterval::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PulseRepetitionInterval::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PulseRepetitionInterval, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::PulseRepetitionInterval>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Measurement pulse_repetition_interval_s = 1 [json_name = "pulseRepetitionIntervalS"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(PulseRepetitionInterval, _impl_.pulse_repetition_interval_s_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.Measurement pulse_repetition_interval_s = 1 [json_name = "pulseRepetitionIntervalS"]; + {PROTOBUF_FIELD_OFFSET(PulseRepetitionInterval, _impl_.pulse_repetition_interval_s_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Measurement>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void PulseRepetitionInterval::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.PulseRepetitionInterval) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.pulse_repetition_interval_s_ != nullptr); + _impl_.pulse_repetition_interval_s_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PulseRepetitionInterval::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PulseRepetitionInterval& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PulseRepetitionInterval::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PulseRepetitionInterval& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.PulseRepetitionInterval) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Measurement pulse_repetition_interval_s = 1 [json_name = "pulseRepetitionIntervalS"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.pulse_repetition_interval_s_, this_._impl_.pulse_repetition_interval_s_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.PulseRepetitionInterval) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t PulseRepetitionInterval::ByteSizeLong(const MessageLite& base) { + const PulseRepetitionInterval& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PulseRepetitionInterval::ByteSizeLong() const { + const PulseRepetitionInterval& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.PulseRepetitionInterval) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .anduril.entitymanager.v1.Measurement pulse_repetition_interval_s = 1 [json_name = "pulseRepetitionIntervalS"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pulse_repetition_interval_s_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void PulseRepetitionInterval::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.PulseRepetitionInterval) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.pulse_repetition_interval_s_ != nullptr); + if (_this->_impl_.pulse_repetition_interval_s_ == nullptr) { + _this->_impl_.pulse_repetition_interval_s_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Measurement>(arena, *from._impl_.pulse_repetition_interval_s_); + } else { + _this->_impl_.pulse_repetition_interval_s_->MergeFrom(*from._impl_.pulse_repetition_interval_s_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void PulseRepetitionInterval::CopyFrom(const PulseRepetitionInterval& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.PulseRepetitionInterval) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PulseRepetitionInterval::InternalSwap(PulseRepetitionInterval* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.pulse_repetition_interval_s_, other->_impl_.pulse_repetition_interval_s_); +} + +::google::protobuf::Metadata PulseRepetitionInterval::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ScanCharacteristics::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_._has_bits_); +}; + +void ScanCharacteristics::clear_scan_period_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.scan_period_s_ != nullptr) _impl_.scan_period_s_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +ScanCharacteristics::ScanCharacteristics(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ScanCharacteristics) +} +inline PROTOBUF_NDEBUG_INLINE ScanCharacteristics::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ScanCharacteristics& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ScanCharacteristics::ScanCharacteristics( + ::google::protobuf::Arena* arena, + const ScanCharacteristics& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ScanCharacteristics* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.scan_period_s_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>( + arena, *from._impl_.scan_period_s_) + : nullptr; + _impl_.scan_type_ = from._impl_.scan_type_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ScanCharacteristics) +} +inline PROTOBUF_NDEBUG_INLINE ScanCharacteristics::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ScanCharacteristics::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, scan_period_s_), + 0, + offsetof(Impl_, scan_type_) - + offsetof(Impl_, scan_period_s_) + + sizeof(Impl_::scan_type_)); +} +ScanCharacteristics::~ScanCharacteristics() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ScanCharacteristics) + SharedDtor(*this); +} +inline void ScanCharacteristics::SharedDtor(MessageLite& self) { + ScanCharacteristics& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.scan_period_s_; + this_._impl_.~Impl_(); +} + +inline void* ScanCharacteristics::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ScanCharacteristics(arena); +} +constexpr auto ScanCharacteristics::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ScanCharacteristics), + alignof(ScanCharacteristics)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ScanCharacteristics::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ScanCharacteristics_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ScanCharacteristics::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ScanCharacteristics::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ScanCharacteristics::ByteSizeLong, + &ScanCharacteristics::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_._cached_size_), + false, + }, + &ScanCharacteristics::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ScanCharacteristics::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> ScanCharacteristics::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ScanCharacteristics>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .google.protobuf.DoubleValue scan_period_s = 2 [json_name = "scanPeriodS"]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_.scan_period_s_)}}, + // .anduril.entitymanager.v1.ScanType scan_type = 1 [json_name = "scanType"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanCharacteristics, _impl_.scan_type_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_.scan_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.ScanType scan_type = 1 [json_name = "scanType"]; + {PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_.scan_type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .google.protobuf.DoubleValue scan_period_s = 2 [json_name = "scanPeriodS"]; + {PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_.scan_period_s_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ScanCharacteristics::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ScanCharacteristics) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.scan_period_s_ != nullptr); + _impl_.scan_period_s_->Clear(); + } + _impl_.scan_type_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ScanCharacteristics::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ScanCharacteristics& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ScanCharacteristics::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ScanCharacteristics& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ScanCharacteristics) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.ScanType scan_type = 1 [json_name = "scanType"]; + if (this_._internal_scan_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_scan_type(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.DoubleValue scan_period_s = 2 [json_name = "scanPeriodS"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.scan_period_s_, this_._impl_.scan_period_s_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ScanCharacteristics) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ScanCharacteristics::ByteSizeLong(const MessageLite& base) { + const ScanCharacteristics& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ScanCharacteristics::ByteSizeLong() const { + const ScanCharacteristics& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ScanCharacteristics) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .google.protobuf.DoubleValue scan_period_s = 2 [json_name = "scanPeriodS"]; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.scan_period_s_); + } + } + { + // .anduril.entitymanager.v1.ScanType scan_type = 1 [json_name = "scanType"]; + if (this_._internal_scan_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_scan_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ScanCharacteristics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ScanCharacteristics) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.scan_period_s_ != nullptr); + if (_this->_impl_.scan_period_s_ == nullptr) { + _this->_impl_.scan_period_s_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::DoubleValue>(arena, *from._impl_.scan_period_s_); + } else { + _this->_impl_.scan_period_s_->MergeFrom(*from._impl_.scan_period_s_); + } + } + if (from._internal_scan_type() != 0) { + _this->_impl_.scan_type_ = from._impl_.scan_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ScanCharacteristics::CopyFrom(const ScanCharacteristics& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ScanCharacteristics) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ScanCharacteristics::InternalSwap(ScanCharacteristics* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_.scan_type_) + + sizeof(ScanCharacteristics::_impl_.scan_type_) + - PROTOBUF_FIELD_OFFSET(ScanCharacteristics, _impl_.scan_period_s_)>( + reinterpret_cast(&_impl_.scan_period_s_), + reinterpret_cast(&other->_impl_.scan_period_s_)); +} + +::google::protobuf::Metadata ScanCharacteristics::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/signal.pub.pb.h b/src/anduril/entitymanager/v1/signal.pub.pb.h new file mode 100644 index 0000000..299faa5 --- /dev/null +++ b/src/anduril/entitymanager/v1/signal.pub.pb.h @@ -0,0 +1,4605 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/signal.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/type/coords.pub.pb.h" +#include "google/protobuf/wrappers.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class AngleOfArrival; +struct AngleOfArrivalDefaultTypeInternal; +extern AngleOfArrivalDefaultTypeInternal _AngleOfArrival_default_instance_; +class EmitterNotation; +struct EmitterNotationDefaultTypeInternal; +extern EmitterNotationDefaultTypeInternal _EmitterNotation_default_instance_; +class Fixed; +struct FixedDefaultTypeInternal; +extern FixedDefaultTypeInternal _Fixed_default_instance_; +class Frequency; +struct FrequencyDefaultTypeInternal; +extern FrequencyDefaultTypeInternal _Frequency_default_instance_; +class FrequencyRange; +struct FrequencyRangeDefaultTypeInternal; +extern FrequencyRangeDefaultTypeInternal _FrequencyRange_default_instance_; +class LineOfBearing; +struct LineOfBearingDefaultTypeInternal; +extern LineOfBearingDefaultTypeInternal _LineOfBearing_default_instance_; +class Measurement; +struct MeasurementDefaultTypeInternal; +extern MeasurementDefaultTypeInternal _Measurement_default_instance_; +class PulseRepetitionInterval; +struct PulseRepetitionIntervalDefaultTypeInternal; +extern PulseRepetitionIntervalDefaultTypeInternal _PulseRepetitionInterval_default_instance_; +class ScanCharacteristics; +struct ScanCharacteristicsDefaultTypeInternal; +extern ScanCharacteristicsDefaultTypeInternal _ScanCharacteristics_default_instance_; +class Signal; +struct SignalDefaultTypeInternal; +extern SignalDefaultTypeInternal _Signal_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum ScanType : int { + SCAN_TYPE_INVALID = 0, + SCAN_TYPE_CIRCULAR = 1, + SCAN_TYPE_BIDIRECTIONAL_HORIZONTAL_SECTOR = 2, + SCAN_TYPE_BIDIRECTIONAL_VERTICAL_SECTOR = 3, + SCAN_TYPE_NON_SCANNING = 4, + SCAN_TYPE_IRREGULAR = 5, + SCAN_TYPE_CONICAL = 6, + SCAN_TYPE_LOBE_SWITCHING = 7, + SCAN_TYPE_RASTER = 8, + SCAN_TYPE_CIRCULAR_VERTICAL_SECTOR = 9, + SCAN_TYPE_CIRCULAR_CONICAL = 10, + SCAN_TYPE_SECTOR_CONICAL = 11, + SCAN_TYPE_AGILE_BEAM = 12, + SCAN_TYPE_UNIDIRECTIONAL_VERTICAL_SECTOR = 13, + SCAN_TYPE_UNIDIRECTIONAL_HORIZONTAL_SECTOR = 14, + SCAN_TYPE_UNIDIRECTIONAL_SECTOR = 15, + SCAN_TYPE_BIDIRECTIONAL_SECTOR = 16, + ScanType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ScanType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ScanType_IsValid(int value); +extern const uint32_t ScanType_internal_data_[]; +constexpr ScanType ScanType_MIN = static_cast(0); +constexpr ScanType ScanType_MAX = static_cast(16); +constexpr int ScanType_ARRAYSIZE = 16 + 1; +const ::google::protobuf::EnumDescriptor* +ScanType_descriptor(); +template +const std::string& ScanType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ScanType_Name()."); + return ScanType_Name(static_cast(value)); +} +template <> +inline const std::string& ScanType_Name(ScanType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ScanType_Parse(absl::string_view name, ScanType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ScanType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Fixed final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Fixed) */ { + public: + inline Fixed() : Fixed(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Fixed* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Fixed)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Fixed( + ::google::protobuf::internal::ConstantInitialized); + + inline Fixed(const Fixed& from) : Fixed(nullptr, from) {} + inline Fixed(Fixed&& from) noexcept + : Fixed(nullptr, std::move(from)) {} + inline Fixed& operator=(const Fixed& from) { + CopyFrom(from); + return *this; + } + inline Fixed& operator=(Fixed&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Fixed& default_instance() { + return *internal_default_instance(); + } + static inline const Fixed* internal_default_instance() { + return reinterpret_cast( + &_Fixed_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(Fixed& a, Fixed& b) { a.Swap(&b); } + inline void Swap(Fixed* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Fixed* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Fixed* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const Fixed& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const Fixed& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Fixed"; } + + protected: + explicit Fixed(::google::protobuf::Arena* arena); + Fixed(::google::protobuf::Arena* arena, const Fixed& from); + Fixed(::google::protobuf::Arena* arena, Fixed&& from) noexcept + : Fixed(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Fixed) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Fixed& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class ScanCharacteristics final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ScanCharacteristics) */ { + public: + inline ScanCharacteristics() : ScanCharacteristics(nullptr) {} + ~ScanCharacteristics() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ScanCharacteristics* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ScanCharacteristics)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ScanCharacteristics( + ::google::protobuf::internal::ConstantInitialized); + + inline ScanCharacteristics(const ScanCharacteristics& from) : ScanCharacteristics(nullptr, from) {} + inline ScanCharacteristics(ScanCharacteristics&& from) noexcept + : ScanCharacteristics(nullptr, std::move(from)) {} + inline ScanCharacteristics& operator=(const ScanCharacteristics& from) { + CopyFrom(from); + return *this; + } + inline ScanCharacteristics& operator=(ScanCharacteristics&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ScanCharacteristics& default_instance() { + return *internal_default_instance(); + } + static inline const ScanCharacteristics* internal_default_instance() { + return reinterpret_cast( + &_ScanCharacteristics_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(ScanCharacteristics& a, ScanCharacteristics& b) { a.Swap(&b); } + inline void Swap(ScanCharacteristics* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ScanCharacteristics* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScanCharacteristics* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ScanCharacteristics& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ScanCharacteristics& from) { ScanCharacteristics::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ScanCharacteristics* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ScanCharacteristics"; } + + protected: + explicit ScanCharacteristics(::google::protobuf::Arena* arena); + ScanCharacteristics(::google::protobuf::Arena* arena, const ScanCharacteristics& from); + ScanCharacteristics(::google::protobuf::Arena* arena, ScanCharacteristics&& from) noexcept + : ScanCharacteristics(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kScanPeriodSFieldNumber = 2, + kScanTypeFieldNumber = 1, + }; + // .google.protobuf.DoubleValue scan_period_s = 2 [json_name = "scanPeriodS"]; + bool has_scan_period_s() const; + void clear_scan_period_s() ; + const ::google::protobuf::DoubleValue& scan_period_s() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_scan_period_s(); + ::google::protobuf::DoubleValue* mutable_scan_period_s(); + void set_allocated_scan_period_s(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_scan_period_s(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_scan_period_s(); + + private: + const ::google::protobuf::DoubleValue& _internal_scan_period_s() const; + ::google::protobuf::DoubleValue* _internal_mutable_scan_period_s(); + + public: + // .anduril.entitymanager.v1.ScanType scan_type = 1 [json_name = "scanType"]; + void clear_scan_type() ; + ::anduril::entitymanager::v1::ScanType scan_type() const; + void set_scan_type(::anduril::entitymanager::v1::ScanType value); + + private: + ::anduril::entitymanager::v1::ScanType _internal_scan_type() const; + void _internal_set_scan_type(::anduril::entitymanager::v1::ScanType value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ScanCharacteristics) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ScanCharacteristics& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* scan_period_s_; + int scan_type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Measurement final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Measurement) */ { + public: + inline Measurement() : Measurement(nullptr) {} + ~Measurement() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Measurement* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Measurement)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Measurement( + ::google::protobuf::internal::ConstantInitialized); + + inline Measurement(const Measurement& from) : Measurement(nullptr, from) {} + inline Measurement(Measurement&& from) noexcept + : Measurement(nullptr, std::move(from)) {} + inline Measurement& operator=(const Measurement& from) { + CopyFrom(from); + return *this; + } + inline Measurement& operator=(Measurement&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Measurement& default_instance() { + return *internal_default_instance(); + } + static inline const Measurement* internal_default_instance() { + return reinterpret_cast( + &_Measurement_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Measurement& a, Measurement& b) { a.Swap(&b); } + inline void Swap(Measurement* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Measurement* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Measurement* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Measurement& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Measurement& from) { Measurement::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Measurement* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Measurement"; } + + protected: + explicit Measurement(::google::protobuf::Arena* arena); + Measurement(::google::protobuf::Arena* arena, const Measurement& from); + Measurement(::google::protobuf::Arena* arena, Measurement&& from) noexcept + : Measurement(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + kSigmaFieldNumber = 2, + }; + // .google.protobuf.DoubleValue value = 1 [json_name = "value"]; + bool has_value() const; + void clear_value() ; + const ::google::protobuf::DoubleValue& value() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_value(); + ::google::protobuf::DoubleValue* mutable_value(); + void set_allocated_value(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_value(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_value(); + + private: + const ::google::protobuf::DoubleValue& _internal_value() const; + ::google::protobuf::DoubleValue* _internal_mutable_value(); + + public: + // .google.protobuf.DoubleValue sigma = 2 [json_name = "sigma"]; + bool has_sigma() const; + void clear_sigma() ; + const ::google::protobuf::DoubleValue& sigma() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_sigma(); + ::google::protobuf::DoubleValue* mutable_sigma(); + void set_allocated_sigma(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_sigma(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_sigma(); + + private: + const ::google::protobuf::DoubleValue& _internal_sigma() const; + ::google::protobuf::DoubleValue* _internal_mutable_sigma(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Measurement) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Measurement& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::DoubleValue* value_; + ::google::protobuf::DoubleValue* sigma_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class EmitterNotation final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.EmitterNotation) */ { + public: + inline EmitterNotation() : EmitterNotation(nullptr) {} + ~EmitterNotation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(EmitterNotation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(EmitterNotation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR EmitterNotation( + ::google::protobuf::internal::ConstantInitialized); + + inline EmitterNotation(const EmitterNotation& from) : EmitterNotation(nullptr, from) {} + inline EmitterNotation(EmitterNotation&& from) noexcept + : EmitterNotation(nullptr, std::move(from)) {} + inline EmitterNotation& operator=(const EmitterNotation& from) { + CopyFrom(from); + return *this; + } + inline EmitterNotation& operator=(EmitterNotation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const EmitterNotation& default_instance() { + return *internal_default_instance(); + } + static inline const EmitterNotation* internal_default_instance() { + return reinterpret_cast( + &_EmitterNotation_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(EmitterNotation& a, EmitterNotation& b) { a.Swap(&b); } + inline void Swap(EmitterNotation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(EmitterNotation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + EmitterNotation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const EmitterNotation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const EmitterNotation& from) { EmitterNotation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(EmitterNotation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.EmitterNotation"; } + + protected: + explicit EmitterNotation(::google::protobuf::Arena* arena); + EmitterNotation(::google::protobuf::Arena* arena, const EmitterNotation& from); + EmitterNotation(::google::protobuf::Arena* arena, EmitterNotation&& from) noexcept + : EmitterNotation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEmitterNotationFieldNumber = 1, + kConfidenceFieldNumber = 2, + }; + // string emitter_notation = 1 [json_name = "emitterNotation"]; + void clear_emitter_notation() ; + const std::string& emitter_notation() const; + template + void set_emitter_notation(Arg_&& arg, Args_... args); + std::string* mutable_emitter_notation(); + PROTOBUF_NODISCARD std::string* release_emitter_notation(); + void set_allocated_emitter_notation(std::string* value); + + private: + const std::string& _internal_emitter_notation() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_emitter_notation( + const std::string& value); + std::string* _internal_mutable_emitter_notation(); + + public: + // .google.protobuf.DoubleValue confidence = 2 [json_name = "confidence"]; + bool has_confidence() const; + void clear_confidence() ; + const ::google::protobuf::DoubleValue& confidence() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_confidence(); + ::google::protobuf::DoubleValue* mutable_confidence(); + void set_allocated_confidence(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_confidence(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_confidence(); + + private: + const ::google::protobuf::DoubleValue& _internal_confidence() const; + ::google::protobuf::DoubleValue* _internal_mutable_confidence(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.EmitterNotation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 65, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const EmitterNotation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr emitter_notation_; + ::google::protobuf::DoubleValue* confidence_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class PulseRepetitionInterval final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.PulseRepetitionInterval) */ { + public: + inline PulseRepetitionInterval() : PulseRepetitionInterval(nullptr) {} + ~PulseRepetitionInterval() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PulseRepetitionInterval* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PulseRepetitionInterval)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PulseRepetitionInterval( + ::google::protobuf::internal::ConstantInitialized); + + inline PulseRepetitionInterval(const PulseRepetitionInterval& from) : PulseRepetitionInterval(nullptr, from) {} + inline PulseRepetitionInterval(PulseRepetitionInterval&& from) noexcept + : PulseRepetitionInterval(nullptr, std::move(from)) {} + inline PulseRepetitionInterval& operator=(const PulseRepetitionInterval& from) { + CopyFrom(from); + return *this; + } + inline PulseRepetitionInterval& operator=(PulseRepetitionInterval&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PulseRepetitionInterval& default_instance() { + return *internal_default_instance(); + } + static inline const PulseRepetitionInterval* internal_default_instance() { + return reinterpret_cast( + &_PulseRepetitionInterval_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(PulseRepetitionInterval& a, PulseRepetitionInterval& b) { a.Swap(&b); } + inline void Swap(PulseRepetitionInterval* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PulseRepetitionInterval* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PulseRepetitionInterval* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const PulseRepetitionInterval& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const PulseRepetitionInterval& from) { PulseRepetitionInterval::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PulseRepetitionInterval* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.PulseRepetitionInterval"; } + + protected: + explicit PulseRepetitionInterval(::google::protobuf::Arena* arena); + PulseRepetitionInterval(::google::protobuf::Arena* arena, const PulseRepetitionInterval& from); + PulseRepetitionInterval(::google::protobuf::Arena* arena, PulseRepetitionInterval&& from) noexcept + : PulseRepetitionInterval(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPulseRepetitionIntervalSFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Measurement pulse_repetition_interval_s = 1 [json_name = "pulseRepetitionIntervalS"]; + bool has_pulse_repetition_interval_s() const; + void clear_pulse_repetition_interval_s() ; + const ::anduril::entitymanager::v1::Measurement& pulse_repetition_interval_s() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Measurement* release_pulse_repetition_interval_s(); + ::anduril::entitymanager::v1::Measurement* mutable_pulse_repetition_interval_s(); + void set_allocated_pulse_repetition_interval_s(::anduril::entitymanager::v1::Measurement* value); + void unsafe_arena_set_allocated_pulse_repetition_interval_s(::anduril::entitymanager::v1::Measurement* value); + ::anduril::entitymanager::v1::Measurement* unsafe_arena_release_pulse_repetition_interval_s(); + + private: + const ::anduril::entitymanager::v1::Measurement& _internal_pulse_repetition_interval_s() const; + ::anduril::entitymanager::v1::Measurement* _internal_mutable_pulse_repetition_interval_s(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.PulseRepetitionInterval) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const PulseRepetitionInterval& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Measurement* pulse_repetition_interval_s_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Frequency final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Frequency) */ { + public: + inline Frequency() : Frequency(nullptr) {} + ~Frequency() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Frequency* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Frequency)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Frequency( + ::google::protobuf::internal::ConstantInitialized); + + inline Frequency(const Frequency& from) : Frequency(nullptr, from) {} + inline Frequency(Frequency&& from) noexcept + : Frequency(nullptr, std::move(from)) {} + inline Frequency& operator=(const Frequency& from) { + CopyFrom(from); + return *this; + } + inline Frequency& operator=(Frequency&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Frequency& default_instance() { + return *internal_default_instance(); + } + static inline const Frequency* internal_default_instance() { + return reinterpret_cast( + &_Frequency_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(Frequency& a, Frequency& b) { a.Swap(&b); } + inline void Swap(Frequency* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Frequency* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Frequency* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Frequency& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Frequency& from) { Frequency::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Frequency* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Frequency"; } + + protected: + explicit Frequency(::google::protobuf::Arena* arena); + Frequency(::google::protobuf::Arena* arena, const Frequency& from); + Frequency(::google::protobuf::Arena* arena, Frequency&& from) noexcept + : Frequency(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFrequencyHzFieldNumber = 1, + }; + // .anduril.entitymanager.v1.Measurement frequency_hz = 1 [json_name = "frequencyHz"]; + bool has_frequency_hz() const; + void clear_frequency_hz() ; + const ::anduril::entitymanager::v1::Measurement& frequency_hz() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Measurement* release_frequency_hz(); + ::anduril::entitymanager::v1::Measurement* mutable_frequency_hz(); + void set_allocated_frequency_hz(::anduril::entitymanager::v1::Measurement* value); + void unsafe_arena_set_allocated_frequency_hz(::anduril::entitymanager::v1::Measurement* value); + ::anduril::entitymanager::v1::Measurement* unsafe_arena_release_frequency_hz(); + + private: + const ::anduril::entitymanager::v1::Measurement& _internal_frequency_hz() const; + ::anduril::entitymanager::v1::Measurement* _internal_mutable_frequency_hz(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Frequency) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Frequency& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Measurement* frequency_hz_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class AngleOfArrival final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.AngleOfArrival) */ { + public: + inline AngleOfArrival() : AngleOfArrival(nullptr) {} + ~AngleOfArrival() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AngleOfArrival* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AngleOfArrival)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR AngleOfArrival( + ::google::protobuf::internal::ConstantInitialized); + + inline AngleOfArrival(const AngleOfArrival& from) : AngleOfArrival(nullptr, from) {} + inline AngleOfArrival(AngleOfArrival&& from) noexcept + : AngleOfArrival(nullptr, std::move(from)) {} + inline AngleOfArrival& operator=(const AngleOfArrival& from) { + CopyFrom(from); + return *this; + } + inline AngleOfArrival& operator=(AngleOfArrival&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AngleOfArrival& default_instance() { + return *internal_default_instance(); + } + static inline const AngleOfArrival* internal_default_instance() { + return reinterpret_cast( + &_AngleOfArrival_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(AngleOfArrival& a, AngleOfArrival& b) { a.Swap(&b); } + inline void Swap(AngleOfArrival* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AngleOfArrival* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AngleOfArrival* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AngleOfArrival& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AngleOfArrival& from) { AngleOfArrival::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AngleOfArrival* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.AngleOfArrival"; } + + protected: + explicit AngleOfArrival(::google::protobuf::Arena* arena); + AngleOfArrival(::google::protobuf::Arena* arena, const AngleOfArrival& from); + AngleOfArrival(::google::protobuf::Arena* arena, AngleOfArrival&& from) noexcept + : AngleOfArrival(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRelativePoseFieldNumber = 1, + kBearingElevationCovarianceRad2FieldNumber = 2, + }; + // .anduril.type.Pose relative_pose = 1 [json_name = "relativePose"]; + bool has_relative_pose() const; + void clear_relative_pose() ; + const ::anduril::type::Pose& relative_pose() const; + PROTOBUF_NODISCARD ::anduril::type::Pose* release_relative_pose(); + ::anduril::type::Pose* mutable_relative_pose(); + void set_allocated_relative_pose(::anduril::type::Pose* value); + void unsafe_arena_set_allocated_relative_pose(::anduril::type::Pose* value); + ::anduril::type::Pose* unsafe_arena_release_relative_pose(); + + private: + const ::anduril::type::Pose& _internal_relative_pose() const; + ::anduril::type::Pose* _internal_mutable_relative_pose(); + + public: + // .anduril.type.TMat2 bearing_elevation_covariance_rad2 = 2 [json_name = "bearingElevationCovarianceRad2"]; + bool has_bearing_elevation_covariance_rad2() const; + void clear_bearing_elevation_covariance_rad2() ; + const ::anduril::type::TMat2& bearing_elevation_covariance_rad2() const; + PROTOBUF_NODISCARD ::anduril::type::TMat2* release_bearing_elevation_covariance_rad2(); + ::anduril::type::TMat2* mutable_bearing_elevation_covariance_rad2(); + void set_allocated_bearing_elevation_covariance_rad2(::anduril::type::TMat2* value); + void unsafe_arena_set_allocated_bearing_elevation_covariance_rad2(::anduril::type::TMat2* value); + ::anduril::type::TMat2* unsafe_arena_release_bearing_elevation_covariance_rad2(); + + private: + const ::anduril::type::TMat2& _internal_bearing_elevation_covariance_rad2() const; + ::anduril::type::TMat2* _internal_mutable_bearing_elevation_covariance_rad2(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.AngleOfArrival) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AngleOfArrival& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::type::Pose* relative_pose_; + ::anduril::type::TMat2* bearing_elevation_covariance_rad2_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class LineOfBearing final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.LineOfBearing) */ { + public: + inline LineOfBearing() : LineOfBearing(nullptr) {} + ~LineOfBearing() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(LineOfBearing* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LineOfBearing)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR LineOfBearing( + ::google::protobuf::internal::ConstantInitialized); + + inline LineOfBearing(const LineOfBearing& from) : LineOfBearing(nullptr, from) {} + inline LineOfBearing(LineOfBearing&& from) noexcept + : LineOfBearing(nullptr, std::move(from)) {} + inline LineOfBearing& operator=(const LineOfBearing& from) { + CopyFrom(from); + return *this; + } + inline LineOfBearing& operator=(LineOfBearing&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LineOfBearing& default_instance() { + return *internal_default_instance(); + } + enum DetectionRangeCase { + kRangeEstimateM = 4, + kMaxRangeM = 5, + DETECTION_RANGE_NOT_SET = 0, + }; + static inline const LineOfBearing* internal_default_instance() { + return reinterpret_cast( + &_LineOfBearing_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(LineOfBearing& a, LineOfBearing& b) { a.Swap(&b); } + inline void Swap(LineOfBearing* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LineOfBearing* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LineOfBearing* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const LineOfBearing& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const LineOfBearing& from) { LineOfBearing::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(LineOfBearing* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.LineOfBearing"; } + + protected: + explicit LineOfBearing(::google::protobuf::Arena* arena); + LineOfBearing(::google::protobuf::Arena* arena, const LineOfBearing& from); + LineOfBearing(::google::protobuf::Arena* arena, LineOfBearing&& from) noexcept + : LineOfBearing(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAngleOfArrivalFieldNumber = 3, + kRangeEstimateMFieldNumber = 4, + kMaxRangeMFieldNumber = 5, + }; + // .anduril.entitymanager.v1.AngleOfArrival angle_of_arrival = 3 [json_name = "angleOfArrival"]; + bool has_angle_of_arrival() const; + void clear_angle_of_arrival() ; + const ::anduril::entitymanager::v1::AngleOfArrival& angle_of_arrival() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::AngleOfArrival* release_angle_of_arrival(); + ::anduril::entitymanager::v1::AngleOfArrival* mutable_angle_of_arrival(); + void set_allocated_angle_of_arrival(::anduril::entitymanager::v1::AngleOfArrival* value); + void unsafe_arena_set_allocated_angle_of_arrival(::anduril::entitymanager::v1::AngleOfArrival* value); + ::anduril::entitymanager::v1::AngleOfArrival* unsafe_arena_release_angle_of_arrival(); + + private: + const ::anduril::entitymanager::v1::AngleOfArrival& _internal_angle_of_arrival() const; + ::anduril::entitymanager::v1::AngleOfArrival* _internal_mutable_angle_of_arrival(); + + public: + // .anduril.entitymanager.v1.Measurement range_estimate_m = 4 [json_name = "rangeEstimateM"]; + bool has_range_estimate_m() const; + private: + bool _internal_has_range_estimate_m() const; + + public: + void clear_range_estimate_m() ; + const ::anduril::entitymanager::v1::Measurement& range_estimate_m() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Measurement* release_range_estimate_m(); + ::anduril::entitymanager::v1::Measurement* mutable_range_estimate_m(); + void set_allocated_range_estimate_m(::anduril::entitymanager::v1::Measurement* value); + void unsafe_arena_set_allocated_range_estimate_m(::anduril::entitymanager::v1::Measurement* value); + ::anduril::entitymanager::v1::Measurement* unsafe_arena_release_range_estimate_m(); + + private: + const ::anduril::entitymanager::v1::Measurement& _internal_range_estimate_m() const; + ::anduril::entitymanager::v1::Measurement* _internal_mutable_range_estimate_m(); + + public: + // .anduril.entitymanager.v1.Measurement max_range_m = 5 [json_name = "maxRangeM"]; + bool has_max_range_m() const; + private: + bool _internal_has_max_range_m() const; + + public: + void clear_max_range_m() ; + const ::anduril::entitymanager::v1::Measurement& max_range_m() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Measurement* release_max_range_m(); + ::anduril::entitymanager::v1::Measurement* mutable_max_range_m(); + void set_allocated_max_range_m(::anduril::entitymanager::v1::Measurement* value); + void unsafe_arena_set_allocated_max_range_m(::anduril::entitymanager::v1::Measurement* value); + ::anduril::entitymanager::v1::Measurement* unsafe_arena_release_max_range_m(); + + private: + const ::anduril::entitymanager::v1::Measurement& _internal_max_range_m() const; + ::anduril::entitymanager::v1::Measurement* _internal_mutable_max_range_m(); + + public: + void clear_detection_range(); + DetectionRangeCase detection_range_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.LineOfBearing) + private: + class _Internal; + void set_has_range_estimate_m(); + void set_has_max_range_m(); + inline bool has_detection_range() const; + inline void clear_has_detection_range(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const LineOfBearing& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::AngleOfArrival* angle_of_arrival_; + union DetectionRangeUnion { + constexpr DetectionRangeUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::Measurement* range_estimate_m_; + ::anduril::entitymanager::v1::Measurement* max_range_m_; + } detection_range_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class FrequencyRange final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.FrequencyRange) */ { + public: + inline FrequencyRange() : FrequencyRange(nullptr) {} + ~FrequencyRange() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(FrequencyRange* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(FrequencyRange)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR FrequencyRange( + ::google::protobuf::internal::ConstantInitialized); + + inline FrequencyRange(const FrequencyRange& from) : FrequencyRange(nullptr, from) {} + inline FrequencyRange(FrequencyRange&& from) noexcept + : FrequencyRange(nullptr, std::move(from)) {} + inline FrequencyRange& operator=(const FrequencyRange& from) { + CopyFrom(from); + return *this; + } + inline FrequencyRange& operator=(FrequencyRange&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FrequencyRange& default_instance() { + return *internal_default_instance(); + } + static inline const FrequencyRange* internal_default_instance() { + return reinterpret_cast( + &_FrequencyRange_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(FrequencyRange& a, FrequencyRange& b) { a.Swap(&b); } + inline void Swap(FrequencyRange* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FrequencyRange* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FrequencyRange* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const FrequencyRange& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const FrequencyRange& from) { FrequencyRange::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(FrequencyRange* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.FrequencyRange"; } + + protected: + explicit FrequencyRange(::google::protobuf::Arena* arena); + FrequencyRange(::google::protobuf::Arena* arena, const FrequencyRange& from); + FrequencyRange(::google::protobuf::Arena* arena, FrequencyRange&& from) noexcept + : FrequencyRange(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMinimumFrequencyHzFieldNumber = 1, + kMaximumFrequencyHzFieldNumber = 2, + }; + // .anduril.entitymanager.v1.Frequency minimum_frequency_hz = 1 [json_name = "minimumFrequencyHz"]; + bool has_minimum_frequency_hz() const; + void clear_minimum_frequency_hz() ; + const ::anduril::entitymanager::v1::Frequency& minimum_frequency_hz() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Frequency* release_minimum_frequency_hz(); + ::anduril::entitymanager::v1::Frequency* mutable_minimum_frequency_hz(); + void set_allocated_minimum_frequency_hz(::anduril::entitymanager::v1::Frequency* value); + void unsafe_arena_set_allocated_minimum_frequency_hz(::anduril::entitymanager::v1::Frequency* value); + ::anduril::entitymanager::v1::Frequency* unsafe_arena_release_minimum_frequency_hz(); + + private: + const ::anduril::entitymanager::v1::Frequency& _internal_minimum_frequency_hz() const; + ::anduril::entitymanager::v1::Frequency* _internal_mutable_minimum_frequency_hz(); + + public: + // .anduril.entitymanager.v1.Frequency maximum_frequency_hz = 2 [json_name = "maximumFrequencyHz"]; + bool has_maximum_frequency_hz() const; + void clear_maximum_frequency_hz() ; + const ::anduril::entitymanager::v1::Frequency& maximum_frequency_hz() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Frequency* release_maximum_frequency_hz(); + ::anduril::entitymanager::v1::Frequency* mutable_maximum_frequency_hz(); + void set_allocated_maximum_frequency_hz(::anduril::entitymanager::v1::Frequency* value); + void unsafe_arena_set_allocated_maximum_frequency_hz(::anduril::entitymanager::v1::Frequency* value); + ::anduril::entitymanager::v1::Frequency* unsafe_arena_release_maximum_frequency_hz(); + + private: + const ::anduril::entitymanager::v1::Frequency& _internal_maximum_frequency_hz() const; + ::anduril::entitymanager::v1::Frequency* _internal_mutable_maximum_frequency_hz(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.FrequencyRange) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const FrequencyRange& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Frequency* minimum_frequency_hz_; + ::anduril::entitymanager::v1::Frequency* maximum_frequency_hz_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Signal final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Signal) */ { + public: + inline Signal() : Signal(nullptr) {} + ~Signal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Signal* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Signal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Signal( + ::google::protobuf::internal::ConstantInitialized); + + inline Signal(const Signal& from) : Signal(nullptr, from) {} + inline Signal(Signal&& from) noexcept + : Signal(nullptr, std::move(from)) {} + inline Signal& operator=(const Signal& from) { + CopyFrom(from); + return *this; + } + inline Signal& operator=(Signal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Signal& default_instance() { + return *internal_default_instance(); + } + enum FrequencyMeasurementCase { + kFrequencyCenter = 1, + kFrequencyRange = 2, + FREQUENCY_MEASUREMENT_NOT_SET = 0, + }; + enum ReportCase { + kLineOfBearing = 5, + kFixed = 6, + REPORT_NOT_SET = 0, + }; + static inline const Signal* internal_default_instance() { + return reinterpret_cast( + &_Signal_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Signal& a, Signal& b) { a.Swap(&b); } + inline void Swap(Signal* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Signal* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Signal* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Signal& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Signal& from) { Signal::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Signal* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Signal"; } + + protected: + explicit Signal(::google::protobuf::Arena* arena); + Signal(::google::protobuf::Arena* arena, const Signal& from); + Signal(::google::protobuf::Arena* arena, Signal&& from) noexcept + : Signal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEmitterNotationsFieldNumber = 7, + kBandwidthHzFieldNumber = 3, + kSignalToNoiseRatioFieldNumber = 4, + kPulseWidthSFieldNumber = 8, + kPulseRepetitionIntervalFieldNumber = 9, + kScanCharacteristicsFieldNumber = 11, + kFrequencyCenterFieldNumber = 1, + kFrequencyRangeFieldNumber = 2, + kLineOfBearingFieldNumber = 5, + kFixedFieldNumber = 6, + }; + // repeated .anduril.entitymanager.v1.EmitterNotation emitter_notations = 7 [json_name = "emitterNotations"]; + int emitter_notations_size() const; + private: + int _internal_emitter_notations_size() const; + + public: + void clear_emitter_notations() ; + ::anduril::entitymanager::v1::EmitterNotation* mutable_emitter_notations(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>* mutable_emitter_notations(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>& _internal_emitter_notations() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>* _internal_mutable_emitter_notations(); + public: + const ::anduril::entitymanager::v1::EmitterNotation& emitter_notations(int index) const; + ::anduril::entitymanager::v1::EmitterNotation* add_emitter_notations(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>& emitter_notations() const; + // .google.protobuf.DoubleValue bandwidth_hz = 3 [json_name = "bandwidthHz"]; + bool has_bandwidth_hz() const; + void clear_bandwidth_hz() ; + const ::google::protobuf::DoubleValue& bandwidth_hz() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_bandwidth_hz(); + ::google::protobuf::DoubleValue* mutable_bandwidth_hz(); + void set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_bandwidth_hz(); + + private: + const ::google::protobuf::DoubleValue& _internal_bandwidth_hz() const; + ::google::protobuf::DoubleValue* _internal_mutable_bandwidth_hz(); + + public: + // .google.protobuf.DoubleValue signal_to_noise_ratio = 4 [json_name = "signalToNoiseRatio"]; + bool has_signal_to_noise_ratio() const; + void clear_signal_to_noise_ratio() ; + const ::google::protobuf::DoubleValue& signal_to_noise_ratio() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_signal_to_noise_ratio(); + ::google::protobuf::DoubleValue* mutable_signal_to_noise_ratio(); + void set_allocated_signal_to_noise_ratio(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_signal_to_noise_ratio(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_signal_to_noise_ratio(); + + private: + const ::google::protobuf::DoubleValue& _internal_signal_to_noise_ratio() const; + ::google::protobuf::DoubleValue* _internal_mutable_signal_to_noise_ratio(); + + public: + // .google.protobuf.DoubleValue pulse_width_s = 8 [json_name = "pulseWidthS"]; + bool has_pulse_width_s() const; + void clear_pulse_width_s() ; + const ::google::protobuf::DoubleValue& pulse_width_s() const; + PROTOBUF_NODISCARD ::google::protobuf::DoubleValue* release_pulse_width_s(); + ::google::protobuf::DoubleValue* mutable_pulse_width_s(); + void set_allocated_pulse_width_s(::google::protobuf::DoubleValue* value); + void unsafe_arena_set_allocated_pulse_width_s(::google::protobuf::DoubleValue* value); + ::google::protobuf::DoubleValue* unsafe_arena_release_pulse_width_s(); + + private: + const ::google::protobuf::DoubleValue& _internal_pulse_width_s() const; + ::google::protobuf::DoubleValue* _internal_mutable_pulse_width_s(); + + public: + // .anduril.entitymanager.v1.PulseRepetitionInterval pulse_repetition_interval = 9 [json_name = "pulseRepetitionInterval"]; + bool has_pulse_repetition_interval() const; + void clear_pulse_repetition_interval() ; + const ::anduril::entitymanager::v1::PulseRepetitionInterval& pulse_repetition_interval() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::PulseRepetitionInterval* release_pulse_repetition_interval(); + ::anduril::entitymanager::v1::PulseRepetitionInterval* mutable_pulse_repetition_interval(); + void set_allocated_pulse_repetition_interval(::anduril::entitymanager::v1::PulseRepetitionInterval* value); + void unsafe_arena_set_allocated_pulse_repetition_interval(::anduril::entitymanager::v1::PulseRepetitionInterval* value); + ::anduril::entitymanager::v1::PulseRepetitionInterval* unsafe_arena_release_pulse_repetition_interval(); + + private: + const ::anduril::entitymanager::v1::PulseRepetitionInterval& _internal_pulse_repetition_interval() const; + ::anduril::entitymanager::v1::PulseRepetitionInterval* _internal_mutable_pulse_repetition_interval(); + + public: + // .anduril.entitymanager.v1.ScanCharacteristics scan_characteristics = 11 [json_name = "scanCharacteristics"]; + bool has_scan_characteristics() const; + void clear_scan_characteristics() ; + const ::anduril::entitymanager::v1::ScanCharacteristics& scan_characteristics() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ScanCharacteristics* release_scan_characteristics(); + ::anduril::entitymanager::v1::ScanCharacteristics* mutable_scan_characteristics(); + void set_allocated_scan_characteristics(::anduril::entitymanager::v1::ScanCharacteristics* value); + void unsafe_arena_set_allocated_scan_characteristics(::anduril::entitymanager::v1::ScanCharacteristics* value); + ::anduril::entitymanager::v1::ScanCharacteristics* unsafe_arena_release_scan_characteristics(); + + private: + const ::anduril::entitymanager::v1::ScanCharacteristics& _internal_scan_characteristics() const; + ::anduril::entitymanager::v1::ScanCharacteristics* _internal_mutable_scan_characteristics(); + + public: + // .anduril.entitymanager.v1.Frequency frequency_center = 1 [json_name = "frequencyCenter"]; + bool has_frequency_center() const; + private: + bool _internal_has_frequency_center() const; + + public: + void clear_frequency_center() ; + const ::anduril::entitymanager::v1::Frequency& frequency_center() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Frequency* release_frequency_center(); + ::anduril::entitymanager::v1::Frequency* mutable_frequency_center(); + void set_allocated_frequency_center(::anduril::entitymanager::v1::Frequency* value); + void unsafe_arena_set_allocated_frequency_center(::anduril::entitymanager::v1::Frequency* value); + ::anduril::entitymanager::v1::Frequency* unsafe_arena_release_frequency_center(); + + private: + const ::anduril::entitymanager::v1::Frequency& _internal_frequency_center() const; + ::anduril::entitymanager::v1::Frequency* _internal_mutable_frequency_center(); + + public: + // .anduril.entitymanager.v1.FrequencyRange frequency_range = 2 [json_name = "frequencyRange"]; + bool has_frequency_range() const; + private: + bool _internal_has_frequency_range() const; + + public: + void clear_frequency_range() ; + const ::anduril::entitymanager::v1::FrequencyRange& frequency_range() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::FrequencyRange* release_frequency_range(); + ::anduril::entitymanager::v1::FrequencyRange* mutable_frequency_range(); + void set_allocated_frequency_range(::anduril::entitymanager::v1::FrequencyRange* value); + void unsafe_arena_set_allocated_frequency_range(::anduril::entitymanager::v1::FrequencyRange* value); + ::anduril::entitymanager::v1::FrequencyRange* unsafe_arena_release_frequency_range(); + + private: + const ::anduril::entitymanager::v1::FrequencyRange& _internal_frequency_range() const; + ::anduril::entitymanager::v1::FrequencyRange* _internal_mutable_frequency_range(); + + public: + // .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 5 [json_name = "lineOfBearing"]; + bool has_line_of_bearing() const; + private: + bool _internal_has_line_of_bearing() const; + + public: + void clear_line_of_bearing() ; + const ::anduril::entitymanager::v1::LineOfBearing& line_of_bearing() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::LineOfBearing* release_line_of_bearing(); + ::anduril::entitymanager::v1::LineOfBearing* mutable_line_of_bearing(); + void set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value); + void unsafe_arena_set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value); + ::anduril::entitymanager::v1::LineOfBearing* unsafe_arena_release_line_of_bearing(); + + private: + const ::anduril::entitymanager::v1::LineOfBearing& _internal_line_of_bearing() const; + ::anduril::entitymanager::v1::LineOfBearing* _internal_mutable_line_of_bearing(); + + public: + // .anduril.entitymanager.v1.Fixed fixed = 6 [json_name = "fixed"]; + bool has_fixed() const; + private: + bool _internal_has_fixed() const; + + public: + void clear_fixed() ; + const ::anduril::entitymanager::v1::Fixed& fixed() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Fixed* release_fixed(); + ::anduril::entitymanager::v1::Fixed* mutable_fixed(); + void set_allocated_fixed(::anduril::entitymanager::v1::Fixed* value); + void unsafe_arena_set_allocated_fixed(::anduril::entitymanager::v1::Fixed* value); + ::anduril::entitymanager::v1::Fixed* unsafe_arena_release_fixed(); + + private: + const ::anduril::entitymanager::v1::Fixed& _internal_fixed() const; + ::anduril::entitymanager::v1::Fixed* _internal_mutable_fixed(); + + public: + void clear_frequency_measurement(); + FrequencyMeasurementCase frequency_measurement_case() const; + void clear_report(); + ReportCase report_case() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Signal) + private: + class _Internal; + void set_has_frequency_center(); + void set_has_frequency_range(); + void set_has_line_of_bearing(); + void set_has_fixed(); + inline bool has_frequency_measurement() const; + inline void clear_has_frequency_measurement(); + inline bool has_report() const; + inline void clear_has_report(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 4, 10, 10, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Signal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::EmitterNotation > emitter_notations_; + ::google::protobuf::DoubleValue* bandwidth_hz_; + ::google::protobuf::DoubleValue* signal_to_noise_ratio_; + ::google::protobuf::DoubleValue* pulse_width_s_; + ::anduril::entitymanager::v1::PulseRepetitionInterval* pulse_repetition_interval_; + ::anduril::entitymanager::v1::ScanCharacteristics* scan_characteristics_; + union FrequencyMeasurementUnion { + constexpr FrequencyMeasurementUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::Frequency* frequency_center_; + ::anduril::entitymanager::v1::FrequencyRange* frequency_range_; + } frequency_measurement_; + union ReportUnion { + constexpr ReportUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::anduril::entitymanager::v1::LineOfBearing* line_of_bearing_; + ::anduril::entitymanager::v1::Fixed* fixed_; + } report_; + ::uint32_t _oneof_case_[2]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Signal + +// .anduril.entitymanager.v1.Frequency frequency_center = 1 [json_name = "frequencyCenter"]; +inline bool Signal::has_frequency_center() const { + return frequency_measurement_case() == kFrequencyCenter; +} +inline bool Signal::_internal_has_frequency_center() const { + return frequency_measurement_case() == kFrequencyCenter; +} +inline void Signal::set_has_frequency_center() { + _impl_._oneof_case_[0] = kFrequencyCenter; +} +inline void Signal::clear_frequency_center() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (frequency_measurement_case() == kFrequencyCenter) { + if (GetArena() == nullptr) { + delete _impl_.frequency_measurement_.frequency_center_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.frequency_measurement_.frequency_center_); + } + clear_has_frequency_measurement(); + } +} +inline ::anduril::entitymanager::v1::Frequency* Signal::release_frequency_center() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.frequency_center) + if (frequency_measurement_case() == kFrequencyCenter) { + clear_has_frequency_measurement(); + auto* temp = _impl_.frequency_measurement_.frequency_center_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.frequency_measurement_.frequency_center_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Frequency& Signal::_internal_frequency_center() const { + return frequency_measurement_case() == kFrequencyCenter ? *_impl_.frequency_measurement_.frequency_center_ : reinterpret_cast<::anduril::entitymanager::v1::Frequency&>(::anduril::entitymanager::v1::_Frequency_default_instance_); +} +inline const ::anduril::entitymanager::v1::Frequency& Signal::frequency_center() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.frequency_center) + return _internal_frequency_center(); +} +inline ::anduril::entitymanager::v1::Frequency* Signal::unsafe_arena_release_frequency_center() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Signal.frequency_center) + if (frequency_measurement_case() == kFrequencyCenter) { + clear_has_frequency_measurement(); + auto* temp = _impl_.frequency_measurement_.frequency_center_; + _impl_.frequency_measurement_.frequency_center_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Signal::unsafe_arena_set_allocated_frequency_center(::anduril::entitymanager::v1::Frequency* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_frequency_measurement(); + if (value) { + set_has_frequency_center(); + _impl_.frequency_measurement_.frequency_center_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.frequency_center) +} +inline ::anduril::entitymanager::v1::Frequency* Signal::_internal_mutable_frequency_center() { + if (frequency_measurement_case() != kFrequencyCenter) { + clear_frequency_measurement(); + set_has_frequency_center(); + _impl_.frequency_measurement_.frequency_center_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Frequency>(GetArena()); + } + return _impl_.frequency_measurement_.frequency_center_; +} +inline ::anduril::entitymanager::v1::Frequency* Signal::mutable_frequency_center() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Frequency* _msg = _internal_mutable_frequency_center(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.frequency_center) + return _msg; +} + +// .anduril.entitymanager.v1.FrequencyRange frequency_range = 2 [json_name = "frequencyRange"]; +inline bool Signal::has_frequency_range() const { + return frequency_measurement_case() == kFrequencyRange; +} +inline bool Signal::_internal_has_frequency_range() const { + return frequency_measurement_case() == kFrequencyRange; +} +inline void Signal::set_has_frequency_range() { + _impl_._oneof_case_[0] = kFrequencyRange; +} +inline void Signal::clear_frequency_range() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (frequency_measurement_case() == kFrequencyRange) { + if (GetArena() == nullptr) { + delete _impl_.frequency_measurement_.frequency_range_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.frequency_measurement_.frequency_range_); + } + clear_has_frequency_measurement(); + } +} +inline ::anduril::entitymanager::v1::FrequencyRange* Signal::release_frequency_range() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.frequency_range) + if (frequency_measurement_case() == kFrequencyRange) { + clear_has_frequency_measurement(); + auto* temp = _impl_.frequency_measurement_.frequency_range_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.frequency_measurement_.frequency_range_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::FrequencyRange& Signal::_internal_frequency_range() const { + return frequency_measurement_case() == kFrequencyRange ? *_impl_.frequency_measurement_.frequency_range_ : reinterpret_cast<::anduril::entitymanager::v1::FrequencyRange&>(::anduril::entitymanager::v1::_FrequencyRange_default_instance_); +} +inline const ::anduril::entitymanager::v1::FrequencyRange& Signal::frequency_range() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.frequency_range) + return _internal_frequency_range(); +} +inline ::anduril::entitymanager::v1::FrequencyRange* Signal::unsafe_arena_release_frequency_range() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Signal.frequency_range) + if (frequency_measurement_case() == kFrequencyRange) { + clear_has_frequency_measurement(); + auto* temp = _impl_.frequency_measurement_.frequency_range_; + _impl_.frequency_measurement_.frequency_range_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Signal::unsafe_arena_set_allocated_frequency_range(::anduril::entitymanager::v1::FrequencyRange* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_frequency_measurement(); + if (value) { + set_has_frequency_range(); + _impl_.frequency_measurement_.frequency_range_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.frequency_range) +} +inline ::anduril::entitymanager::v1::FrequencyRange* Signal::_internal_mutable_frequency_range() { + if (frequency_measurement_case() != kFrequencyRange) { + clear_frequency_measurement(); + set_has_frequency_range(); + _impl_.frequency_measurement_.frequency_range_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::FrequencyRange>(GetArena()); + } + return _impl_.frequency_measurement_.frequency_range_; +} +inline ::anduril::entitymanager::v1::FrequencyRange* Signal::mutable_frequency_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::FrequencyRange* _msg = _internal_mutable_frequency_range(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.frequency_range) + return _msg; +} + +// .google.protobuf.DoubleValue bandwidth_hz = 3 [json_name = "bandwidthHz"]; +inline bool Signal::has_bandwidth_hz() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bandwidth_hz_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Signal::_internal_bandwidth_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.bandwidth_hz_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Signal::bandwidth_hz() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.bandwidth_hz) + return _internal_bandwidth_hz(); +} +inline void Signal::unsafe_arena_set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_hz_); + } + _impl_.bandwidth_hz_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.bandwidth_hz) +} +inline ::google::protobuf::DoubleValue* Signal::release_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.bandwidth_hz_; + _impl_.bandwidth_hz_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Signal::unsafe_arena_release_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.bandwidth_hz) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.bandwidth_hz_; + _impl_.bandwidth_hz_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Signal::_internal_mutable_bandwidth_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bandwidth_hz_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.bandwidth_hz_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.bandwidth_hz_; +} +inline ::google::protobuf::DoubleValue* Signal::mutable_bandwidth_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_bandwidth_hz(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.bandwidth_hz) + return _msg; +} +inline void Signal::set_allocated_bandwidth_hz(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_hz_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.bandwidth_hz_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.bandwidth_hz) +} + +// .google.protobuf.DoubleValue signal_to_noise_ratio = 4 [json_name = "signalToNoiseRatio"]; +inline bool Signal::has_signal_to_noise_ratio() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.signal_to_noise_ratio_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Signal::_internal_signal_to_noise_ratio() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.signal_to_noise_ratio_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Signal::signal_to_noise_ratio() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.signal_to_noise_ratio) + return _internal_signal_to_noise_ratio(); +} +inline void Signal::unsafe_arena_set_allocated_signal_to_noise_ratio(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.signal_to_noise_ratio_); + } + _impl_.signal_to_noise_ratio_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.signal_to_noise_ratio) +} +inline ::google::protobuf::DoubleValue* Signal::release_signal_to_noise_ratio() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.signal_to_noise_ratio_; + _impl_.signal_to_noise_ratio_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Signal::unsafe_arena_release_signal_to_noise_ratio() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.signal_to_noise_ratio) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.signal_to_noise_ratio_; + _impl_.signal_to_noise_ratio_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Signal::_internal_mutable_signal_to_noise_ratio() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.signal_to_noise_ratio_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.signal_to_noise_ratio_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.signal_to_noise_ratio_; +} +inline ::google::protobuf::DoubleValue* Signal::mutable_signal_to_noise_ratio() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_signal_to_noise_ratio(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.signal_to_noise_ratio) + return _msg; +} +inline void Signal::set_allocated_signal_to_noise_ratio(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.signal_to_noise_ratio_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.signal_to_noise_ratio_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.signal_to_noise_ratio) +} + +// .anduril.entitymanager.v1.LineOfBearing line_of_bearing = 5 [json_name = "lineOfBearing"]; +inline bool Signal::has_line_of_bearing() const { + return report_case() == kLineOfBearing; +} +inline bool Signal::_internal_has_line_of_bearing() const { + return report_case() == kLineOfBearing; +} +inline void Signal::set_has_line_of_bearing() { + _impl_._oneof_case_[1] = kLineOfBearing; +} +inline void Signal::clear_line_of_bearing() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (report_case() == kLineOfBearing) { + if (GetArena() == nullptr) { + delete _impl_.report_.line_of_bearing_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.report_.line_of_bearing_); + } + clear_has_report(); + } +} +inline ::anduril::entitymanager::v1::LineOfBearing* Signal::release_line_of_bearing() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.line_of_bearing) + if (report_case() == kLineOfBearing) { + clear_has_report(); + auto* temp = _impl_.report_.line_of_bearing_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.report_.line_of_bearing_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::LineOfBearing& Signal::_internal_line_of_bearing() const { + return report_case() == kLineOfBearing ? *_impl_.report_.line_of_bearing_ : reinterpret_cast<::anduril::entitymanager::v1::LineOfBearing&>(::anduril::entitymanager::v1::_LineOfBearing_default_instance_); +} +inline const ::anduril::entitymanager::v1::LineOfBearing& Signal::line_of_bearing() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.line_of_bearing) + return _internal_line_of_bearing(); +} +inline ::anduril::entitymanager::v1::LineOfBearing* Signal::unsafe_arena_release_line_of_bearing() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Signal.line_of_bearing) + if (report_case() == kLineOfBearing) { + clear_has_report(); + auto* temp = _impl_.report_.line_of_bearing_; + _impl_.report_.line_of_bearing_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Signal::unsafe_arena_set_allocated_line_of_bearing(::anduril::entitymanager::v1::LineOfBearing* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_report(); + if (value) { + set_has_line_of_bearing(); + _impl_.report_.line_of_bearing_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.line_of_bearing) +} +inline ::anduril::entitymanager::v1::LineOfBearing* Signal::_internal_mutable_line_of_bearing() { + if (report_case() != kLineOfBearing) { + clear_report(); + set_has_line_of_bearing(); + _impl_.report_.line_of_bearing_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::LineOfBearing>(GetArena()); + } + return _impl_.report_.line_of_bearing_; +} +inline ::anduril::entitymanager::v1::LineOfBearing* Signal::mutable_line_of_bearing() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::LineOfBearing* _msg = _internal_mutable_line_of_bearing(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.line_of_bearing) + return _msg; +} + +// .anduril.entitymanager.v1.Fixed fixed = 6 [json_name = "fixed"]; +inline bool Signal::has_fixed() const { + return report_case() == kFixed; +} +inline bool Signal::_internal_has_fixed() const { + return report_case() == kFixed; +} +inline void Signal::set_has_fixed() { + _impl_._oneof_case_[1] = kFixed; +} +inline void Signal::clear_fixed() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (report_case() == kFixed) { + if (GetArena() == nullptr) { + delete _impl_.report_.fixed_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.report_.fixed_); + } + clear_has_report(); + } +} +inline ::anduril::entitymanager::v1::Fixed* Signal::release_fixed() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.fixed) + if (report_case() == kFixed) { + clear_has_report(); + auto* temp = _impl_.report_.fixed_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.report_.fixed_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Fixed& Signal::_internal_fixed() const { + return report_case() == kFixed ? *_impl_.report_.fixed_ : reinterpret_cast<::anduril::entitymanager::v1::Fixed&>(::anduril::entitymanager::v1::_Fixed_default_instance_); +} +inline const ::anduril::entitymanager::v1::Fixed& Signal::fixed() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.fixed) + return _internal_fixed(); +} +inline ::anduril::entitymanager::v1::Fixed* Signal::unsafe_arena_release_fixed() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.Signal.fixed) + if (report_case() == kFixed) { + clear_has_report(); + auto* temp = _impl_.report_.fixed_; + _impl_.report_.fixed_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Signal::unsafe_arena_set_allocated_fixed(::anduril::entitymanager::v1::Fixed* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_report(); + if (value) { + set_has_fixed(); + _impl_.report_.fixed_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.fixed) +} +inline ::anduril::entitymanager::v1::Fixed* Signal::_internal_mutable_fixed() { + if (report_case() != kFixed) { + clear_report(); + set_has_fixed(); + _impl_.report_.fixed_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Fixed>(GetArena()); + } + return _impl_.report_.fixed_; +} +inline ::anduril::entitymanager::v1::Fixed* Signal::mutable_fixed() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Fixed* _msg = _internal_mutable_fixed(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.fixed) + return _msg; +} + +// repeated .anduril.entitymanager.v1.EmitterNotation emitter_notations = 7 [json_name = "emitterNotations"]; +inline int Signal::_internal_emitter_notations_size() const { + return _internal_emitter_notations().size(); +} +inline int Signal::emitter_notations_size() const { + return _internal_emitter_notations_size(); +} +inline void Signal::clear_emitter_notations() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.emitter_notations_.Clear(); +} +inline ::anduril::entitymanager::v1::EmitterNotation* Signal::mutable_emitter_notations(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.emitter_notations) + return _internal_mutable_emitter_notations()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>* Signal::mutable_emitter_notations() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Signal.emitter_notations) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_emitter_notations(); +} +inline const ::anduril::entitymanager::v1::EmitterNotation& Signal::emitter_notations(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.emitter_notations) + return _internal_emitter_notations().Get(index); +} +inline ::anduril::entitymanager::v1::EmitterNotation* Signal::add_emitter_notations() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::EmitterNotation* _add = _internal_mutable_emitter_notations()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Signal.emitter_notations) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>& Signal::emitter_notations() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Signal.emitter_notations) + return _internal_emitter_notations(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>& +Signal::_internal_emitter_notations() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.emitter_notations_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::EmitterNotation>* +Signal::_internal_mutable_emitter_notations() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.emitter_notations_; +} + +// .google.protobuf.DoubleValue pulse_width_s = 8 [json_name = "pulseWidthS"]; +inline bool Signal::has_pulse_width_s() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pulse_width_s_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Signal::_internal_pulse_width_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.pulse_width_s_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Signal::pulse_width_s() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.pulse_width_s) + return _internal_pulse_width_s(); +} +inline void Signal::unsafe_arena_set_allocated_pulse_width_s(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pulse_width_s_); + } + _impl_.pulse_width_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.pulse_width_s) +} +inline ::google::protobuf::DoubleValue* Signal::release_pulse_width_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* released = _impl_.pulse_width_s_; + _impl_.pulse_width_s_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Signal::unsafe_arena_release_pulse_width_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.pulse_width_s) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::DoubleValue* temp = _impl_.pulse_width_s_; + _impl_.pulse_width_s_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Signal::_internal_mutable_pulse_width_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pulse_width_s_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.pulse_width_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.pulse_width_s_; +} +inline ::google::protobuf::DoubleValue* Signal::mutable_pulse_width_s() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_pulse_width_s(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.pulse_width_s) + return _msg; +} +inline void Signal::set_allocated_pulse_width_s(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pulse_width_s_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.pulse_width_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.pulse_width_s) +} + +// .anduril.entitymanager.v1.PulseRepetitionInterval pulse_repetition_interval = 9 [json_name = "pulseRepetitionInterval"]; +inline bool Signal::has_pulse_repetition_interval() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pulse_repetition_interval_ != nullptr); + return value; +} +inline void Signal::clear_pulse_repetition_interval() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pulse_repetition_interval_ != nullptr) _impl_.pulse_repetition_interval_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::anduril::entitymanager::v1::PulseRepetitionInterval& Signal::_internal_pulse_repetition_interval() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::PulseRepetitionInterval* p = _impl_.pulse_repetition_interval_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_PulseRepetitionInterval_default_instance_); +} +inline const ::anduril::entitymanager::v1::PulseRepetitionInterval& Signal::pulse_repetition_interval() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.pulse_repetition_interval) + return _internal_pulse_repetition_interval(); +} +inline void Signal::unsafe_arena_set_allocated_pulse_repetition_interval(::anduril::entitymanager::v1::PulseRepetitionInterval* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pulse_repetition_interval_); + } + _impl_.pulse_repetition_interval_ = reinterpret_cast<::anduril::entitymanager::v1::PulseRepetitionInterval*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.pulse_repetition_interval) +} +inline ::anduril::entitymanager::v1::PulseRepetitionInterval* Signal::release_pulse_repetition_interval() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::entitymanager::v1::PulseRepetitionInterval* released = _impl_.pulse_repetition_interval_; + _impl_.pulse_repetition_interval_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::PulseRepetitionInterval* Signal::unsafe_arena_release_pulse_repetition_interval() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.pulse_repetition_interval) + + _impl_._has_bits_[0] &= ~0x00000008u; + ::anduril::entitymanager::v1::PulseRepetitionInterval* temp = _impl_.pulse_repetition_interval_; + _impl_.pulse_repetition_interval_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::PulseRepetitionInterval* Signal::_internal_mutable_pulse_repetition_interval() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pulse_repetition_interval_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::PulseRepetitionInterval>(GetArena()); + _impl_.pulse_repetition_interval_ = reinterpret_cast<::anduril::entitymanager::v1::PulseRepetitionInterval*>(p); + } + return _impl_.pulse_repetition_interval_; +} +inline ::anduril::entitymanager::v1::PulseRepetitionInterval* Signal::mutable_pulse_repetition_interval() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::anduril::entitymanager::v1::PulseRepetitionInterval* _msg = _internal_mutable_pulse_repetition_interval(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.pulse_repetition_interval) + return _msg; +} +inline void Signal::set_allocated_pulse_repetition_interval(::anduril::entitymanager::v1::PulseRepetitionInterval* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.pulse_repetition_interval_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + + _impl_.pulse_repetition_interval_ = reinterpret_cast<::anduril::entitymanager::v1::PulseRepetitionInterval*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.pulse_repetition_interval) +} + +// .anduril.entitymanager.v1.ScanCharacteristics scan_characteristics = 11 [json_name = "scanCharacteristics"]; +inline bool Signal::has_scan_characteristics() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.scan_characteristics_ != nullptr); + return value; +} +inline void Signal::clear_scan_characteristics() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.scan_characteristics_ != nullptr) _impl_.scan_characteristics_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::anduril::entitymanager::v1::ScanCharacteristics& Signal::_internal_scan_characteristics() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::ScanCharacteristics* p = _impl_.scan_characteristics_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_ScanCharacteristics_default_instance_); +} +inline const ::anduril::entitymanager::v1::ScanCharacteristics& Signal::scan_characteristics() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Signal.scan_characteristics) + return _internal_scan_characteristics(); +} +inline void Signal::unsafe_arena_set_allocated_scan_characteristics(::anduril::entitymanager::v1::ScanCharacteristics* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_characteristics_); + } + _impl_.scan_characteristics_ = reinterpret_cast<::anduril::entitymanager::v1::ScanCharacteristics*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Signal.scan_characteristics) +} +inline ::anduril::entitymanager::v1::ScanCharacteristics* Signal::release_scan_characteristics() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000010u; + ::anduril::entitymanager::v1::ScanCharacteristics* released = _impl_.scan_characteristics_; + _impl_.scan_characteristics_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::ScanCharacteristics* Signal::unsafe_arena_release_scan_characteristics() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Signal.scan_characteristics) + + _impl_._has_bits_[0] &= ~0x00000010u; + ::anduril::entitymanager::v1::ScanCharacteristics* temp = _impl_.scan_characteristics_; + _impl_.scan_characteristics_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::ScanCharacteristics* Signal::_internal_mutable_scan_characteristics() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.scan_characteristics_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ScanCharacteristics>(GetArena()); + _impl_.scan_characteristics_ = reinterpret_cast<::anduril::entitymanager::v1::ScanCharacteristics*>(p); + } + return _impl_.scan_characteristics_; +} +inline ::anduril::entitymanager::v1::ScanCharacteristics* Signal::mutable_scan_characteristics() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; + ::anduril::entitymanager::v1::ScanCharacteristics* _msg = _internal_mutable_scan_characteristics(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Signal.scan_characteristics) + return _msg; +} +inline void Signal::set_allocated_scan_characteristics(::anduril::entitymanager::v1::ScanCharacteristics* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.scan_characteristics_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + + _impl_.scan_characteristics_ = reinterpret_cast<::anduril::entitymanager::v1::ScanCharacteristics*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Signal.scan_characteristics) +} + +inline bool Signal::has_frequency_measurement() const { + return frequency_measurement_case() != FREQUENCY_MEASUREMENT_NOT_SET; +} +inline void Signal::clear_has_frequency_measurement() { + _impl_._oneof_case_[0] = FREQUENCY_MEASUREMENT_NOT_SET; +} +inline bool Signal::has_report() const { + return report_case() != REPORT_NOT_SET; +} +inline void Signal::clear_has_report() { + _impl_._oneof_case_[1] = REPORT_NOT_SET; +} +inline Signal::FrequencyMeasurementCase Signal::frequency_measurement_case() const { + return Signal::FrequencyMeasurementCase(_impl_._oneof_case_[0]); +} +inline Signal::ReportCase Signal::report_case() const { + return Signal::ReportCase(_impl_._oneof_case_[1]); +} +// ------------------------------------------------------------------- + +// EmitterNotation + +// string emitter_notation = 1 [json_name = "emitterNotation"]; +inline void EmitterNotation::clear_emitter_notation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.emitter_notation_.ClearToEmpty(); +} +inline const std::string& EmitterNotation::emitter_notation() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.EmitterNotation.emitter_notation) + return _internal_emitter_notation(); +} +template +inline PROTOBUF_ALWAYS_INLINE void EmitterNotation::set_emitter_notation(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.emitter_notation_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.EmitterNotation.emitter_notation) +} +inline std::string* EmitterNotation::mutable_emitter_notation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_emitter_notation(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.EmitterNotation.emitter_notation) + return _s; +} +inline const std::string& EmitterNotation::_internal_emitter_notation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.emitter_notation_.Get(); +} +inline void EmitterNotation::_internal_set_emitter_notation(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.emitter_notation_.Set(value, GetArena()); +} +inline std::string* EmitterNotation::_internal_mutable_emitter_notation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.emitter_notation_.Mutable( GetArena()); +} +inline std::string* EmitterNotation::release_emitter_notation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.EmitterNotation.emitter_notation) + return _impl_.emitter_notation_.Release(); +} +inline void EmitterNotation::set_allocated_emitter_notation(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.emitter_notation_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.emitter_notation_.IsDefault()) { + _impl_.emitter_notation_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.EmitterNotation.emitter_notation) +} + +// .google.protobuf.DoubleValue confidence = 2 [json_name = "confidence"]; +inline bool EmitterNotation::has_confidence() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.confidence_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& EmitterNotation::_internal_confidence() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.confidence_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& EmitterNotation::confidence() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.EmitterNotation.confidence) + return _internal_confidence(); +} +inline void EmitterNotation::unsafe_arena_set_allocated_confidence(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.confidence_); + } + _impl_.confidence_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.EmitterNotation.confidence) +} +inline ::google::protobuf::DoubleValue* EmitterNotation::release_confidence() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.confidence_; + _impl_.confidence_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* EmitterNotation::unsafe_arena_release_confidence() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.EmitterNotation.confidence) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.confidence_; + _impl_.confidence_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* EmitterNotation::_internal_mutable_confidence() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.confidence_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.confidence_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.confidence_; +} +inline ::google::protobuf::DoubleValue* EmitterNotation::mutable_confidence() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_confidence(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.EmitterNotation.confidence) + return _msg; +} +inline void EmitterNotation::set_allocated_confidence(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.confidence_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.confidence_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.EmitterNotation.confidence) +} + +// ------------------------------------------------------------------- + +// Measurement + +// .google.protobuf.DoubleValue value = 1 [json_name = "value"]; +inline bool Measurement::has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Measurement::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.value_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Measurement::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Measurement.value) + return _internal_value(); +} +inline void Measurement::unsafe_arena_set_allocated_value(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + _impl_.value_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Measurement.value) +} +inline ::google::protobuf::DoubleValue* Measurement::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.value_; + _impl_.value_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Measurement::unsafe_arena_release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Measurement.value) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.value_; + _impl_.value_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Measurement::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.value_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.value_; +} +inline ::google::protobuf::DoubleValue* Measurement::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Measurement.value) + return _msg; +} +inline void Measurement::set_allocated_value(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.value_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Measurement.value) +} + +// .google.protobuf.DoubleValue sigma = 2 [json_name = "sigma"]; +inline bool Measurement::has_sigma() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.sigma_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& Measurement::_internal_sigma() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.sigma_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& Measurement::sigma() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Measurement.sigma) + return _internal_sigma(); +} +inline void Measurement::unsafe_arena_set_allocated_sigma(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sigma_); + } + _impl_.sigma_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Measurement.sigma) +} +inline ::google::protobuf::DoubleValue* Measurement::release_sigma() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* released = _impl_.sigma_; + _impl_.sigma_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* Measurement::unsafe_arena_release_sigma() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Measurement.sigma) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::DoubleValue* temp = _impl_.sigma_; + _impl_.sigma_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* Measurement::_internal_mutable_sigma() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sigma_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.sigma_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.sigma_; +} +inline ::google::protobuf::DoubleValue* Measurement::mutable_sigma() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_sigma(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Measurement.sigma) + return _msg; +} +inline void Measurement::set_allocated_sigma(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sigma_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.sigma_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Measurement.sigma) +} + +// ------------------------------------------------------------------- + +// Frequency + +// .anduril.entitymanager.v1.Measurement frequency_hz = 1 [json_name = "frequencyHz"]; +inline bool Frequency::has_frequency_hz() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.frequency_hz_ != nullptr); + return value; +} +inline void Frequency::clear_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.frequency_hz_ != nullptr) _impl_.frequency_hz_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Measurement& Frequency::_internal_frequency_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Measurement* p = _impl_.frequency_hz_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Measurement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Measurement& Frequency::frequency_hz() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Frequency.frequency_hz) + return _internal_frequency_hz(); +} +inline void Frequency::unsafe_arena_set_allocated_frequency_hz(::anduril::entitymanager::v1::Measurement* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.frequency_hz_); + } + _impl_.frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Measurement*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Frequency.frequency_hz) +} +inline ::anduril::entitymanager::v1::Measurement* Frequency::release_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Measurement* released = _impl_.frequency_hz_; + _impl_.frequency_hz_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Measurement* Frequency::unsafe_arena_release_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Frequency.frequency_hz) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Measurement* temp = _impl_.frequency_hz_; + _impl_.frequency_hz_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Measurement* Frequency::_internal_mutable_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.frequency_hz_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Measurement>(GetArena()); + _impl_.frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Measurement*>(p); + } + return _impl_.frequency_hz_; +} +inline ::anduril::entitymanager::v1::Measurement* Frequency::mutable_frequency_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Measurement* _msg = _internal_mutable_frequency_hz(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Frequency.frequency_hz) + return _msg; +} +inline void Frequency::set_allocated_frequency_hz(::anduril::entitymanager::v1::Measurement* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.frequency_hz_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Measurement*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Frequency.frequency_hz) +} + +// ------------------------------------------------------------------- + +// FrequencyRange + +// .anduril.entitymanager.v1.Frequency minimum_frequency_hz = 1 [json_name = "minimumFrequencyHz"]; +inline bool FrequencyRange::has_minimum_frequency_hz() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.minimum_frequency_hz_ != nullptr); + return value; +} +inline void FrequencyRange::clear_minimum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.minimum_frequency_hz_ != nullptr) _impl_.minimum_frequency_hz_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Frequency& FrequencyRange::_internal_minimum_frequency_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Frequency* p = _impl_.minimum_frequency_hz_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Frequency_default_instance_); +} +inline const ::anduril::entitymanager::v1::Frequency& FrequencyRange::minimum_frequency_hz() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FrequencyRange.minimum_frequency_hz) + return _internal_minimum_frequency_hz(); +} +inline void FrequencyRange::unsafe_arena_set_allocated_minimum_frequency_hz(::anduril::entitymanager::v1::Frequency* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.minimum_frequency_hz_); + } + _impl_.minimum_frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Frequency*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FrequencyRange.minimum_frequency_hz) +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::release_minimum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Frequency* released = _impl_.minimum_frequency_hz_; + _impl_.minimum_frequency_hz_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::unsafe_arena_release_minimum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FrequencyRange.minimum_frequency_hz) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Frequency* temp = _impl_.minimum_frequency_hz_; + _impl_.minimum_frequency_hz_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::_internal_mutable_minimum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.minimum_frequency_hz_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Frequency>(GetArena()); + _impl_.minimum_frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Frequency*>(p); + } + return _impl_.minimum_frequency_hz_; +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::mutable_minimum_frequency_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Frequency* _msg = _internal_mutable_minimum_frequency_hz(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FrequencyRange.minimum_frequency_hz) + return _msg; +} +inline void FrequencyRange::set_allocated_minimum_frequency_hz(::anduril::entitymanager::v1::Frequency* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.minimum_frequency_hz_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.minimum_frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Frequency*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FrequencyRange.minimum_frequency_hz) +} + +// .anduril.entitymanager.v1.Frequency maximum_frequency_hz = 2 [json_name = "maximumFrequencyHz"]; +inline bool FrequencyRange::has_maximum_frequency_hz() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.maximum_frequency_hz_ != nullptr); + return value; +} +inline void FrequencyRange::clear_maximum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maximum_frequency_hz_ != nullptr) _impl_.maximum_frequency_hz_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::Frequency& FrequencyRange::_internal_maximum_frequency_hz() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Frequency* p = _impl_.maximum_frequency_hz_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Frequency_default_instance_); +} +inline const ::anduril::entitymanager::v1::Frequency& FrequencyRange::maximum_frequency_hz() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.FrequencyRange.maximum_frequency_hz) + return _internal_maximum_frequency_hz(); +} +inline void FrequencyRange::unsafe_arena_set_allocated_maximum_frequency_hz(::anduril::entitymanager::v1::Frequency* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.maximum_frequency_hz_); + } + _impl_.maximum_frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Frequency*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.FrequencyRange.maximum_frequency_hz) +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::release_maximum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Frequency* released = _impl_.maximum_frequency_hz_; + _impl_.maximum_frequency_hz_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::unsafe_arena_release_maximum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.FrequencyRange.maximum_frequency_hz) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Frequency* temp = _impl_.maximum_frequency_hz_; + _impl_.maximum_frequency_hz_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::_internal_mutable_maximum_frequency_hz() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maximum_frequency_hz_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Frequency>(GetArena()); + _impl_.maximum_frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Frequency*>(p); + } + return _impl_.maximum_frequency_hz_; +} +inline ::anduril::entitymanager::v1::Frequency* FrequencyRange::mutable_maximum_frequency_hz() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Frequency* _msg = _internal_mutable_maximum_frequency_hz(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.FrequencyRange.maximum_frequency_hz) + return _msg; +} +inline void FrequencyRange::set_allocated_maximum_frequency_hz(::anduril::entitymanager::v1::Frequency* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.maximum_frequency_hz_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.maximum_frequency_hz_ = reinterpret_cast<::anduril::entitymanager::v1::Frequency*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.FrequencyRange.maximum_frequency_hz) +} + +// ------------------------------------------------------------------- + +// LineOfBearing + +// .anduril.entitymanager.v1.AngleOfArrival angle_of_arrival = 3 [json_name = "angleOfArrival"]; +inline bool LineOfBearing::has_angle_of_arrival() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angle_of_arrival_ != nullptr); + return value; +} +inline void LineOfBearing::clear_angle_of_arrival() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.angle_of_arrival_ != nullptr) _impl_.angle_of_arrival_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::AngleOfArrival& LineOfBearing::_internal_angle_of_arrival() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::AngleOfArrival* p = _impl_.angle_of_arrival_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_AngleOfArrival_default_instance_); +} +inline const ::anduril::entitymanager::v1::AngleOfArrival& LineOfBearing::angle_of_arrival() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LineOfBearing.angle_of_arrival) + return _internal_angle_of_arrival(); +} +inline void LineOfBearing::unsafe_arena_set_allocated_angle_of_arrival(::anduril::entitymanager::v1::AngleOfArrival* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.angle_of_arrival_); + } + _impl_.angle_of_arrival_ = reinterpret_cast<::anduril::entitymanager::v1::AngleOfArrival*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.LineOfBearing.angle_of_arrival) +} +inline ::anduril::entitymanager::v1::AngleOfArrival* LineOfBearing::release_angle_of_arrival() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::AngleOfArrival* released = _impl_.angle_of_arrival_; + _impl_.angle_of_arrival_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::AngleOfArrival* LineOfBearing::unsafe_arena_release_angle_of_arrival() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.LineOfBearing.angle_of_arrival) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::AngleOfArrival* temp = _impl_.angle_of_arrival_; + _impl_.angle_of_arrival_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::AngleOfArrival* LineOfBearing::_internal_mutable_angle_of_arrival() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.angle_of_arrival_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::AngleOfArrival>(GetArena()); + _impl_.angle_of_arrival_ = reinterpret_cast<::anduril::entitymanager::v1::AngleOfArrival*>(p); + } + return _impl_.angle_of_arrival_; +} +inline ::anduril::entitymanager::v1::AngleOfArrival* LineOfBearing::mutable_angle_of_arrival() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::AngleOfArrival* _msg = _internal_mutable_angle_of_arrival(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LineOfBearing.angle_of_arrival) + return _msg; +} +inline void LineOfBearing::set_allocated_angle_of_arrival(::anduril::entitymanager::v1::AngleOfArrival* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.angle_of_arrival_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.angle_of_arrival_ = reinterpret_cast<::anduril::entitymanager::v1::AngleOfArrival*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.LineOfBearing.angle_of_arrival) +} + +// .anduril.entitymanager.v1.Measurement range_estimate_m = 4 [json_name = "rangeEstimateM"]; +inline bool LineOfBearing::has_range_estimate_m() const { + return detection_range_case() == kRangeEstimateM; +} +inline bool LineOfBearing::_internal_has_range_estimate_m() const { + return detection_range_case() == kRangeEstimateM; +} +inline void LineOfBearing::set_has_range_estimate_m() { + _impl_._oneof_case_[0] = kRangeEstimateM; +} +inline void LineOfBearing::clear_range_estimate_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (detection_range_case() == kRangeEstimateM) { + if (GetArena() == nullptr) { + delete _impl_.detection_range_.range_estimate_m_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.detection_range_.range_estimate_m_); + } + clear_has_detection_range(); + } +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::release_range_estimate_m() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.LineOfBearing.range_estimate_m) + if (detection_range_case() == kRangeEstimateM) { + clear_has_detection_range(); + auto* temp = _impl_.detection_range_.range_estimate_m_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.detection_range_.range_estimate_m_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Measurement& LineOfBearing::_internal_range_estimate_m() const { + return detection_range_case() == kRangeEstimateM ? *_impl_.detection_range_.range_estimate_m_ : reinterpret_cast<::anduril::entitymanager::v1::Measurement&>(::anduril::entitymanager::v1::_Measurement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Measurement& LineOfBearing::range_estimate_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LineOfBearing.range_estimate_m) + return _internal_range_estimate_m(); +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::unsafe_arena_release_range_estimate_m() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.LineOfBearing.range_estimate_m) + if (detection_range_case() == kRangeEstimateM) { + clear_has_detection_range(); + auto* temp = _impl_.detection_range_.range_estimate_m_; + _impl_.detection_range_.range_estimate_m_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void LineOfBearing::unsafe_arena_set_allocated_range_estimate_m(::anduril::entitymanager::v1::Measurement* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_detection_range(); + if (value) { + set_has_range_estimate_m(); + _impl_.detection_range_.range_estimate_m_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.LineOfBearing.range_estimate_m) +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::_internal_mutable_range_estimate_m() { + if (detection_range_case() != kRangeEstimateM) { + clear_detection_range(); + set_has_range_estimate_m(); + _impl_.detection_range_.range_estimate_m_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Measurement>(GetArena()); + } + return _impl_.detection_range_.range_estimate_m_; +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::mutable_range_estimate_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Measurement* _msg = _internal_mutable_range_estimate_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LineOfBearing.range_estimate_m) + return _msg; +} + +// .anduril.entitymanager.v1.Measurement max_range_m = 5 [json_name = "maxRangeM"]; +inline bool LineOfBearing::has_max_range_m() const { + return detection_range_case() == kMaxRangeM; +} +inline bool LineOfBearing::_internal_has_max_range_m() const { + return detection_range_case() == kMaxRangeM; +} +inline void LineOfBearing::set_has_max_range_m() { + _impl_._oneof_case_[0] = kMaxRangeM; +} +inline void LineOfBearing::clear_max_range_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (detection_range_case() == kMaxRangeM) { + if (GetArena() == nullptr) { + delete _impl_.detection_range_.max_range_m_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.detection_range_.max_range_m_); + } + clear_has_detection_range(); + } +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::release_max_range_m() { + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.LineOfBearing.max_range_m) + if (detection_range_case() == kMaxRangeM) { + clear_has_detection_range(); + auto* temp = _impl_.detection_range_.max_range_m_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.detection_range_.max_range_m_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::anduril::entitymanager::v1::Measurement& LineOfBearing::_internal_max_range_m() const { + return detection_range_case() == kMaxRangeM ? *_impl_.detection_range_.max_range_m_ : reinterpret_cast<::anduril::entitymanager::v1::Measurement&>(::anduril::entitymanager::v1::_Measurement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Measurement& LineOfBearing::max_range_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.LineOfBearing.max_range_m) + return _internal_max_range_m(); +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::unsafe_arena_release_max_range_m() { + // @@protoc_insertion_point(field_unsafe_arena_release:anduril.entitymanager.v1.LineOfBearing.max_range_m) + if (detection_range_case() == kMaxRangeM) { + clear_has_detection_range(); + auto* temp = _impl_.detection_range_.max_range_m_; + _impl_.detection_range_.max_range_m_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void LineOfBearing::unsafe_arena_set_allocated_max_range_m(::anduril::entitymanager::v1::Measurement* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_detection_range(); + if (value) { + set_has_max_range_m(); + _impl_.detection_range_.max_range_m_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.LineOfBearing.max_range_m) +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::_internal_mutable_max_range_m() { + if (detection_range_case() != kMaxRangeM) { + clear_detection_range(); + set_has_max_range_m(); + _impl_.detection_range_.max_range_m_ = + ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Measurement>(GetArena()); + } + return _impl_.detection_range_.max_range_m_; +} +inline ::anduril::entitymanager::v1::Measurement* LineOfBearing::mutable_max_range_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::anduril::entitymanager::v1::Measurement* _msg = _internal_mutable_max_range_m(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.LineOfBearing.max_range_m) + return _msg; +} + +inline bool LineOfBearing::has_detection_range() const { + return detection_range_case() != DETECTION_RANGE_NOT_SET; +} +inline void LineOfBearing::clear_has_detection_range() { + _impl_._oneof_case_[0] = DETECTION_RANGE_NOT_SET; +} +inline LineOfBearing::DetectionRangeCase LineOfBearing::detection_range_case() const { + return LineOfBearing::DetectionRangeCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// AngleOfArrival + +// .anduril.type.Pose relative_pose = 1 [json_name = "relativePose"]; +inline bool AngleOfArrival::has_relative_pose() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.relative_pose_ != nullptr); + return value; +} +inline const ::anduril::type::Pose& AngleOfArrival::_internal_relative_pose() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::Pose* p = _impl_.relative_pose_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_Pose_default_instance_); +} +inline const ::anduril::type::Pose& AngleOfArrival::relative_pose() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AngleOfArrival.relative_pose) + return _internal_relative_pose(); +} +inline void AngleOfArrival::unsafe_arena_set_allocated_relative_pose(::anduril::type::Pose* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.relative_pose_); + } + _impl_.relative_pose_ = reinterpret_cast<::anduril::type::Pose*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.AngleOfArrival.relative_pose) +} +inline ::anduril::type::Pose* AngleOfArrival::release_relative_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::type::Pose* released = _impl_.relative_pose_; + _impl_.relative_pose_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::Pose* AngleOfArrival::unsafe_arena_release_relative_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AngleOfArrival.relative_pose) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::type::Pose* temp = _impl_.relative_pose_; + _impl_.relative_pose_ = nullptr; + return temp; +} +inline ::anduril::type::Pose* AngleOfArrival::_internal_mutable_relative_pose() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.relative_pose_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::Pose>(GetArena()); + _impl_.relative_pose_ = reinterpret_cast<::anduril::type::Pose*>(p); + } + return _impl_.relative_pose_; +} +inline ::anduril::type::Pose* AngleOfArrival::mutable_relative_pose() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::type::Pose* _msg = _internal_mutable_relative_pose(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AngleOfArrival.relative_pose) + return _msg; +} +inline void AngleOfArrival::set_allocated_relative_pose(::anduril::type::Pose* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.relative_pose_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.relative_pose_ = reinterpret_cast<::anduril::type::Pose*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AngleOfArrival.relative_pose) +} + +// .anduril.type.TMat2 bearing_elevation_covariance_rad2 = 2 [json_name = "bearingElevationCovarianceRad2"]; +inline bool AngleOfArrival::has_bearing_elevation_covariance_rad2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bearing_elevation_covariance_rad2_ != nullptr); + return value; +} +inline const ::anduril::type::TMat2& AngleOfArrival::_internal_bearing_elevation_covariance_rad2() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::type::TMat2* p = _impl_.bearing_elevation_covariance_rad2_; + return p != nullptr ? *p : reinterpret_cast(::anduril::type::_TMat2_default_instance_); +} +inline const ::anduril::type::TMat2& AngleOfArrival::bearing_elevation_covariance_rad2() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.AngleOfArrival.bearing_elevation_covariance_rad2) + return _internal_bearing_elevation_covariance_rad2(); +} +inline void AngleOfArrival::unsafe_arena_set_allocated_bearing_elevation_covariance_rad2(::anduril::type::TMat2* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bearing_elevation_covariance_rad2_); + } + _impl_.bearing_elevation_covariance_rad2_ = reinterpret_cast<::anduril::type::TMat2*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.AngleOfArrival.bearing_elevation_covariance_rad2) +} +inline ::anduril::type::TMat2* AngleOfArrival::release_bearing_elevation_covariance_rad2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::type::TMat2* released = _impl_.bearing_elevation_covariance_rad2_; + _impl_.bearing_elevation_covariance_rad2_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::type::TMat2* AngleOfArrival::unsafe_arena_release_bearing_elevation_covariance_rad2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.AngleOfArrival.bearing_elevation_covariance_rad2) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::type::TMat2* temp = _impl_.bearing_elevation_covariance_rad2_; + _impl_.bearing_elevation_covariance_rad2_ = nullptr; + return temp; +} +inline ::anduril::type::TMat2* AngleOfArrival::_internal_mutable_bearing_elevation_covariance_rad2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bearing_elevation_covariance_rad2_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::type::TMat2>(GetArena()); + _impl_.bearing_elevation_covariance_rad2_ = reinterpret_cast<::anduril::type::TMat2*>(p); + } + return _impl_.bearing_elevation_covariance_rad2_; +} +inline ::anduril::type::TMat2* AngleOfArrival::mutable_bearing_elevation_covariance_rad2() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::type::TMat2* _msg = _internal_mutable_bearing_elevation_covariance_rad2(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.AngleOfArrival.bearing_elevation_covariance_rad2) + return _msg; +} +inline void AngleOfArrival::set_allocated_bearing_elevation_covariance_rad2(::anduril::type::TMat2* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bearing_elevation_covariance_rad2_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.bearing_elevation_covariance_rad2_ = reinterpret_cast<::anduril::type::TMat2*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.AngleOfArrival.bearing_elevation_covariance_rad2) +} + +// ------------------------------------------------------------------- + +// Fixed + +// ------------------------------------------------------------------- + +// PulseRepetitionInterval + +// .anduril.entitymanager.v1.Measurement pulse_repetition_interval_s = 1 [json_name = "pulseRepetitionIntervalS"]; +inline bool PulseRepetitionInterval::has_pulse_repetition_interval_s() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pulse_repetition_interval_s_ != nullptr); + return value; +} +inline void PulseRepetitionInterval::clear_pulse_repetition_interval_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pulse_repetition_interval_s_ != nullptr) _impl_.pulse_repetition_interval_s_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Measurement& PulseRepetitionInterval::_internal_pulse_repetition_interval_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Measurement* p = _impl_.pulse_repetition_interval_s_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Measurement_default_instance_); +} +inline const ::anduril::entitymanager::v1::Measurement& PulseRepetitionInterval::pulse_repetition_interval_s() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.PulseRepetitionInterval.pulse_repetition_interval_s) + return _internal_pulse_repetition_interval_s(); +} +inline void PulseRepetitionInterval::unsafe_arena_set_allocated_pulse_repetition_interval_s(::anduril::entitymanager::v1::Measurement* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pulse_repetition_interval_s_); + } + _impl_.pulse_repetition_interval_s_ = reinterpret_cast<::anduril::entitymanager::v1::Measurement*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.PulseRepetitionInterval.pulse_repetition_interval_s) +} +inline ::anduril::entitymanager::v1::Measurement* PulseRepetitionInterval::release_pulse_repetition_interval_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Measurement* released = _impl_.pulse_repetition_interval_s_; + _impl_.pulse_repetition_interval_s_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Measurement* PulseRepetitionInterval::unsafe_arena_release_pulse_repetition_interval_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.PulseRepetitionInterval.pulse_repetition_interval_s) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Measurement* temp = _impl_.pulse_repetition_interval_s_; + _impl_.pulse_repetition_interval_s_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Measurement* PulseRepetitionInterval::_internal_mutable_pulse_repetition_interval_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.pulse_repetition_interval_s_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Measurement>(GetArena()); + _impl_.pulse_repetition_interval_s_ = reinterpret_cast<::anduril::entitymanager::v1::Measurement*>(p); + } + return _impl_.pulse_repetition_interval_s_; +} +inline ::anduril::entitymanager::v1::Measurement* PulseRepetitionInterval::mutable_pulse_repetition_interval_s() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Measurement* _msg = _internal_mutable_pulse_repetition_interval_s(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.PulseRepetitionInterval.pulse_repetition_interval_s) + return _msg; +} +inline void PulseRepetitionInterval::set_allocated_pulse_repetition_interval_s(::anduril::entitymanager::v1::Measurement* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.pulse_repetition_interval_s_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.pulse_repetition_interval_s_ = reinterpret_cast<::anduril::entitymanager::v1::Measurement*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.PulseRepetitionInterval.pulse_repetition_interval_s) +} + +// ------------------------------------------------------------------- + +// ScanCharacteristics + +// .anduril.entitymanager.v1.ScanType scan_type = 1 [json_name = "scanType"]; +inline void ScanCharacteristics::clear_scan_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.scan_type_ = 0; +} +inline ::anduril::entitymanager::v1::ScanType ScanCharacteristics::scan_type() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ScanCharacteristics.scan_type) + return _internal_scan_type(); +} +inline void ScanCharacteristics::set_scan_type(::anduril::entitymanager::v1::ScanType value) { + _internal_set_scan_type(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ScanCharacteristics.scan_type) +} +inline ::anduril::entitymanager::v1::ScanType ScanCharacteristics::_internal_scan_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::ScanType>(_impl_.scan_type_); +} +inline void ScanCharacteristics::_internal_set_scan_type(::anduril::entitymanager::v1::ScanType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.scan_type_ = value; +} + +// .google.protobuf.DoubleValue scan_period_s = 2 [json_name = "scanPeriodS"]; +inline bool ScanCharacteristics::has_scan_period_s() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.scan_period_s_ != nullptr); + return value; +} +inline const ::google::protobuf::DoubleValue& ScanCharacteristics::_internal_scan_period_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::DoubleValue* p = _impl_.scan_period_s_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_DoubleValue_default_instance_); +} +inline const ::google::protobuf::DoubleValue& ScanCharacteristics::scan_period_s() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ScanCharacteristics.scan_period_s) + return _internal_scan_period_s(); +} +inline void ScanCharacteristics::unsafe_arena_set_allocated_scan_period_s(::google::protobuf::DoubleValue* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_period_s_); + } + _impl_.scan_period_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.ScanCharacteristics.scan_period_s) +} +inline ::google::protobuf::DoubleValue* ScanCharacteristics::release_scan_period_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* released = _impl_.scan_period_s_; + _impl_.scan_period_s_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::DoubleValue* ScanCharacteristics::unsafe_arena_release_scan_period_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ScanCharacteristics.scan_period_s) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::DoubleValue* temp = _impl_.scan_period_s_; + _impl_.scan_period_s_ = nullptr; + return temp; +} +inline ::google::protobuf::DoubleValue* ScanCharacteristics::_internal_mutable_scan_period_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.scan_period_s_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena()); + _impl_.scan_period_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p); + } + return _impl_.scan_period_s_; +} +inline ::google::protobuf::DoubleValue* ScanCharacteristics::mutable_scan_period_s() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::DoubleValue* _msg = _internal_mutable_scan_period_s(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ScanCharacteristics.scan_period_s) + return _msg; +} +inline void ScanCharacteristics::set_allocated_scan_period_s(::google::protobuf::DoubleValue* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_period_s_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.scan_period_s_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ScanCharacteristics.scan_period_s) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::ScanType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::ScanType>() { + return ::anduril::entitymanager::v1::ScanType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fsignal_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/supplies.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/supplies.pub.grpc.pb.cc new file mode 100644 index 0000000..9a7968b --- /dev/null +++ b/src/anduril/entitymanager/v1/supplies.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/supplies.pub.proto + +#include "anduril/entitymanager/v1/supplies.pub.pb.h" +#include "anduril/entitymanager/v1/supplies.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/supplies.pub.grpc.pb.h b/src/anduril/entitymanager/v1/supplies.pub.grpc.pb.h new file mode 100644 index 0000000..ff626bc --- /dev/null +++ b/src/anduril/entitymanager/v1/supplies.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/supplies.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/supplies.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/supplies.pub.pb.cc b/src/anduril/entitymanager/v1/supplies.pub.pb.cc new file mode 100644 index 0000000..7914948 --- /dev/null +++ b/src/anduril/entitymanager/v1/supplies.pub.pb.cc @@ -0,0 +1,932 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/supplies.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/supplies.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Fuel::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + fuel_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + data_source_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + reported_date_{nullptr}, + data_classification_{nullptr}, + amount_gallons_{0u}, + max_authorized_capacity_gallons_{0u}, + operational_requirement_gallons_{0u} {} + +template +PROTOBUF_CONSTEXPR Fuel::Fuel(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FuelDefaultTypeInternal { + PROTOBUF_CONSTEXPR FuelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FuelDefaultTypeInternal() {} + union { + Fuel _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FuelDefaultTypeInternal _Fuel_default_instance_; + +inline constexpr Supplies::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : fuel_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Supplies::Supplies(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SuppliesDefaultTypeInternal { + PROTOBUF_CONSTEXPR SuppliesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SuppliesDefaultTypeInternal() {} + union { + Supplies _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SuppliesDefaultTypeInternal _Supplies_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Supplies, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Supplies, _impl_.fuel_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.fuel_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.reported_date_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.amount_gallons_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.max_authorized_capacity_gallons_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.operational_requirement_gallons_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.data_classification_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Fuel, _impl_.data_source_), + ~0u, + ~0u, + 0, + ~0u, + ~0u, + ~0u, + 1, + ~0u, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::Supplies)}, + {9, 25, -1, sizeof(::anduril::entitymanager::v1::Fuel)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_Supplies_default_instance_._instance, + &::anduril::entitymanager::v1::_Fuel_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n+anduril/entitymanager/v1/supplies.pub." + "proto\022\030anduril.entitymanager.v1\0321anduril" + "/entitymanager/v1/classification.pub.pro" + "to\032*anduril/entitymanager/v1/options.pub" + ".proto\032\037google/protobuf/timestamp.proto\"" + "C\n\010Supplies\0227\n\004fuel\030\002 \003(\0132\036.anduril.enti" + "tymanager.v1.FuelB\003\310>\001R\004fuel\"\246\003\n\004Fuel\022\027\n" + "\007fuel_id\030\001 \001(\tR\006fuelId\022\022\n\004name\030\002 \001(\tR\004na" + "me\022\?\n\rreported_date\030\003 \001(\0132\032.google.proto" + "buf.TimestampR\014reportedDate\022%\n\016amount_ga" + "llons\030\004 \001(\rR\ramountGallons\022E\n\037max_author" + "ized_capacity_gallons\030\005 \001(\rR\034maxAuthoriz" + "edCapacityGallons\022F\n\037operational_require" + "ment_gallons\030\006 \001(\rR\035operationalRequireme" + "ntGallons\022Y\n\023data_classification\030\007 \001(\0132(" + ".anduril.entitymanager.v1.Classification" + "R\022dataClassification\022\037\n\013data_source\030\010 \001(" + "\tR\ndataSourceB\201\002\n\034com.anduril.entitymana" + "ger.v1B\020SuppliesPubProtoP\001ZMghe.anduril." + "dev/anduril/andurilapis-go/anduril/entit" + "ymanager/v1;entitymanager\242\002\003AEX\252\002\030Anduri" + "l.Entitymanager.V1\312\002\030Anduril\\Entitymanag" + "er\\V1\342\002$Anduril\\Entitymanager\\V1\\GPBMeta" + "data\352\002\032Anduril::Entitymanager::V1b\006proto" + "3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_deps[3] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2fclassification_2epub_2eproto, + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto = { + false, + false, + 961, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto, + "anduril/entitymanager/v1/supplies.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_deps, + 3, + 2, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class Supplies::_Internal { + public: +}; + +Supplies::Supplies(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Supplies) +} +inline PROTOBUF_NDEBUG_INLINE Supplies::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Supplies& from_msg) + : fuel_{visibility, arena, from.fuel_}, + _cached_size_{0} {} + +Supplies::Supplies( + ::google::protobuf::Arena* arena, + const Supplies& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Supplies* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Supplies) +} +inline PROTOBUF_NDEBUG_INLINE Supplies::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : fuel_{visibility, arena}, + _cached_size_{0} {} + +inline void Supplies::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Supplies::~Supplies() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Supplies) + SharedDtor(*this); +} +inline void Supplies::SharedDtor(MessageLite& self) { + Supplies& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Supplies::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Supplies(arena); +} +constexpr auto Supplies::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Supplies, _impl_.fuel_) + + decltype(Supplies::_impl_.fuel_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Supplies), alignof(Supplies), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Supplies::PlacementNew_, + sizeof(Supplies), + alignof(Supplies)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Supplies::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Supplies_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Supplies::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Supplies::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Supplies::ByteSizeLong, + &Supplies::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Supplies, _impl_._cached_size_), + false, + }, + &Supplies::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Supplies::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Supplies::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967293, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Supplies>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .anduril.entitymanager.v1.Fuel fuel = 2 [json_name = "fuel", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Supplies, _impl_.fuel_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .anduril.entitymanager.v1.Fuel fuel = 2 [json_name = "fuel", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(Supplies, _impl_.fuel_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Fuel>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Supplies::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Supplies) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fuel_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Supplies::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Supplies& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Supplies::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Supplies& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Supplies) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .anduril.entitymanager.v1.Fuel fuel = 2 [json_name = "fuel", (.anduril.entitymanager.v1.overridable) = true]; + for (unsigned i = 0, n = static_cast( + this_._internal_fuel_size()); + i < n; i++) { + const auto& repfield = this_._internal_fuel().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Supplies) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Supplies::ByteSizeLong(const MessageLite& base) { + const Supplies& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Supplies::ByteSizeLong() const { + const Supplies& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Supplies) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.Fuel fuel = 2 [json_name = "fuel", (.anduril.entitymanager.v1.overridable) = true]; + { + total_size += 1UL * this_._internal_fuel_size(); + for (const auto& msg : this_._internal_fuel()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Supplies::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Supplies) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_fuel()->MergeFrom( + from._internal_fuel()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Supplies::CopyFrom(const Supplies& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Supplies) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Supplies::InternalSwap(Supplies* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.fuel_.InternalSwap(&other->_impl_.fuel_); +} + +::google::protobuf::Metadata Supplies::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Fuel::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Fuel, _impl_._has_bits_); +}; + +void Fuel::clear_reported_date() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.reported_date_ != nullptr) _impl_.reported_date_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void Fuel::clear_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_classification_ != nullptr) _impl_.data_classification_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +Fuel::Fuel(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Fuel) +} +inline PROTOBUF_NDEBUG_INLINE Fuel::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::Fuel& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + fuel_id_(arena, from.fuel_id_), + name_(arena, from.name_), + data_source_(arena, from.data_source_) {} + +Fuel::Fuel( + ::google::protobuf::Arena* arena, + const Fuel& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Fuel* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.reported_date_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.reported_date_) + : nullptr; + _impl_.data_classification_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Classification>( + arena, *from._impl_.data_classification_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, amount_gallons_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, amount_gallons_), + offsetof(Impl_, operational_requirement_gallons_) - + offsetof(Impl_, amount_gallons_) + + sizeof(Impl_::operational_requirement_gallons_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.Fuel) +} +inline PROTOBUF_NDEBUG_INLINE Fuel::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + fuel_id_(arena), + name_(arena), + data_source_(arena) {} + +inline void Fuel::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, reported_date_), + 0, + offsetof(Impl_, operational_requirement_gallons_) - + offsetof(Impl_, reported_date_) + + sizeof(Impl_::operational_requirement_gallons_)); +} +Fuel::~Fuel() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Fuel) + SharedDtor(*this); +} +inline void Fuel::SharedDtor(MessageLite& self) { + Fuel& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.fuel_id_.Destroy(); + this_._impl_.name_.Destroy(); + this_._impl_.data_source_.Destroy(); + delete this_._impl_.reported_date_; + delete this_._impl_.data_classification_; + this_._impl_.~Impl_(); +} + +inline void* Fuel::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Fuel(arena); +} +constexpr auto Fuel::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Fuel), + alignof(Fuel)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Fuel::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Fuel_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Fuel::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Fuel::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Fuel::ByteSizeLong, + &Fuel::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Fuel, _impl_._cached_size_), + false, + }, + &Fuel::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Fuel::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 8, 2, 68, 2> Fuel::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Fuel, _impl_._has_bits_), + 0, // no _extensions_ + 8, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967040, // skipmap + offsetof(decltype(_table_), field_entries), + 8, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Fuel>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string data_source = 8 [json_name = "dataSource"]; + {::_pbi::TcParser::FastUS1, + {66, 63, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.data_source_)}}, + // string fuel_id = 1 [json_name = "fuelId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.fuel_id_)}}, + // string name = 2 [json_name = "name"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.name_)}}, + // .google.protobuf.Timestamp reported_date = 3 [json_name = "reportedDate"]; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.reported_date_)}}, + // uint32 amount_gallons = 4 [json_name = "amountGallons"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Fuel, _impl_.amount_gallons_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.amount_gallons_)}}, + // uint32 max_authorized_capacity_gallons = 5 [json_name = "maxAuthorizedCapacityGallons"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Fuel, _impl_.max_authorized_capacity_gallons_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.max_authorized_capacity_gallons_)}}, + // uint32 operational_requirement_gallons = 6 [json_name = "operationalRequirementGallons"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Fuel, _impl_.operational_requirement_gallons_), 63>(), + {48, 63, 0, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.operational_requirement_gallons_)}}, + // .anduril.entitymanager.v1.Classification data_classification = 7 [json_name = "dataClassification"]; + {::_pbi::TcParser::FastMtS1, + {58, 1, 1, PROTOBUF_FIELD_OFFSET(Fuel, _impl_.data_classification_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string fuel_id = 1 [json_name = "fuelId"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.fuel_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string name = 2 [json_name = "name"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.name_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .google.protobuf.Timestamp reported_date = 3 [json_name = "reportedDate"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.reported_date_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 amount_gallons = 4 [json_name = "amountGallons"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.amount_gallons_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 max_authorized_capacity_gallons = 5 [json_name = "maxAuthorizedCapacityGallons"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.max_authorized_capacity_gallons_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 operational_requirement_gallons = 6 [json_name = "operationalRequirementGallons"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.operational_requirement_gallons_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .anduril.entitymanager.v1.Classification data_classification = 7 [json_name = "dataClassification"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.data_classification_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // string data_source = 8 [json_name = "dataSource"]; + {PROTOBUF_FIELD_OFFSET(Fuel, _impl_.data_source_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Classification>()}, + }}, {{ + "\35\7\4\0\0\0\0\0\13\0\0\0\0\0\0\0" + "anduril.entitymanager.v1.Fuel" + "fuel_id" + "name" + "data_source" + }}, +}; + +PROTOBUF_NOINLINE void Fuel::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Fuel) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fuel_id_.ClearToEmpty(); + _impl_.name_.ClearToEmpty(); + _impl_.data_source_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.reported_date_ != nullptr); + _impl_.reported_date_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.data_classification_ != nullptr); + _impl_.data_classification_->Clear(); + } + } + ::memset(&_impl_.amount_gallons_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.operational_requirement_gallons_) - + reinterpret_cast(&_impl_.amount_gallons_)) + sizeof(_impl_.operational_requirement_gallons_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Fuel::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Fuel& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Fuel::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Fuel& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Fuel) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string fuel_id = 1 [json_name = "fuelId"]; + if (!this_._internal_fuel_id().empty()) { + const std::string& _s = this_._internal_fuel_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Fuel.fuel_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string name = 2 [json_name = "name"]; + if (!this_._internal_name().empty()) { + const std::string& _s = this_._internal_name(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Fuel.name"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp reported_date = 3 [json_name = "reportedDate"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.reported_date_, this_._impl_.reported_date_->GetCachedSize(), target, + stream); + } + + // uint32 amount_gallons = 4 [json_name = "amountGallons"]; + if (this_._internal_amount_gallons() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_amount_gallons(), target); + } + + // uint32 max_authorized_capacity_gallons = 5 [json_name = "maxAuthorizedCapacityGallons"]; + if (this_._internal_max_authorized_capacity_gallons() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_max_authorized_capacity_gallons(), target); + } + + // uint32 operational_requirement_gallons = 6 [json_name = "operationalRequirementGallons"]; + if (this_._internal_operational_requirement_gallons() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this_._internal_operational_requirement_gallons(), target); + } + + // .anduril.entitymanager.v1.Classification data_classification = 7 [json_name = "dataClassification"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.data_classification_, this_._impl_.data_classification_->GetCachedSize(), target, + stream); + } + + // string data_source = 8 [json_name = "dataSource"]; + if (!this_._internal_data_source().empty()) { + const std::string& _s = this_._internal_data_source(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.Fuel.data_source"); + target = stream->WriteStringMaybeAliased(8, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Fuel) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Fuel::ByteSizeLong(const MessageLite& base) { + const Fuel& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Fuel::ByteSizeLong() const { + const Fuel& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Fuel) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string fuel_id = 1 [json_name = "fuelId"]; + if (!this_._internal_fuel_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_fuel_id()); + } + // string name = 2 [json_name = "name"]; + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + // string data_source = 8 [json_name = "dataSource"]; + if (!this_._internal_data_source().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_data_source()); + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .google.protobuf.Timestamp reported_date = 3 [json_name = "reportedDate"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.reported_date_); + } + // .anduril.entitymanager.v1.Classification data_classification = 7 [json_name = "dataClassification"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_classification_); + } + } + { + // uint32 amount_gallons = 4 [json_name = "amountGallons"]; + if (this_._internal_amount_gallons() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_amount_gallons()); + } + // uint32 max_authorized_capacity_gallons = 5 [json_name = "maxAuthorizedCapacityGallons"]; + if (this_._internal_max_authorized_capacity_gallons() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_max_authorized_capacity_gallons()); + } + // uint32 operational_requirement_gallons = 6 [json_name = "operationalRequirementGallons"]; + if (this_._internal_operational_requirement_gallons() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_operational_requirement_gallons()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Fuel::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Fuel) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_fuel_id().empty()) { + _this->_internal_set_fuel_id(from._internal_fuel_id()); + } + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + if (!from._internal_data_source().empty()) { + _this->_internal_set_data_source(from._internal_data_source()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.reported_date_ != nullptr); + if (_this->_impl_.reported_date_ == nullptr) { + _this->_impl_.reported_date_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.reported_date_); + } else { + _this->_impl_.reported_date_->MergeFrom(*from._impl_.reported_date_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.data_classification_ != nullptr); + if (_this->_impl_.data_classification_ == nullptr) { + _this->_impl_.data_classification_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Classification>(arena, *from._impl_.data_classification_); + } else { + _this->_impl_.data_classification_->MergeFrom(*from._impl_.data_classification_); + } + } + } + if (from._internal_amount_gallons() != 0) { + _this->_impl_.amount_gallons_ = from._impl_.amount_gallons_; + } + if (from._internal_max_authorized_capacity_gallons() != 0) { + _this->_impl_.max_authorized_capacity_gallons_ = from._impl_.max_authorized_capacity_gallons_; + } + if (from._internal_operational_requirement_gallons() != 0) { + _this->_impl_.operational_requirement_gallons_ = from._impl_.operational_requirement_gallons_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Fuel::CopyFrom(const Fuel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Fuel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Fuel::InternalSwap(Fuel* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fuel_id_, &other->_impl_.fuel_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_source_, &other->_impl_.data_source_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Fuel, _impl_.operational_requirement_gallons_) + + sizeof(Fuel::_impl_.operational_requirement_gallons_) + - PROTOBUF_FIELD_OFFSET(Fuel, _impl_.reported_date_)>( + reinterpret_cast(&_impl_.reported_date_), + reinterpret_cast(&other->_impl_.reported_date_)); +} + +::google::protobuf::Metadata Fuel::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/supplies.pub.pb.h b/src/anduril/entitymanager/v1/supplies.pub.pb.h new file mode 100644 index 0000000..50e2a49 --- /dev/null +++ b/src/anduril/entitymanager/v1/supplies.pub.pb.h @@ -0,0 +1,1059 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/supplies.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/classification.pub.pb.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Fuel; +struct FuelDefaultTypeInternal; +extern FuelDefaultTypeInternal _Fuel_default_instance_; +class Supplies; +struct SuppliesDefaultTypeInternal; +extern SuppliesDefaultTypeInternal _Supplies_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Fuel final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Fuel) */ { + public: + inline Fuel() : Fuel(nullptr) {} + ~Fuel() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Fuel* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Fuel)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Fuel( + ::google::protobuf::internal::ConstantInitialized); + + inline Fuel(const Fuel& from) : Fuel(nullptr, from) {} + inline Fuel(Fuel&& from) noexcept + : Fuel(nullptr, std::move(from)) {} + inline Fuel& operator=(const Fuel& from) { + CopyFrom(from); + return *this; + } + inline Fuel& operator=(Fuel&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Fuel& default_instance() { + return *internal_default_instance(); + } + static inline const Fuel* internal_default_instance() { + return reinterpret_cast( + &_Fuel_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Fuel& a, Fuel& b) { a.Swap(&b); } + inline void Swap(Fuel* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Fuel* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Fuel* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Fuel& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Fuel& from) { Fuel::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Fuel* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Fuel"; } + + protected: + explicit Fuel(::google::protobuf::Arena* arena); + Fuel(::google::protobuf::Arena* arena, const Fuel& from); + Fuel(::google::protobuf::Arena* arena, Fuel&& from) noexcept + : Fuel(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFuelIdFieldNumber = 1, + kNameFieldNumber = 2, + kDataSourceFieldNumber = 8, + kReportedDateFieldNumber = 3, + kDataClassificationFieldNumber = 7, + kAmountGallonsFieldNumber = 4, + kMaxAuthorizedCapacityGallonsFieldNumber = 5, + kOperationalRequirementGallonsFieldNumber = 6, + }; + // string fuel_id = 1 [json_name = "fuelId"]; + void clear_fuel_id() ; + const std::string& fuel_id() const; + template + void set_fuel_id(Arg_&& arg, Args_... args); + std::string* mutable_fuel_id(); + PROTOBUF_NODISCARD std::string* release_fuel_id(); + void set_allocated_fuel_id(std::string* value); + + private: + const std::string& _internal_fuel_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuel_id( + const std::string& value); + std::string* _internal_mutable_fuel_id(); + + public: + // string name = 2 [json_name = "name"]; + void clear_name() ; + const std::string& name() const; + template + void set_name(Arg_&& arg, Args_... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* value); + + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( + const std::string& value); + std::string* _internal_mutable_name(); + + public: + // string data_source = 8 [json_name = "dataSource"]; + void clear_data_source() ; + const std::string& data_source() const; + template + void set_data_source(Arg_&& arg, Args_... args); + std::string* mutable_data_source(); + PROTOBUF_NODISCARD std::string* release_data_source(); + void set_allocated_data_source(std::string* value); + + private: + const std::string& _internal_data_source() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data_source( + const std::string& value); + std::string* _internal_mutable_data_source(); + + public: + // .google.protobuf.Timestamp reported_date = 3 [json_name = "reportedDate"]; + bool has_reported_date() const; + void clear_reported_date() ; + const ::google::protobuf::Timestamp& reported_date() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_reported_date(); + ::google::protobuf::Timestamp* mutable_reported_date(); + void set_allocated_reported_date(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_reported_date(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_reported_date(); + + private: + const ::google::protobuf::Timestamp& _internal_reported_date() const; + ::google::protobuf::Timestamp* _internal_mutable_reported_date(); + + public: + // .anduril.entitymanager.v1.Classification data_classification = 7 [json_name = "dataClassification"]; + bool has_data_classification() const; + void clear_data_classification() ; + const ::anduril::entitymanager::v1::Classification& data_classification() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Classification* release_data_classification(); + ::anduril::entitymanager::v1::Classification* mutable_data_classification(); + void set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value); + void unsafe_arena_set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value); + ::anduril::entitymanager::v1::Classification* unsafe_arena_release_data_classification(); + + private: + const ::anduril::entitymanager::v1::Classification& _internal_data_classification() const; + ::anduril::entitymanager::v1::Classification* _internal_mutable_data_classification(); + + public: + // uint32 amount_gallons = 4 [json_name = "amountGallons"]; + void clear_amount_gallons() ; + ::uint32_t amount_gallons() const; + void set_amount_gallons(::uint32_t value); + + private: + ::uint32_t _internal_amount_gallons() const; + void _internal_set_amount_gallons(::uint32_t value); + + public: + // uint32 max_authorized_capacity_gallons = 5 [json_name = "maxAuthorizedCapacityGallons"]; + void clear_max_authorized_capacity_gallons() ; + ::uint32_t max_authorized_capacity_gallons() const; + void set_max_authorized_capacity_gallons(::uint32_t value); + + private: + ::uint32_t _internal_max_authorized_capacity_gallons() const; + void _internal_set_max_authorized_capacity_gallons(::uint32_t value); + + public: + // uint32 operational_requirement_gallons = 6 [json_name = "operationalRequirementGallons"]; + void clear_operational_requirement_gallons() ; + ::uint32_t operational_requirement_gallons() const; + void set_operational_requirement_gallons(::uint32_t value); + + private: + ::uint32_t _internal_operational_requirement_gallons() const; + void _internal_set_operational_requirement_gallons(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Fuel) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 8, 2, + 68, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Fuel& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr fuel_id_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::ArenaStringPtr data_source_; + ::google::protobuf::Timestamp* reported_date_; + ::anduril::entitymanager::v1::Classification* data_classification_; + ::uint32_t amount_gallons_; + ::uint32_t max_authorized_capacity_gallons_; + ::uint32_t operational_requirement_gallons_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Supplies final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Supplies) */ { + public: + inline Supplies() : Supplies(nullptr) {} + ~Supplies() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Supplies* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Supplies)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Supplies( + ::google::protobuf::internal::ConstantInitialized); + + inline Supplies(const Supplies& from) : Supplies(nullptr, from) {} + inline Supplies(Supplies&& from) noexcept + : Supplies(nullptr, std::move(from)) {} + inline Supplies& operator=(const Supplies& from) { + CopyFrom(from); + return *this; + } + inline Supplies& operator=(Supplies&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Supplies& default_instance() { + return *internal_default_instance(); + } + static inline const Supplies* internal_default_instance() { + return reinterpret_cast( + &_Supplies_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Supplies& a, Supplies& b) { a.Swap(&b); } + inline void Swap(Supplies* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Supplies* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Supplies* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Supplies& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Supplies& from) { Supplies::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Supplies* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Supplies"; } + + protected: + explicit Supplies(::google::protobuf::Arena* arena); + Supplies(::google::protobuf::Arena* arena, const Supplies& from); + Supplies(::google::protobuf::Arena* arena, Supplies&& from) noexcept + : Supplies(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFuelFieldNumber = 2, + }; + // repeated .anduril.entitymanager.v1.Fuel fuel = 2 [json_name = "fuel", (.anduril.entitymanager.v1.overridable) = true]; + int fuel_size() const; + private: + int _internal_fuel_size() const; + + public: + void clear_fuel() ; + ::anduril::entitymanager::v1::Fuel* mutable_fuel(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>* mutable_fuel(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>& _internal_fuel() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>* _internal_mutable_fuel(); + public: + const ::anduril::entitymanager::v1::Fuel& fuel(int index) const; + ::anduril::entitymanager::v1::Fuel* add_fuel(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>& fuel() const; + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Supplies) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Supplies& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::Fuel > fuel_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Supplies + +// repeated .anduril.entitymanager.v1.Fuel fuel = 2 [json_name = "fuel", (.anduril.entitymanager.v1.overridable) = true]; +inline int Supplies::_internal_fuel_size() const { + return _internal_fuel().size(); +} +inline int Supplies::fuel_size() const { + return _internal_fuel_size(); +} +inline void Supplies::clear_fuel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fuel_.Clear(); +} +inline ::anduril::entitymanager::v1::Fuel* Supplies::mutable_fuel(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Supplies.fuel) + return _internal_mutable_fuel()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>* Supplies::mutable_fuel() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.Supplies.fuel) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_fuel(); +} +inline const ::anduril::entitymanager::v1::Fuel& Supplies::fuel(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Supplies.fuel) + return _internal_fuel().Get(index); +} +inline ::anduril::entitymanager::v1::Fuel* Supplies::add_fuel() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::Fuel* _add = _internal_mutable_fuel()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.Supplies.fuel) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>& Supplies::fuel() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.Supplies.fuel) + return _internal_fuel(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>& +Supplies::_internal_fuel() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.fuel_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::Fuel>* +Supplies::_internal_mutable_fuel() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.fuel_; +} + +// ------------------------------------------------------------------- + +// Fuel + +// string fuel_id = 1 [json_name = "fuelId"]; +inline void Fuel::clear_fuel_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fuel_id_.ClearToEmpty(); +} +inline const std::string& Fuel::fuel_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.fuel_id) + return _internal_fuel_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Fuel::set_fuel_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fuel_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Fuel.fuel_id) +} +inline std::string* Fuel::mutable_fuel_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_fuel_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Fuel.fuel_id) + return _s; +} +inline const std::string& Fuel::_internal_fuel_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.fuel_id_.Get(); +} +inline void Fuel::_internal_set_fuel_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fuel_id_.Set(value, GetArena()); +} +inline std::string* Fuel::_internal_mutable_fuel_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.fuel_id_.Mutable( GetArena()); +} +inline std::string* Fuel::release_fuel_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Fuel.fuel_id) + return _impl_.fuel_id_.Release(); +} +inline void Fuel::set_allocated_fuel_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.fuel_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.fuel_id_.IsDefault()) { + _impl_.fuel_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Fuel.fuel_id) +} + +// string name = 2 [json_name = "name"]; +inline void Fuel::clear_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Fuel::name() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Fuel::set_name(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Fuel.name) +} +inline std::string* Fuel::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Fuel.name) + return _s; +} +inline const std::string& Fuel::_internal_name() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.name_.Get(); +} +inline void Fuel::_internal_set_name(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(value, GetArena()); +} +inline std::string* Fuel::_internal_mutable_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.name_.Mutable( GetArena()); +} +inline std::string* Fuel::release_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Fuel.name) + return _impl_.name_.Release(); +} +inline void Fuel::set_allocated_name(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Fuel.name) +} + +// .google.protobuf.Timestamp reported_date = 3 [json_name = "reportedDate"]; +inline bool Fuel::has_reported_date() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.reported_date_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Fuel::_internal_reported_date() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.reported_date_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Fuel::reported_date() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.reported_date) + return _internal_reported_date(); +} +inline void Fuel::unsafe_arena_set_allocated_reported_date(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.reported_date_); + } + _impl_.reported_date_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Fuel.reported_date) +} +inline ::google::protobuf::Timestamp* Fuel::release_reported_date() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.reported_date_; + _impl_.reported_date_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Fuel::unsafe_arena_release_reported_date() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Fuel.reported_date) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.reported_date_; + _impl_.reported_date_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Fuel::_internal_mutable_reported_date() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.reported_date_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.reported_date_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.reported_date_; +} +inline ::google::protobuf::Timestamp* Fuel::mutable_reported_date() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_reported_date(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Fuel.reported_date) + return _msg; +} +inline void Fuel::set_allocated_reported_date(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.reported_date_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.reported_date_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Fuel.reported_date) +} + +// uint32 amount_gallons = 4 [json_name = "amountGallons"]; +inline void Fuel::clear_amount_gallons() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.amount_gallons_ = 0u; +} +inline ::uint32_t Fuel::amount_gallons() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.amount_gallons) + return _internal_amount_gallons(); +} +inline void Fuel::set_amount_gallons(::uint32_t value) { + _internal_set_amount_gallons(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Fuel.amount_gallons) +} +inline ::uint32_t Fuel::_internal_amount_gallons() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.amount_gallons_; +} +inline void Fuel::_internal_set_amount_gallons(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.amount_gallons_ = value; +} + +// uint32 max_authorized_capacity_gallons = 5 [json_name = "maxAuthorizedCapacityGallons"]; +inline void Fuel::clear_max_authorized_capacity_gallons() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.max_authorized_capacity_gallons_ = 0u; +} +inline ::uint32_t Fuel::max_authorized_capacity_gallons() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.max_authorized_capacity_gallons) + return _internal_max_authorized_capacity_gallons(); +} +inline void Fuel::set_max_authorized_capacity_gallons(::uint32_t value) { + _internal_set_max_authorized_capacity_gallons(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Fuel.max_authorized_capacity_gallons) +} +inline ::uint32_t Fuel::_internal_max_authorized_capacity_gallons() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.max_authorized_capacity_gallons_; +} +inline void Fuel::_internal_set_max_authorized_capacity_gallons(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.max_authorized_capacity_gallons_ = value; +} + +// uint32 operational_requirement_gallons = 6 [json_name = "operationalRequirementGallons"]; +inline void Fuel::clear_operational_requirement_gallons() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operational_requirement_gallons_ = 0u; +} +inline ::uint32_t Fuel::operational_requirement_gallons() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.operational_requirement_gallons) + return _internal_operational_requirement_gallons(); +} +inline void Fuel::set_operational_requirement_gallons(::uint32_t value) { + _internal_set_operational_requirement_gallons(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Fuel.operational_requirement_gallons) +} +inline ::uint32_t Fuel::_internal_operational_requirement_gallons() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.operational_requirement_gallons_; +} +inline void Fuel::_internal_set_operational_requirement_gallons(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operational_requirement_gallons_ = value; +} + +// .anduril.entitymanager.v1.Classification data_classification = 7 [json_name = "dataClassification"]; +inline bool Fuel::has_data_classification() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_classification_ != nullptr); + return value; +} +inline const ::anduril::entitymanager::v1::Classification& Fuel::_internal_data_classification() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Classification* p = _impl_.data_classification_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Classification_default_instance_); +} +inline const ::anduril::entitymanager::v1::Classification& Fuel::data_classification() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.data_classification) + return _internal_data_classification(); +} +inline void Fuel::unsafe_arena_set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_classification_); + } + _impl_.data_classification_ = reinterpret_cast<::anduril::entitymanager::v1::Classification*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.Fuel.data_classification) +} +inline ::anduril::entitymanager::v1::Classification* Fuel::release_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Classification* released = _impl_.data_classification_; + _impl_.data_classification_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Classification* Fuel::unsafe_arena_release_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Fuel.data_classification) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Classification* temp = _impl_.data_classification_; + _impl_.data_classification_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Classification* Fuel::_internal_mutable_data_classification() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_classification_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Classification>(GetArena()); + _impl_.data_classification_ = reinterpret_cast<::anduril::entitymanager::v1::Classification*>(p); + } + return _impl_.data_classification_; +} +inline ::anduril::entitymanager::v1::Classification* Fuel::mutable_data_classification() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Classification* _msg = _internal_mutable_data_classification(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Fuel.data_classification) + return _msg; +} +inline void Fuel::set_allocated_data_classification(::anduril::entitymanager::v1::Classification* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_classification_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.data_classification_ = reinterpret_cast<::anduril::entitymanager::v1::Classification*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Fuel.data_classification) +} + +// string data_source = 8 [json_name = "dataSource"]; +inline void Fuel::clear_data_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_source_.ClearToEmpty(); +} +inline const std::string& Fuel::data_source() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Fuel.data_source) + return _internal_data_source(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Fuel::set_data_source(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_source_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Fuel.data_source) +} +inline std::string* Fuel::mutable_data_source() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_data_source(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.Fuel.data_source) + return _s; +} +inline const std::string& Fuel::_internal_data_source() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_source_.Get(); +} +inline void Fuel::_internal_set_data_source(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_source_.Set(value, GetArena()); +} +inline std::string* Fuel::_internal_mutable_data_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_source_.Mutable( GetArena()); +} +inline std::string* Fuel::release_data_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.Fuel.data_source) + return _impl_.data_source_.Release(); +} +inline void Fuel::set_allocated_data_source(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_source_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_source_.IsDefault()) { + _impl_.data_source_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.Fuel.data_source) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2fsupplies_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.cc new file mode 100644 index 0000000..e506d6d --- /dev/null +++ b/src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/target_priority.pub.proto + +#include "anduril/entitymanager/v1/target_priority.pub.pb.h" +#include "anduril/entitymanager/v1/target_priority.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.h b/src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.h new file mode 100644 index 0000000..6c0a7dc --- /dev/null +++ b/src/anduril/entitymanager/v1/target_priority.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/target_priority.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/target_priority.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/target_priority.pub.pb.cc b/src/anduril/entitymanager/v1/target_priority.pub.pb.cc new file mode 100644 index 0000000..563520f --- /dev/null +++ b/src/anduril/entitymanager/v1/target_priority.pub.pb.cc @@ -0,0 +1,1367 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/target_priority.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/target_priority.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr Threat::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : is_threat_{false}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Threat::Threat(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ThreatDefaultTypeInternal { + PROTOBUF_CONSTEXPR ThreatDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ThreatDefaultTypeInternal() {} + union { + Threat _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ThreatDefaultTypeInternal _Threat_default_instance_; + +inline constexpr HighValueTargetMatch::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : high_value_target_list_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + high_value_target_description_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR HighValueTargetMatch::HighValueTargetMatch(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct HighValueTargetMatchDefaultTypeInternal { + PROTOBUF_CONSTEXPR HighValueTargetMatchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HighValueTargetMatchDefaultTypeInternal() {} + union { + HighValueTargetMatch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighValueTargetMatchDefaultTypeInternal _HighValueTargetMatch_default_instance_; + +inline constexpr HighValueTarget::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : target_matches_{}, + target_priority_{0u}, + is_high_value_target_{false}, + is_high_payoff_target_{false}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR HighValueTarget::HighValueTarget(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct HighValueTargetDefaultTypeInternal { + PROTOBUF_CONSTEXPR HighValueTargetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HighValueTargetDefaultTypeInternal() {} + union { + HighValueTarget _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighValueTargetDefaultTypeInternal _HighValueTarget_default_instance_; + +inline constexpr TargetPriority::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + high_value_target_{nullptr}, + threat_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TargetPriority::TargetPriority(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TargetPriorityDefaultTypeInternal { + PROTOBUF_CONSTEXPR TargetPriorityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TargetPriorityDefaultTypeInternal() {} + union { + TargetPriority _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TargetPriorityDefaultTypeInternal _TargetPriority_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TargetPriority, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TargetPriority, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TargetPriority, _impl_.high_value_target_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TargetPriority, _impl_.threat_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTarget, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTarget, _impl_.is_high_value_target_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTarget, _impl_.target_priority_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTarget, _impl_.target_matches_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTarget, _impl_.is_high_payoff_target_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTargetMatch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTargetMatch, _impl_.high_value_target_list_id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::HighValueTargetMatch, _impl_.high_value_target_description_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Threat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Threat, _impl_.is_threat_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 10, -1, sizeof(::anduril::entitymanager::v1::TargetPriority)}, + {12, -1, -1, sizeof(::anduril::entitymanager::v1::HighValueTarget)}, + {24, -1, -1, sizeof(::anduril::entitymanager::v1::HighValueTargetMatch)}, + {34, -1, -1, sizeof(::anduril::entitymanager::v1::Threat)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_TargetPriority_default_instance_._instance, + &::anduril::entitymanager::v1::_HighValueTarget_default_instance_._instance, + &::anduril::entitymanager::v1::_HighValueTargetMatch_default_instance_._instance, + &::anduril::entitymanager::v1::_Threat_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n2anduril/entitymanager/v1/target_priori" + "ty.pub.proto\022\030anduril.entitymanager.v1\032*" + "anduril/entitymanager/v1/options.pub.pro" + "to\"\246\001\n\016TargetPriority\022Z\n\021high_value_targ" + "et\030\001 \001(\0132).anduril.entitymanager.v1.High" + "ValueTargetB\003\310>\001R\017highValueTarget\0228\n\006thr" + "eat\030\002 \001(\0132 .anduril.entitymanager.v1.Thr" + "eatR\006threat\"\365\001\n\017HighValueTarget\022/\n\024is_hi" + "gh_value_target\030\001 \001(\010R\021isHighValueTarget" + "\022\'\n\017target_priority\030\002 \001(\rR\016targetPriorit" + "y\022U\n\016target_matches\030\003 \003(\0132..anduril.enti" + "tymanager.v1.HighValueTargetMatchR\rtarge" + "tMatches\0221\n\025is_high_payoff_target\030\004 \001(\010R" + "\022isHighPayoffTarget\"\230\001\n\024HighValueTargetM" + "atch\0228\n\031high_value_target_list_id\030\001 \001(\tR" + "\025highValueTargetListId\022F\n high_value_tar" + "get_description_id\030\002 \001(\tR\034highValueTarge" + "tDescriptionId\"%\n\006Threat\022\033\n\tis_threat\030\001 " + "\001(\010R\010isThreatB\207\002\n\034com.anduril.entitymana" + "ger.v1B\026TargetPriorityPubProtoP\001ZMghe.an" + "duril.dev/anduril/andurilapis-go/anduril" + "/entitymanager/v1;entitymanager\242\002\003AEX\252\002\030" + "Anduril.Entitymanager.V1\312\002\030Anduril\\Entit" + "ymanager\\V1\342\002$Anduril\\Entitymanager\\V1\\G" + "PBMetadata\352\002\032Anduril::Entitymanager::V1b" + "\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_deps[1] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto = { + false, + false, + 1007, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + "anduril/entitymanager/v1/target_priority.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_deps, + 1, + 4, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +// =================================================================== + +class TargetPriority::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_._has_bits_); +}; + +TargetPriority::TargetPriority(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.TargetPriority) +} +inline PROTOBUF_NDEBUG_INLINE TargetPriority::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::TargetPriority& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TargetPriority::TargetPriority( + ::google::protobuf::Arena* arena, + const TargetPriority& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TargetPriority* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.high_value_target_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::HighValueTarget>( + arena, *from._impl_.high_value_target_) + : nullptr; + _impl_.threat_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Threat>( + arena, *from._impl_.threat_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.TargetPriority) +} +inline PROTOBUF_NDEBUG_INLINE TargetPriority::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TargetPriority::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, high_value_target_), + 0, + offsetof(Impl_, threat_) - + offsetof(Impl_, high_value_target_) + + sizeof(Impl_::threat_)); +} +TargetPriority::~TargetPriority() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.TargetPriority) + SharedDtor(*this); +} +inline void TargetPriority::SharedDtor(MessageLite& self) { + TargetPriority& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.high_value_target_; + delete this_._impl_.threat_; + this_._impl_.~Impl_(); +} + +inline void* TargetPriority::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TargetPriority(arena); +} +constexpr auto TargetPriority::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TargetPriority), + alignof(TargetPriority)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull TargetPriority::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_TargetPriority_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TargetPriority::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TargetPriority::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &TargetPriority::ByteSizeLong, + &TargetPriority::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_._cached_size_), + false, + }, + &TargetPriority::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TargetPriority::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> TargetPriority::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TargetPriority>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .anduril.entitymanager.v1.Threat threat = 2 [json_name = "threat"]; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_.threat_)}}, + // .anduril.entitymanager.v1.HighValueTarget high_value_target = 1 [json_name = "highValueTarget", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_.high_value_target_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.HighValueTarget high_value_target = 1 [json_name = "highValueTarget", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_.high_value_target_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.Threat threat = 2 [json_name = "threat"]; + {PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_.threat_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::HighValueTarget>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Threat>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TargetPriority::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.TargetPriority) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.high_value_target_ != nullptr); + _impl_.high_value_target_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.threat_ != nullptr); + _impl_.threat_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TargetPriority::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TargetPriority& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TargetPriority::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TargetPriority& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.TargetPriority) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.HighValueTarget high_value_target = 1 [json_name = "highValueTarget", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.high_value_target_, this_._impl_.high_value_target_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.Threat threat = 2 [json_name = "threat"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.threat_, this_._impl_.threat_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.TargetPriority) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t TargetPriority::ByteSizeLong(const MessageLite& base) { + const TargetPriority& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TargetPriority::ByteSizeLong() const { + const TargetPriority& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.TargetPriority) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.HighValueTarget high_value_target = 1 [json_name = "highValueTarget", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.high_value_target_); + } + // .anduril.entitymanager.v1.Threat threat = 2 [json_name = "threat"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.threat_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void TargetPriority::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.TargetPriority) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.high_value_target_ != nullptr); + if (_this->_impl_.high_value_target_ == nullptr) { + _this->_impl_.high_value_target_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::HighValueTarget>(arena, *from._impl_.high_value_target_); + } else { + _this->_impl_.high_value_target_->MergeFrom(*from._impl_.high_value_target_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.threat_ != nullptr); + if (_this->_impl_.threat_ == nullptr) { + _this->_impl_.threat_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Threat>(arena, *from._impl_.threat_); + } else { + _this->_impl_.threat_->MergeFrom(*from._impl_.threat_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TargetPriority::CopyFrom(const TargetPriority& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.TargetPriority) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TargetPriority::InternalSwap(TargetPriority* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_.threat_) + + sizeof(TargetPriority::_impl_.threat_) + - PROTOBUF_FIELD_OFFSET(TargetPriority, _impl_.high_value_target_)>( + reinterpret_cast(&_impl_.high_value_target_), + reinterpret_cast(&other->_impl_.high_value_target_)); +} + +::google::protobuf::Metadata TargetPriority::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class HighValueTarget::_Internal { + public: +}; + +HighValueTarget::HighValueTarget(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.HighValueTarget) +} +inline PROTOBUF_NDEBUG_INLINE HighValueTarget::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::HighValueTarget& from_msg) + : target_matches_{visibility, arena, from.target_matches_}, + _cached_size_{0} {} + +HighValueTarget::HighValueTarget( + ::google::protobuf::Arena* arena, + const HighValueTarget& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + HighValueTarget* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, target_priority_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, target_priority_), + offsetof(Impl_, is_high_payoff_target_) - + offsetof(Impl_, target_priority_) + + sizeof(Impl_::is_high_payoff_target_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.HighValueTarget) +} +inline PROTOBUF_NDEBUG_INLINE HighValueTarget::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : target_matches_{visibility, arena}, + _cached_size_{0} {} + +inline void HighValueTarget::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, target_priority_), + 0, + offsetof(Impl_, is_high_payoff_target_) - + offsetof(Impl_, target_priority_) + + sizeof(Impl_::is_high_payoff_target_)); +} +HighValueTarget::~HighValueTarget() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.HighValueTarget) + SharedDtor(*this); +} +inline void HighValueTarget::SharedDtor(MessageLite& self) { + HighValueTarget& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* HighValueTarget::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) HighValueTarget(arena); +} +constexpr auto HighValueTarget::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.target_matches_) + + decltype(HighValueTarget::_impl_.target_matches_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(HighValueTarget), alignof(HighValueTarget), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&HighValueTarget::PlacementNew_, + sizeof(HighValueTarget), + alignof(HighValueTarget)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull HighValueTarget::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_HighValueTarget_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &HighValueTarget::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &HighValueTarget::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &HighValueTarget::ByteSizeLong, + &HighValueTarget::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_._cached_size_), + false, + }, + &HighValueTarget::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* HighValueTarget::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 1, 0, 2> HighValueTarget::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::HighValueTarget>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool is_high_payoff_target = 4 [json_name = "isHighPayoffTarget"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.is_high_payoff_target_)}}, + // bool is_high_value_target = 1 [json_name = "isHighValueTarget"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.is_high_value_target_)}}, + // uint32 target_priority = 2 [json_name = "targetPriority"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(HighValueTarget, _impl_.target_priority_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.target_priority_)}}, + // repeated .anduril.entitymanager.v1.HighValueTargetMatch target_matches = 3 [json_name = "targetMatches"]; + {::_pbi::TcParser::FastMtR1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.target_matches_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool is_high_value_target = 1 [json_name = "isHighValueTarget"]; + {PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.is_high_value_target_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // uint32 target_priority = 2 [json_name = "targetPriority"]; + {PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.target_priority_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .anduril.entitymanager.v1.HighValueTargetMatch target_matches = 3 [json_name = "targetMatches"]; + {PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.target_matches_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // bool is_high_payoff_target = 4 [json_name = "isHighPayoffTarget"]; + {PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.is_high_payoff_target_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::HighValueTargetMatch>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void HighValueTarget::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.HighValueTarget) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.target_matches_.Clear(); + ::memset(&_impl_.target_priority_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.is_high_payoff_target_) - + reinterpret_cast(&_impl_.target_priority_)) + sizeof(_impl_.is_high_payoff_target_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* HighValueTarget::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const HighValueTarget& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* HighValueTarget::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const HighValueTarget& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.HighValueTarget) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool is_high_value_target = 1 [json_name = "isHighValueTarget"]; + if (this_._internal_is_high_value_target() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_is_high_value_target(), target); + } + + // uint32 target_priority = 2 [json_name = "targetPriority"]; + if (this_._internal_target_priority() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_target_priority(), target); + } + + // repeated .anduril.entitymanager.v1.HighValueTargetMatch target_matches = 3 [json_name = "targetMatches"]; + for (unsigned i = 0, n = static_cast( + this_._internal_target_matches_size()); + i < n; i++) { + const auto& repfield = this_._internal_target_matches().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + // bool is_high_payoff_target = 4 [json_name = "isHighPayoffTarget"]; + if (this_._internal_is_high_payoff_target() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_is_high_payoff_target(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.HighValueTarget) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t HighValueTarget::ByteSizeLong(const MessageLite& base) { + const HighValueTarget& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t HighValueTarget::ByteSizeLong() const { + const HighValueTarget& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.HighValueTarget) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .anduril.entitymanager.v1.HighValueTargetMatch target_matches = 3 [json_name = "targetMatches"]; + { + total_size += 1UL * this_._internal_target_matches_size(); + for (const auto& msg : this_._internal_target_matches()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // uint32 target_priority = 2 [json_name = "targetPriority"]; + if (this_._internal_target_priority() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_target_priority()); + } + // bool is_high_value_target = 1 [json_name = "isHighValueTarget"]; + if (this_._internal_is_high_value_target() != 0) { + total_size += 2; + } + // bool is_high_payoff_target = 4 [json_name = "isHighPayoffTarget"]; + if (this_._internal_is_high_payoff_target() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void HighValueTarget::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.HighValueTarget) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_target_matches()->MergeFrom( + from._internal_target_matches()); + if (from._internal_target_priority() != 0) { + _this->_impl_.target_priority_ = from._impl_.target_priority_; + } + if (from._internal_is_high_value_target() != 0) { + _this->_impl_.is_high_value_target_ = from._impl_.is_high_value_target_; + } + if (from._internal_is_high_payoff_target() != 0) { + _this->_impl_.is_high_payoff_target_ = from._impl_.is_high_payoff_target_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void HighValueTarget::CopyFrom(const HighValueTarget& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.HighValueTarget) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void HighValueTarget::InternalSwap(HighValueTarget* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.target_matches_.InternalSwap(&other->_impl_.target_matches_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.is_high_payoff_target_) + + sizeof(HighValueTarget::_impl_.is_high_payoff_target_) + - PROTOBUF_FIELD_OFFSET(HighValueTarget, _impl_.target_priority_)>( + reinterpret_cast(&_impl_.target_priority_), + reinterpret_cast(&other->_impl_.target_priority_)); +} + +::google::protobuf::Metadata HighValueTarget::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class HighValueTargetMatch::_Internal { + public: +}; + +HighValueTargetMatch::HighValueTargetMatch(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.HighValueTargetMatch) +} +inline PROTOBUF_NDEBUG_INLINE HighValueTargetMatch::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::HighValueTargetMatch& from_msg) + : high_value_target_list_id_(arena, from.high_value_target_list_id_), + high_value_target_description_id_(arena, from.high_value_target_description_id_), + _cached_size_{0} {} + +HighValueTargetMatch::HighValueTargetMatch( + ::google::protobuf::Arena* arena, + const HighValueTargetMatch& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + HighValueTargetMatch* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.HighValueTargetMatch) +} +inline PROTOBUF_NDEBUG_INLINE HighValueTargetMatch::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : high_value_target_list_id_(arena), + high_value_target_description_id_(arena), + _cached_size_{0} {} + +inline void HighValueTargetMatch::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +HighValueTargetMatch::~HighValueTargetMatch() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.HighValueTargetMatch) + SharedDtor(*this); +} +inline void HighValueTargetMatch::SharedDtor(MessageLite& self) { + HighValueTargetMatch& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.high_value_target_list_id_.Destroy(); + this_._impl_.high_value_target_description_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* HighValueTargetMatch::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) HighValueTargetMatch(arena); +} +constexpr auto HighValueTargetMatch::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighValueTargetMatch), + alignof(HighValueTargetMatch)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull HighValueTargetMatch::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_HighValueTargetMatch_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &HighValueTargetMatch::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &HighValueTargetMatch::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &HighValueTargetMatch::ByteSizeLong, + &HighValueTargetMatch::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(HighValueTargetMatch, _impl_._cached_size_), + false, + }, + &HighValueTargetMatch::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* HighValueTargetMatch::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 111, 2> HighValueTargetMatch::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::HighValueTargetMatch>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string high_value_target_description_id = 2 [json_name = "highValueTargetDescriptionId"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(HighValueTargetMatch, _impl_.high_value_target_description_id_)}}, + // string high_value_target_list_id = 1 [json_name = "highValueTargetListId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(HighValueTargetMatch, _impl_.high_value_target_list_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string high_value_target_list_id = 1 [json_name = "highValueTargetListId"]; + {PROTOBUF_FIELD_OFFSET(HighValueTargetMatch, _impl_.high_value_target_list_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string high_value_target_description_id = 2 [json_name = "highValueTargetDescriptionId"]; + {PROTOBUF_FIELD_OFFSET(HighValueTargetMatch, _impl_.high_value_target_description_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\55\31\40\0\0\0\0\0" + "anduril.entitymanager.v1.HighValueTargetMatch" + "high_value_target_list_id" + "high_value_target_description_id" + }}, +}; + +PROTOBUF_NOINLINE void HighValueTargetMatch::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.HighValueTargetMatch) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.high_value_target_list_id_.ClearToEmpty(); + _impl_.high_value_target_description_id_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* HighValueTargetMatch::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const HighValueTargetMatch& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* HighValueTargetMatch::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const HighValueTargetMatch& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.HighValueTargetMatch) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string high_value_target_list_id = 1 [json_name = "highValueTargetListId"]; + if (!this_._internal_high_value_target_list_id().empty()) { + const std::string& _s = this_._internal_high_value_target_list_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_list_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string high_value_target_description_id = 2 [json_name = "highValueTargetDescriptionId"]; + if (!this_._internal_high_value_target_description_id().empty()) { + const std::string& _s = this_._internal_high_value_target_description_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_description_id"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.HighValueTargetMatch) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t HighValueTargetMatch::ByteSizeLong(const MessageLite& base) { + const HighValueTargetMatch& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t HighValueTargetMatch::ByteSizeLong() const { + const HighValueTargetMatch& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.HighValueTargetMatch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string high_value_target_list_id = 1 [json_name = "highValueTargetListId"]; + if (!this_._internal_high_value_target_list_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_high_value_target_list_id()); + } + // string high_value_target_description_id = 2 [json_name = "highValueTargetDescriptionId"]; + if (!this_._internal_high_value_target_description_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_high_value_target_description_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void HighValueTargetMatch::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.HighValueTargetMatch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_high_value_target_list_id().empty()) { + _this->_internal_set_high_value_target_list_id(from._internal_high_value_target_list_id()); + } + if (!from._internal_high_value_target_description_id().empty()) { + _this->_internal_set_high_value_target_description_id(from._internal_high_value_target_description_id()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void HighValueTargetMatch::CopyFrom(const HighValueTargetMatch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.HighValueTargetMatch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void HighValueTargetMatch::InternalSwap(HighValueTargetMatch* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.high_value_target_list_id_, &other->_impl_.high_value_target_list_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.high_value_target_description_id_, &other->_impl_.high_value_target_description_id_, arena); +} + +::google::protobuf::Metadata HighValueTargetMatch::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Threat::_Internal { + public: +}; + +Threat::Threat(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Threat) +} +Threat::Threat( + ::google::protobuf::Arena* arena, const Threat& from) + : Threat(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE Threat::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Threat::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.is_threat_ = {}; +} +Threat::~Threat() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Threat) + SharedDtor(*this); +} +inline void Threat::SharedDtor(MessageLite& self) { + Threat& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Threat::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Threat(arena); +} +constexpr auto Threat::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Threat), + alignof(Threat)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Threat::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Threat_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Threat::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Threat::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Threat::ByteSizeLong, + &Threat::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Threat, _impl_._cached_size_), + false, + }, + &Threat::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Threat::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Threat::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Threat>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool is_threat = 1 [json_name = "isThreat"]; + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Threat, _impl_.is_threat_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool is_threat = 1 [json_name = "isThreat"]; + {PROTOBUF_FIELD_OFFSET(Threat, _impl_.is_threat_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void Threat::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Threat) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.is_threat_ = false; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Threat::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Threat& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Threat::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Threat& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Threat) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool is_threat = 1 [json_name = "isThreat"]; + if (this_._internal_is_threat() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_is_threat(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Threat) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Threat::ByteSizeLong(const MessageLite& base) { + const Threat& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Threat::ByteSizeLong() const { + const Threat& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Threat) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // bool is_threat = 1 [json_name = "isThreat"]; + if (this_._internal_is_threat() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Threat::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Threat) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_is_threat() != 0) { + _this->_impl_.is_threat_ = from._impl_.is_threat_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Threat::CopyFrom(const Threat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Threat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Threat::InternalSwap(Threat* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.is_threat_, other->_impl_.is_threat_); +} + +::google::protobuf::Metadata Threat::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/target_priority.pub.pb.h b/src/anduril/entitymanager/v1/target_priority.pub.pb.h new file mode 100644 index 0000000..51f512b --- /dev/null +++ b/src/anduril/entitymanager/v1/target_priority.pub.pb.h @@ -0,0 +1,1407 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/target_priority.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class HighValueTarget; +struct HighValueTargetDefaultTypeInternal; +extern HighValueTargetDefaultTypeInternal _HighValueTarget_default_instance_; +class HighValueTargetMatch; +struct HighValueTargetMatchDefaultTypeInternal; +extern HighValueTargetMatchDefaultTypeInternal _HighValueTargetMatch_default_instance_; +class TargetPriority; +struct TargetPriorityDefaultTypeInternal; +extern TargetPriorityDefaultTypeInternal _TargetPriority_default_instance_; +class Threat; +struct ThreatDefaultTypeInternal; +extern ThreatDefaultTypeInternal _Threat_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Threat final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Threat) */ { + public: + inline Threat() : Threat(nullptr) {} + ~Threat() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Threat* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Threat)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Threat( + ::google::protobuf::internal::ConstantInitialized); + + inline Threat(const Threat& from) : Threat(nullptr, from) {} + inline Threat(Threat&& from) noexcept + : Threat(nullptr, std::move(from)) {} + inline Threat& operator=(const Threat& from) { + CopyFrom(from); + return *this; + } + inline Threat& operator=(Threat&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Threat& default_instance() { + return *internal_default_instance(); + } + static inline const Threat* internal_default_instance() { + return reinterpret_cast( + &_Threat_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(Threat& a, Threat& b) { a.Swap(&b); } + inline void Swap(Threat* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Threat* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Threat* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Threat& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Threat& from) { Threat::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Threat* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Threat"; } + + protected: + explicit Threat(::google::protobuf::Arena* arena); + Threat(::google::protobuf::Arena* arena, const Threat& from); + Threat(::google::protobuf::Arena* arena, Threat&& from) noexcept + : Threat(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIsThreatFieldNumber = 1, + }; + // bool is_threat = 1 [json_name = "isThreat"]; + void clear_is_threat() ; + bool is_threat() const; + void set_is_threat(bool value); + + private: + bool _internal_is_threat() const; + void _internal_set_is_threat(bool value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Threat) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Threat& from_msg); + bool is_threat_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class HighValueTargetMatch final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.HighValueTargetMatch) */ { + public: + inline HighValueTargetMatch() : HighValueTargetMatch(nullptr) {} + ~HighValueTargetMatch() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(HighValueTargetMatch* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(HighValueTargetMatch)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR HighValueTargetMatch( + ::google::protobuf::internal::ConstantInitialized); + + inline HighValueTargetMatch(const HighValueTargetMatch& from) : HighValueTargetMatch(nullptr, from) {} + inline HighValueTargetMatch(HighValueTargetMatch&& from) noexcept + : HighValueTargetMatch(nullptr, std::move(from)) {} + inline HighValueTargetMatch& operator=(const HighValueTargetMatch& from) { + CopyFrom(from); + return *this; + } + inline HighValueTargetMatch& operator=(HighValueTargetMatch&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const HighValueTargetMatch& default_instance() { + return *internal_default_instance(); + } + static inline const HighValueTargetMatch* internal_default_instance() { + return reinterpret_cast( + &_HighValueTargetMatch_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(HighValueTargetMatch& a, HighValueTargetMatch& b) { a.Swap(&b); } + inline void Swap(HighValueTargetMatch* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(HighValueTargetMatch* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + HighValueTargetMatch* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const HighValueTargetMatch& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const HighValueTargetMatch& from) { HighValueTargetMatch::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(HighValueTargetMatch* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.HighValueTargetMatch"; } + + protected: + explicit HighValueTargetMatch(::google::protobuf::Arena* arena); + HighValueTargetMatch(::google::protobuf::Arena* arena, const HighValueTargetMatch& from); + HighValueTargetMatch(::google::protobuf::Arena* arena, HighValueTargetMatch&& from) noexcept + : HighValueTargetMatch(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kHighValueTargetListIdFieldNumber = 1, + kHighValueTargetDescriptionIdFieldNumber = 2, + }; + // string high_value_target_list_id = 1 [json_name = "highValueTargetListId"]; + void clear_high_value_target_list_id() ; + const std::string& high_value_target_list_id() const; + template + void set_high_value_target_list_id(Arg_&& arg, Args_... args); + std::string* mutable_high_value_target_list_id(); + PROTOBUF_NODISCARD std::string* release_high_value_target_list_id(); + void set_allocated_high_value_target_list_id(std::string* value); + + private: + const std::string& _internal_high_value_target_list_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_high_value_target_list_id( + const std::string& value); + std::string* _internal_mutable_high_value_target_list_id(); + + public: + // string high_value_target_description_id = 2 [json_name = "highValueTargetDescriptionId"]; + void clear_high_value_target_description_id() ; + const std::string& high_value_target_description_id() const; + template + void set_high_value_target_description_id(Arg_&& arg, Args_... args); + std::string* mutable_high_value_target_description_id(); + PROTOBUF_NODISCARD std::string* release_high_value_target_description_id(); + void set_allocated_high_value_target_description_id(std::string* value); + + private: + const std::string& _internal_high_value_target_description_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_high_value_target_description_id( + const std::string& value); + std::string* _internal_mutable_high_value_target_description_id(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.HighValueTargetMatch) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 111, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const HighValueTargetMatch& from_msg); + ::google::protobuf::internal::ArenaStringPtr high_value_target_list_id_; + ::google::protobuf::internal::ArenaStringPtr high_value_target_description_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class HighValueTarget final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.HighValueTarget) */ { + public: + inline HighValueTarget() : HighValueTarget(nullptr) {} + ~HighValueTarget() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(HighValueTarget* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(HighValueTarget)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR HighValueTarget( + ::google::protobuf::internal::ConstantInitialized); + + inline HighValueTarget(const HighValueTarget& from) : HighValueTarget(nullptr, from) {} + inline HighValueTarget(HighValueTarget&& from) noexcept + : HighValueTarget(nullptr, std::move(from)) {} + inline HighValueTarget& operator=(const HighValueTarget& from) { + CopyFrom(from); + return *this; + } + inline HighValueTarget& operator=(HighValueTarget&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const HighValueTarget& default_instance() { + return *internal_default_instance(); + } + static inline const HighValueTarget* internal_default_instance() { + return reinterpret_cast( + &_HighValueTarget_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(HighValueTarget& a, HighValueTarget& b) { a.Swap(&b); } + inline void Swap(HighValueTarget* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(HighValueTarget* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + HighValueTarget* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const HighValueTarget& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const HighValueTarget& from) { HighValueTarget::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(HighValueTarget* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.HighValueTarget"; } + + protected: + explicit HighValueTarget(::google::protobuf::Arena* arena); + HighValueTarget(::google::protobuf::Arena* arena, const HighValueTarget& from); + HighValueTarget(::google::protobuf::Arena* arena, HighValueTarget&& from) noexcept + : HighValueTarget(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTargetMatchesFieldNumber = 3, + kTargetPriorityFieldNumber = 2, + kIsHighValueTargetFieldNumber = 1, + kIsHighPayoffTargetFieldNumber = 4, + }; + // repeated .anduril.entitymanager.v1.HighValueTargetMatch target_matches = 3 [json_name = "targetMatches"]; + int target_matches_size() const; + private: + int _internal_target_matches_size() const; + + public: + void clear_target_matches() ; + ::anduril::entitymanager::v1::HighValueTargetMatch* mutable_target_matches(int index); + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>* mutable_target_matches(); + + private: + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>& _internal_target_matches() const; + ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>* _internal_mutable_target_matches(); + public: + const ::anduril::entitymanager::v1::HighValueTargetMatch& target_matches(int index) const; + ::anduril::entitymanager::v1::HighValueTargetMatch* add_target_matches(); + const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>& target_matches() const; + // uint32 target_priority = 2 [json_name = "targetPriority"]; + void clear_target_priority() ; + ::uint32_t target_priority() const; + void set_target_priority(::uint32_t value); + + private: + ::uint32_t _internal_target_priority() const; + void _internal_set_target_priority(::uint32_t value); + + public: + // bool is_high_value_target = 1 [json_name = "isHighValueTarget"]; + void clear_is_high_value_target() ; + bool is_high_value_target() const; + void set_is_high_value_target(bool value); + + private: + bool _internal_is_high_value_target() const; + void _internal_set_is_high_value_target(bool value); + + public: + // bool is_high_payoff_target = 4 [json_name = "isHighPayoffTarget"]; + void clear_is_high_payoff_target() ; + bool is_high_payoff_target() const; + void set_is_high_payoff_target(bool value); + + private: + bool _internal_is_high_payoff_target() const; + void _internal_set_is_high_payoff_target(bool value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.HighValueTarget) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const HighValueTarget& from_msg); + ::google::protobuf::RepeatedPtrField< ::anduril::entitymanager::v1::HighValueTargetMatch > target_matches_; + ::uint32_t target_priority_; + bool is_high_value_target_; + bool is_high_payoff_target_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class TargetPriority final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.TargetPriority) */ { + public: + inline TargetPriority() : TargetPriority(nullptr) {} + ~TargetPriority() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TargetPriority* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TargetPriority)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TargetPriority( + ::google::protobuf::internal::ConstantInitialized); + + inline TargetPriority(const TargetPriority& from) : TargetPriority(nullptr, from) {} + inline TargetPriority(TargetPriority&& from) noexcept + : TargetPriority(nullptr, std::move(from)) {} + inline TargetPriority& operator=(const TargetPriority& from) { + CopyFrom(from); + return *this; + } + inline TargetPriority& operator=(TargetPriority&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TargetPriority& default_instance() { + return *internal_default_instance(); + } + static inline const TargetPriority* internal_default_instance() { + return reinterpret_cast( + &_TargetPriority_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(TargetPriority& a, TargetPriority& b) { a.Swap(&b); } + inline void Swap(TargetPriority* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TargetPriority* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TargetPriority* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TargetPriority& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TargetPriority& from) { TargetPriority::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TargetPriority* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.TargetPriority"; } + + protected: + explicit TargetPriority(::google::protobuf::Arena* arena); + TargetPriority(::google::protobuf::Arena* arena, const TargetPriority& from); + TargetPriority(::google::protobuf::Arena* arena, TargetPriority&& from) noexcept + : TargetPriority(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kHighValueTargetFieldNumber = 1, + kThreatFieldNumber = 2, + }; + // .anduril.entitymanager.v1.HighValueTarget high_value_target = 1 [json_name = "highValueTarget", (.anduril.entitymanager.v1.overridable) = true]; + bool has_high_value_target() const; + void clear_high_value_target() ; + const ::anduril::entitymanager::v1::HighValueTarget& high_value_target() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::HighValueTarget* release_high_value_target(); + ::anduril::entitymanager::v1::HighValueTarget* mutable_high_value_target(); + void set_allocated_high_value_target(::anduril::entitymanager::v1::HighValueTarget* value); + void unsafe_arena_set_allocated_high_value_target(::anduril::entitymanager::v1::HighValueTarget* value); + ::anduril::entitymanager::v1::HighValueTarget* unsafe_arena_release_high_value_target(); + + private: + const ::anduril::entitymanager::v1::HighValueTarget& _internal_high_value_target() const; + ::anduril::entitymanager::v1::HighValueTarget* _internal_mutable_high_value_target(); + + public: + // .anduril.entitymanager.v1.Threat threat = 2 [json_name = "threat"]; + bool has_threat() const; + void clear_threat() ; + const ::anduril::entitymanager::v1::Threat& threat() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Threat* release_threat(); + ::anduril::entitymanager::v1::Threat* mutable_threat(); + void set_allocated_threat(::anduril::entitymanager::v1::Threat* value); + void unsafe_arena_set_allocated_threat(::anduril::entitymanager::v1::Threat* value); + ::anduril::entitymanager::v1::Threat* unsafe_arena_release_threat(); + + private: + const ::anduril::entitymanager::v1::Threat& _internal_threat() const; + ::anduril::entitymanager::v1::Threat* _internal_mutable_threat(); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.TargetPriority) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TargetPriority& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::HighValueTarget* high_value_target_; + ::anduril::entitymanager::v1::Threat* threat_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// TargetPriority + +// .anduril.entitymanager.v1.HighValueTarget high_value_target = 1 [json_name = "highValueTarget", (.anduril.entitymanager.v1.overridable) = true]; +inline bool TargetPriority::has_high_value_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.high_value_target_ != nullptr); + return value; +} +inline void TargetPriority::clear_high_value_target() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.high_value_target_ != nullptr) _impl_.high_value_target_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::HighValueTarget& TargetPriority::_internal_high_value_target() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::HighValueTarget* p = _impl_.high_value_target_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_HighValueTarget_default_instance_); +} +inline const ::anduril::entitymanager::v1::HighValueTarget& TargetPriority::high_value_target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TargetPriority.high_value_target) + return _internal_high_value_target(); +} +inline void TargetPriority::unsafe_arena_set_allocated_high_value_target(::anduril::entitymanager::v1::HighValueTarget* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.high_value_target_); + } + _impl_.high_value_target_ = reinterpret_cast<::anduril::entitymanager::v1::HighValueTarget*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TargetPriority.high_value_target) +} +inline ::anduril::entitymanager::v1::HighValueTarget* TargetPriority::release_high_value_target() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::HighValueTarget* released = _impl_.high_value_target_; + _impl_.high_value_target_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::HighValueTarget* TargetPriority::unsafe_arena_release_high_value_target() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TargetPriority.high_value_target) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::HighValueTarget* temp = _impl_.high_value_target_; + _impl_.high_value_target_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::HighValueTarget* TargetPriority::_internal_mutable_high_value_target() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.high_value_target_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::HighValueTarget>(GetArena()); + _impl_.high_value_target_ = reinterpret_cast<::anduril::entitymanager::v1::HighValueTarget*>(p); + } + return _impl_.high_value_target_; +} +inline ::anduril::entitymanager::v1::HighValueTarget* TargetPriority::mutable_high_value_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::HighValueTarget* _msg = _internal_mutable_high_value_target(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TargetPriority.high_value_target) + return _msg; +} +inline void TargetPriority::set_allocated_high_value_target(::anduril::entitymanager::v1::HighValueTarget* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.high_value_target_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.high_value_target_ = reinterpret_cast<::anduril::entitymanager::v1::HighValueTarget*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TargetPriority.high_value_target) +} + +// .anduril.entitymanager.v1.Threat threat = 2 [json_name = "threat"]; +inline bool TargetPriority::has_threat() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.threat_ != nullptr); + return value; +} +inline void TargetPriority::clear_threat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.threat_ != nullptr) _impl_.threat_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::Threat& TargetPriority::_internal_threat() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Threat* p = _impl_.threat_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Threat_default_instance_); +} +inline const ::anduril::entitymanager::v1::Threat& TargetPriority::threat() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TargetPriority.threat) + return _internal_threat(); +} +inline void TargetPriority::unsafe_arena_set_allocated_threat(::anduril::entitymanager::v1::Threat* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.threat_); + } + _impl_.threat_ = reinterpret_cast<::anduril::entitymanager::v1::Threat*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TargetPriority.threat) +} +inline ::anduril::entitymanager::v1::Threat* TargetPriority::release_threat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Threat* released = _impl_.threat_; + _impl_.threat_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Threat* TargetPriority::unsafe_arena_release_threat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TargetPriority.threat) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::Threat* temp = _impl_.threat_; + _impl_.threat_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Threat* TargetPriority::_internal_mutable_threat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.threat_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Threat>(GetArena()); + _impl_.threat_ = reinterpret_cast<::anduril::entitymanager::v1::Threat*>(p); + } + return _impl_.threat_; +} +inline ::anduril::entitymanager::v1::Threat* TargetPriority::mutable_threat() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::Threat* _msg = _internal_mutable_threat(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TargetPriority.threat) + return _msg; +} +inline void TargetPriority::set_allocated_threat(::anduril::entitymanager::v1::Threat* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.threat_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.threat_ = reinterpret_cast<::anduril::entitymanager::v1::Threat*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TargetPriority.threat) +} + +// ------------------------------------------------------------------- + +// HighValueTarget + +// bool is_high_value_target = 1 [json_name = "isHighValueTarget"]; +inline void HighValueTarget::clear_is_high_value_target() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_high_value_target_ = false; +} +inline bool HighValueTarget::is_high_value_target() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HighValueTarget.is_high_value_target) + return _internal_is_high_value_target(); +} +inline void HighValueTarget::set_is_high_value_target(bool value) { + _internal_set_is_high_value_target(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.HighValueTarget.is_high_value_target) +} +inline bool HighValueTarget::_internal_is_high_value_target() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_high_value_target_; +} +inline void HighValueTarget::_internal_set_is_high_value_target(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_high_value_target_ = value; +} + +// uint32 target_priority = 2 [json_name = "targetPriority"]; +inline void HighValueTarget::clear_target_priority() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.target_priority_ = 0u; +} +inline ::uint32_t HighValueTarget::target_priority() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HighValueTarget.target_priority) + return _internal_target_priority(); +} +inline void HighValueTarget::set_target_priority(::uint32_t value) { + _internal_set_target_priority(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.HighValueTarget.target_priority) +} +inline ::uint32_t HighValueTarget::_internal_target_priority() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.target_priority_; +} +inline void HighValueTarget::_internal_set_target_priority(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.target_priority_ = value; +} + +// repeated .anduril.entitymanager.v1.HighValueTargetMatch target_matches = 3 [json_name = "targetMatches"]; +inline int HighValueTarget::_internal_target_matches_size() const { + return _internal_target_matches().size(); +} +inline int HighValueTarget::target_matches_size() const { + return _internal_target_matches_size(); +} +inline void HighValueTarget::clear_target_matches() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.target_matches_.Clear(); +} +inline ::anduril::entitymanager::v1::HighValueTargetMatch* HighValueTarget::mutable_target_matches(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.HighValueTarget.target_matches) + return _internal_mutable_target_matches()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>* HighValueTarget::mutable_target_matches() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:anduril.entitymanager.v1.HighValueTarget.target_matches) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_target_matches(); +} +inline const ::anduril::entitymanager::v1::HighValueTargetMatch& HighValueTarget::target_matches(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HighValueTarget.target_matches) + return _internal_target_matches().Get(index); +} +inline ::anduril::entitymanager::v1::HighValueTargetMatch* HighValueTarget::add_target_matches() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::anduril::entitymanager::v1::HighValueTargetMatch* _add = _internal_mutable_target_matches()->Add(); + // @@protoc_insertion_point(field_add:anduril.entitymanager.v1.HighValueTarget.target_matches) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>& HighValueTarget::target_matches() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:anduril.entitymanager.v1.HighValueTarget.target_matches) + return _internal_target_matches(); +} +inline const ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>& +HighValueTarget::_internal_target_matches() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.target_matches_; +} +inline ::google::protobuf::RepeatedPtrField<::anduril::entitymanager::v1::HighValueTargetMatch>* +HighValueTarget::_internal_mutable_target_matches() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.target_matches_; +} + +// bool is_high_payoff_target = 4 [json_name = "isHighPayoffTarget"]; +inline void HighValueTarget::clear_is_high_payoff_target() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_high_payoff_target_ = false; +} +inline bool HighValueTarget::is_high_payoff_target() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HighValueTarget.is_high_payoff_target) + return _internal_is_high_payoff_target(); +} +inline void HighValueTarget::set_is_high_payoff_target(bool value) { + _internal_set_is_high_payoff_target(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.HighValueTarget.is_high_payoff_target) +} +inline bool HighValueTarget::_internal_is_high_payoff_target() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_high_payoff_target_; +} +inline void HighValueTarget::_internal_set_is_high_payoff_target(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_high_payoff_target_ = value; +} + +// ------------------------------------------------------------------- + +// HighValueTargetMatch + +// string high_value_target_list_id = 1 [json_name = "highValueTargetListId"]; +inline void HighValueTargetMatch::clear_high_value_target_list_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_list_id_.ClearToEmpty(); +} +inline const std::string& HighValueTargetMatch::high_value_target_list_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_list_id) + return _internal_high_value_target_list_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void HighValueTargetMatch::set_high_value_target_list_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_list_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_list_id) +} +inline std::string* HighValueTargetMatch::mutable_high_value_target_list_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_high_value_target_list_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_list_id) + return _s; +} +inline const std::string& HighValueTargetMatch::_internal_high_value_target_list_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.high_value_target_list_id_.Get(); +} +inline void HighValueTargetMatch::_internal_set_high_value_target_list_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_list_id_.Set(value, GetArena()); +} +inline std::string* HighValueTargetMatch::_internal_mutable_high_value_target_list_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.high_value_target_list_id_.Mutable( GetArena()); +} +inline std::string* HighValueTargetMatch::release_high_value_target_list_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_list_id) + return _impl_.high_value_target_list_id_.Release(); +} +inline void HighValueTargetMatch::set_allocated_high_value_target_list_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_list_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.high_value_target_list_id_.IsDefault()) { + _impl_.high_value_target_list_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_list_id) +} + +// string high_value_target_description_id = 2 [json_name = "highValueTargetDescriptionId"]; +inline void HighValueTargetMatch::clear_high_value_target_description_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_description_id_.ClearToEmpty(); +} +inline const std::string& HighValueTargetMatch::high_value_target_description_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_description_id) + return _internal_high_value_target_description_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void HighValueTargetMatch::set_high_value_target_description_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_description_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_description_id) +} +inline std::string* HighValueTargetMatch::mutable_high_value_target_description_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_high_value_target_description_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_description_id) + return _s; +} +inline const std::string& HighValueTargetMatch::_internal_high_value_target_description_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.high_value_target_description_id_.Get(); +} +inline void HighValueTargetMatch::_internal_set_high_value_target_description_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_description_id_.Set(value, GetArena()); +} +inline std::string* HighValueTargetMatch::_internal_mutable_high_value_target_description_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.high_value_target_description_id_.Mutable( GetArena()); +} +inline std::string* HighValueTargetMatch::release_high_value_target_description_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_description_id) + return _impl_.high_value_target_description_id_.Release(); +} +inline void HighValueTargetMatch::set_allocated_high_value_target_description_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.high_value_target_description_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.high_value_target_description_id_.IsDefault()) { + _impl_.high_value_target_description_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.HighValueTargetMatch.high_value_target_description_id) +} + +// ------------------------------------------------------------------- + +// Threat + +// bool is_threat = 1 [json_name = "isThreat"]; +inline void Threat::clear_is_threat() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_threat_ = false; +} +inline bool Threat::is_threat() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Threat.is_threat) + return _internal_is_threat(); +} +inline void Threat::set_is_threat(bool value) { + _internal_set_is_threat(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Threat.is_threat) +} +inline bool Threat::_internal_is_threat() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_threat_; +} +inline void Threat::_internal_set_is_threat(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_threat_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2ftarget_5fpriority_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.cc new file mode 100644 index 0000000..9cacc7f --- /dev/null +++ b/src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/transponder_codes.pub.proto + +#include "anduril/entitymanager/v1/transponder_codes.pub.pb.h" +#include "anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.h b/src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.h new file mode 100644 index 0000000..54b9013 --- /dev/null +++ b/src/anduril/entitymanager/v1/transponder_codes.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/transponder_codes.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/transponder_codes.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/transponder_codes.pub.pb.cc b/src/anduril/entitymanager/v1/transponder_codes.pub.pb.cc new file mode 100644 index 0000000..ad3a6b7 --- /dev/null +++ b/src/anduril/entitymanager/v1/transponder_codes.pub.pb.cc @@ -0,0 +1,1176 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/transponder_codes.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/transponder_codes.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr ModeS::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + address_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ModeS::ModeS(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ModeSDefaultTypeInternal { + PROTOBUF_CONSTEXPR ModeSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ModeSDefaultTypeInternal() {} + union { + ModeS _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModeSDefaultTypeInternal _ModeS_default_instance_; + +inline constexpr Mode5::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : mode5_interrogation_response_{static_cast< ::anduril::entitymanager::v1::InterrogationResponse >(0)}, + mode5_{0u}, + mode5_platform_id_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Mode5::Mode5(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Mode5DefaultTypeInternal { + PROTOBUF_CONSTEXPR Mode5DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Mode5DefaultTypeInternal() {} + union { + Mode5 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Mode5DefaultTypeInternal _Mode5_default_instance_; + +inline constexpr TransponderCodes::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + mode5_{nullptr}, + mode_s_{nullptr}, + mode1_{0u}, + mode2_{0u}, + mode3_{0u}, + mode4_interrogation_response_{static_cast< ::anduril::entitymanager::v1::InterrogationResponse >(0)} {} + +template +PROTOBUF_CONSTEXPR TransponderCodes::TransponderCodes(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TransponderCodesDefaultTypeInternal { + PROTOBUF_CONSTEXPR TransponderCodesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TransponderCodesDefaultTypeInternal() {} + union { + TransponderCodes _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransponderCodesDefaultTypeInternal _TransponderCodes_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto[1]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_.mode1_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_.mode2_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_.mode3_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_.mode4_interrogation_response_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_.mode5_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::TransponderCodes, _impl_.mode_s_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Mode5, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Mode5, _impl_.mode5_interrogation_response_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Mode5, _impl_.mode5_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::Mode5, _impl_.mode5_platform_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ModeS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ModeS, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::ModeS, _impl_.address_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 14, -1, sizeof(::anduril::entitymanager::v1::TransponderCodes)}, + {20, -1, -1, sizeof(::anduril::entitymanager::v1::Mode5)}, + {31, -1, -1, sizeof(::anduril::entitymanager::v1::ModeS)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_TransponderCodes_default_instance_._instance, + &::anduril::entitymanager::v1::_Mode5_default_instance_._instance, + &::anduril::entitymanager::v1::_ModeS_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n4anduril/entitymanager/v1/transponder_c" + "odes.pub.proto\022\030anduril.entitymanager.v1" + "\032*anduril/entitymanager/v1/options.pub.p" + "roto\"\324\002\n\020TransponderCodes\022\031\n\005mode1\030\001 \001(\r" + "B\003\310>\001R\005mode1\022\031\n\005mode2\030\002 \001(\rB\003\310>\001R\005mode2\022" + "\031\n\005mode3\030\003 \001(\rB\003\310>\001R\005mode3\022v\n\034mode4_inte" + "rrogation_response\030\004 \001(\0162/.anduril.entit" + "ymanager.v1.InterrogationResponseB\003\310>\001R\032" + "mode4InterrogationResponse\022:\n\005mode5\030\005 \001(" + "\0132\037.anduril.entitymanager.v1.Mode5B\003\310>\001R" + "\005mode5\022;\n\006mode_s\030\006 \001(\0132\037.anduril.entitym" + "anager.v1.ModeSB\003\310>\001R\005modeS\"\274\001\n\005Mode5\022q\n" + "\034mode5_interrogation_response\030\001 \001(\0162/.an" + "duril.entitymanager.v1.InterrogationResp" + "onseR\032mode5InterrogationResponse\022\024\n\005mode" + "5\030\002 \001(\rR\005mode5\022*\n\021mode5_platform_id\030\003 \001(" + "\rR\017mode5PlatformId\"1\n\005ModeS\022\016\n\002id\030\001 \001(\tR" + "\002id\022\030\n\007address\030\002 \001(\rR\007address*\255\001\n\025Interr" + "ogationResponse\022\"\n\036INTERROGATION_RESPONS" + "E_INVALID\020\000\022\"\n\036INTERROGATION_RESPONSE_CO" + "RRECT\020\001\022$\n INTERROGATION_RESPONSE_INCORR" + "ECT\020\002\022&\n\"INTERROGATION_RESPONSE_NO_RESPO" + "NSE\020\003B\211\002\n\034com.anduril.entitymanager.v1B\030" + "TransponderCodesPubProtoP\001ZMghe.anduril." + "dev/anduril/andurilapis-go/anduril/entit" + "ymanager/v1;entitymanager\242\002\003AEX\252\002\030Anduri" + "l.Entitymanager.V1\312\002\030Anduril\\Entitymanag" + "er\\V1\342\002$Anduril\\Entitymanager\\V1\\GPBMeta" + "data\352\002\032Anduril::Entitymanager::V1b\006proto" + "3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_deps[1] = + { + &::descriptor_table_anduril_2fentitymanager_2fv1_2foptions_2epub_2eproto, +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto = { + false, + false, + 1161, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, + "anduril/entitymanager/v1/transponder_codes.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_once, + descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_deps, + 1, + 3, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* InterrogationResponse_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t InterrogationResponse_internal_data_[] = { + 262144u, 0u, }; +bool InterrogationResponse_IsValid(int value) { + return 0 <= value && value <= 3; +} +// =================================================================== + +class TransponderCodes::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_._has_bits_); +}; + +TransponderCodes::TransponderCodes(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.TransponderCodes) +} +inline PROTOBUF_NDEBUG_INLINE TransponderCodes::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::TransponderCodes& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TransponderCodes::TransponderCodes( + ::google::protobuf::Arena* arena, + const TransponderCodes& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TransponderCodes* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.mode5_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Mode5>( + arena, *from._impl_.mode5_) + : nullptr; + _impl_.mode_s_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ModeS>( + arena, *from._impl_.mode_s_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, mode1_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, mode1_), + offsetof(Impl_, mode4_interrogation_response_) - + offsetof(Impl_, mode1_) + + sizeof(Impl_::mode4_interrogation_response_)); + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.TransponderCodes) +} +inline PROTOBUF_NDEBUG_INLINE TransponderCodes::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TransponderCodes::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, mode5_), + 0, + offsetof(Impl_, mode4_interrogation_response_) - + offsetof(Impl_, mode5_) + + sizeof(Impl_::mode4_interrogation_response_)); +} +TransponderCodes::~TransponderCodes() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.TransponderCodes) + SharedDtor(*this); +} +inline void TransponderCodes::SharedDtor(MessageLite& self) { + TransponderCodes& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.mode5_; + delete this_._impl_.mode_s_; + this_._impl_.~Impl_(); +} + +inline void* TransponderCodes::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TransponderCodes(arena); +} +constexpr auto TransponderCodes::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TransponderCodes), + alignof(TransponderCodes)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull TransponderCodes::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_TransponderCodes_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TransponderCodes::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TransponderCodes::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &TransponderCodes::ByteSizeLong, + &TransponderCodes::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_._cached_size_), + false, + }, + &TransponderCodes::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TransponderCodes::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 2, 0, 2> TransponderCodes::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::TransponderCodes>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 mode1 = 1 [json_name = "mode1", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TransponderCodes, _impl_.mode1_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode1_)}}, + // uint32 mode2 = 2 [json_name = "mode2", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TransponderCodes, _impl_.mode2_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode2_)}}, + // uint32 mode3 = 3 [json_name = "mode3", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TransponderCodes, _impl_.mode3_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode3_)}}, + // .anduril.entitymanager.v1.InterrogationResponse mode4_interrogation_response = 4 [json_name = "mode4InterrogationResponse", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TransponderCodes, _impl_.mode4_interrogation_response_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode4_interrogation_response_)}}, + // .anduril.entitymanager.v1.Mode5 mode5 = 5 [json_name = "mode5", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtS1, + {42, 0, 0, PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode5_)}}, + // .anduril.entitymanager.v1.ModeS mode_s = 6 [json_name = "modeS", (.anduril.entitymanager.v1.overridable) = true]; + {::_pbi::TcParser::FastMtS1, + {50, 1, 1, PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode_s_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 mode1 = 1 [json_name = "mode1", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode1_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 mode2 = 2 [json_name = "mode2", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode2_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 mode3 = 3 [json_name = "mode3", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode3_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .anduril.entitymanager.v1.InterrogationResponse mode4_interrogation_response = 4 [json_name = "mode4InterrogationResponse", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode4_interrogation_response_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .anduril.entitymanager.v1.Mode5 mode5 = 5 [json_name = "mode5", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode5_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .anduril.entitymanager.v1.ModeS mode_s = 6 [json_name = "modeS", (.anduril.entitymanager.v1.overridable) = true]; + {PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode_s_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Mode5>()}, + {::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ModeS>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TransponderCodes::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.TransponderCodes) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.mode5_ != nullptr); + _impl_.mode5_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.mode_s_ != nullptr); + _impl_.mode_s_->Clear(); + } + } + ::memset(&_impl_.mode1_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.mode4_interrogation_response_) - + reinterpret_cast(&_impl_.mode1_)) + sizeof(_impl_.mode4_interrogation_response_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TransponderCodes::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TransponderCodes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TransponderCodes::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TransponderCodes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.TransponderCodes) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 mode1 = 1 [json_name = "mode1", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode1() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_mode1(), target); + } + + // uint32 mode2 = 2 [json_name = "mode2", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode2() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_mode2(), target); + } + + // uint32 mode3 = 3 [json_name = "mode3", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode3() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_mode3(), target); + } + + // .anduril.entitymanager.v1.InterrogationResponse mode4_interrogation_response = 4 [json_name = "mode4InterrogationResponse", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode4_interrogation_response() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this_._internal_mode4_interrogation_response(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .anduril.entitymanager.v1.Mode5 mode5 = 5 [json_name = "mode5", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.mode5_, this_._impl_.mode5_->GetCachedSize(), target, + stream); + } + + // .anduril.entitymanager.v1.ModeS mode_s = 6 [json_name = "modeS", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.mode_s_, this_._impl_.mode_s_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.TransponderCodes) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t TransponderCodes::ByteSizeLong(const MessageLite& base) { + const TransponderCodes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TransponderCodes::ByteSizeLong() const { + const TransponderCodes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.TransponderCodes) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .anduril.entitymanager.v1.Mode5 mode5 = 5 [json_name = "mode5", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mode5_); + } + // .anduril.entitymanager.v1.ModeS mode_s = 6 [json_name = "modeS", (.anduril.entitymanager.v1.overridable) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mode_s_); + } + } + { + // uint32 mode1 = 1 [json_name = "mode1", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode1() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_mode1()); + } + // uint32 mode2 = 2 [json_name = "mode2", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode2() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_mode2()); + } + // uint32 mode3 = 3 [json_name = "mode3", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode3() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_mode3()); + } + // .anduril.entitymanager.v1.InterrogationResponse mode4_interrogation_response = 4 [json_name = "mode4InterrogationResponse", (.anduril.entitymanager.v1.overridable) = true]; + if (this_._internal_mode4_interrogation_response() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode4_interrogation_response()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void TransponderCodes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.TransponderCodes) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.mode5_ != nullptr); + if (_this->_impl_.mode5_ == nullptr) { + _this->_impl_.mode5_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::Mode5>(arena, *from._impl_.mode5_); + } else { + _this->_impl_.mode5_->MergeFrom(*from._impl_.mode5_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.mode_s_ != nullptr); + if (_this->_impl_.mode_s_ == nullptr) { + _this->_impl_.mode_s_ = + ::google::protobuf::Message::CopyConstruct<::anduril::entitymanager::v1::ModeS>(arena, *from._impl_.mode_s_); + } else { + _this->_impl_.mode_s_->MergeFrom(*from._impl_.mode_s_); + } + } + } + if (from._internal_mode1() != 0) { + _this->_impl_.mode1_ = from._impl_.mode1_; + } + if (from._internal_mode2() != 0) { + _this->_impl_.mode2_ = from._impl_.mode2_; + } + if (from._internal_mode3() != 0) { + _this->_impl_.mode3_ = from._impl_.mode3_; + } + if (from._internal_mode4_interrogation_response() != 0) { + _this->_impl_.mode4_interrogation_response_ = from._impl_.mode4_interrogation_response_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TransponderCodes::CopyFrom(const TransponderCodes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.TransponderCodes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TransponderCodes::InternalSwap(TransponderCodes* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode4_interrogation_response_) + + sizeof(TransponderCodes::_impl_.mode4_interrogation_response_) + - PROTOBUF_FIELD_OFFSET(TransponderCodes, _impl_.mode5_)>( + reinterpret_cast(&_impl_.mode5_), + reinterpret_cast(&other->_impl_.mode5_)); +} + +::google::protobuf::Metadata TransponderCodes::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Mode5::_Internal { + public: +}; + +Mode5::Mode5(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.Mode5) +} +Mode5::Mode5( + ::google::protobuf::Arena* arena, const Mode5& from) + : Mode5(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE Mode5::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Mode5::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, mode5_interrogation_response_), + 0, + offsetof(Impl_, mode5_platform_id_) - + offsetof(Impl_, mode5_interrogation_response_) + + sizeof(Impl_::mode5_platform_id_)); +} +Mode5::~Mode5() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.Mode5) + SharedDtor(*this); +} +inline void Mode5::SharedDtor(MessageLite& self) { + Mode5& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Mode5::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Mode5(arena); +} +constexpr auto Mode5::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Mode5), + alignof(Mode5)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Mode5::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Mode5_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Mode5::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Mode5::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Mode5::ByteSizeLong, + &Mode5::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Mode5, _impl_._cached_size_), + false, + }, + &Mode5::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Mode5::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> Mode5::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::Mode5>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .anduril.entitymanager.v1.InterrogationResponse mode5_interrogation_response = 1 [json_name = "mode5InterrogationResponse"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Mode5, _impl_.mode5_interrogation_response_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_interrogation_response_)}}, + // uint32 mode5 = 2 [json_name = "mode5"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Mode5, _impl_.mode5_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_)}}, + // uint32 mode5_platform_id = 3 [json_name = "mode5PlatformId"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Mode5, _impl_.mode5_platform_id_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_platform_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .anduril.entitymanager.v1.InterrogationResponse mode5_interrogation_response = 1 [json_name = "mode5InterrogationResponse"]; + {PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_interrogation_response_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // uint32 mode5 = 2 [json_name = "mode5"]; + {PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 mode5_platform_id = 3 [json_name = "mode5PlatformId"]; + {PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_platform_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void Mode5::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.Mode5) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.mode5_interrogation_response_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.mode5_platform_id_) - + reinterpret_cast(&_impl_.mode5_interrogation_response_)) + sizeof(_impl_.mode5_platform_id_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Mode5::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Mode5& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Mode5::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Mode5& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.Mode5) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .anduril.entitymanager.v1.InterrogationResponse mode5_interrogation_response = 1 [json_name = "mode5InterrogationResponse"]; + if (this_._internal_mode5_interrogation_response() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_mode5_interrogation_response(), target); + } + + // uint32 mode5 = 2 [json_name = "mode5"]; + if (this_._internal_mode5() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_mode5(), target); + } + + // uint32 mode5_platform_id = 3 [json_name = "mode5PlatformId"]; + if (this_._internal_mode5_platform_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_mode5_platform_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.Mode5) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Mode5::ByteSizeLong(const MessageLite& base) { + const Mode5& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Mode5::ByteSizeLong() const { + const Mode5& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.Mode5) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .anduril.entitymanager.v1.InterrogationResponse mode5_interrogation_response = 1 [json_name = "mode5InterrogationResponse"]; + if (this_._internal_mode5_interrogation_response() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode5_interrogation_response()); + } + // uint32 mode5 = 2 [json_name = "mode5"]; + if (this_._internal_mode5() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_mode5()); + } + // uint32 mode5_platform_id = 3 [json_name = "mode5PlatformId"]; + if (this_._internal_mode5_platform_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_mode5_platform_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Mode5::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.Mode5) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_mode5_interrogation_response() != 0) { + _this->_impl_.mode5_interrogation_response_ = from._impl_.mode5_interrogation_response_; + } + if (from._internal_mode5() != 0) { + _this->_impl_.mode5_ = from._impl_.mode5_; + } + if (from._internal_mode5_platform_id() != 0) { + _this->_impl_.mode5_platform_id_ = from._impl_.mode5_platform_id_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Mode5::CopyFrom(const Mode5& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.Mode5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Mode5::InternalSwap(Mode5* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_platform_id_) + + sizeof(Mode5::_impl_.mode5_platform_id_) + - PROTOBUF_FIELD_OFFSET(Mode5, _impl_.mode5_interrogation_response_)>( + reinterpret_cast(&_impl_.mode5_interrogation_response_), + reinterpret_cast(&other->_impl_.mode5_interrogation_response_)); +} + +::google::protobuf::Metadata Mode5::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ModeS::_Internal { + public: +}; + +ModeS::ModeS(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.ModeS) +} +inline PROTOBUF_NDEBUG_INLINE ModeS::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::anduril::entitymanager::v1::ModeS& from_msg) + : id_(arena, from.id_), + _cached_size_{0} {} + +ModeS::ModeS( + ::google::protobuf::Arena* arena, + const ModeS& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ModeS* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.address_ = from._impl_.address_; + + // @@protoc_insertion_point(copy_constructor:anduril.entitymanager.v1.ModeS) +} +inline PROTOBUF_NDEBUG_INLINE ModeS::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : id_(arena), + _cached_size_{0} {} + +inline void ModeS::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.address_ = {}; +} +ModeS::~ModeS() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.ModeS) + SharedDtor(*this); +} +inline void ModeS::SharedDtor(MessageLite& self) { + ModeS& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ModeS::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ModeS(arena); +} +constexpr auto ModeS::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ModeS), + alignof(ModeS)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ModeS::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ModeS_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ModeS::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ModeS::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ModeS::ByteSizeLong, + &ModeS::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ModeS, _impl_._cached_size_), + false, + }, + &ModeS::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ModeS::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 41, 2> ModeS::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::ModeS>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 address = 2 [json_name = "address"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ModeS, _impl_.address_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(ModeS, _impl_.address_)}}, + // string id = 1 [json_name = "id"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ModeS, _impl_.id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string id = 1 [json_name = "id"]; + {PROTOBUF_FIELD_OFFSET(ModeS, _impl_.id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // uint32 address = 2 [json_name = "address"]; + {PROTOBUF_FIELD_OFFSET(ModeS, _impl_.address_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + "\36\2\0\0\0\0\0\0" + "anduril.entitymanager.v1.ModeS" + "id" + }}, +}; + +PROTOBUF_NOINLINE void ModeS::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.ModeS) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.id_.ClearToEmpty(); + _impl_.address_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ModeS::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ModeS& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ModeS::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ModeS& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.ModeS) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string id = 1 [json_name = "id"]; + if (!this_._internal_id().empty()) { + const std::string& _s = this_._internal_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "anduril.entitymanager.v1.ModeS.id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 address = 2 [json_name = "address"]; + if (this_._internal_address() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_address(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.ModeS) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ModeS::ByteSizeLong(const MessageLite& base) { + const ModeS& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ModeS::ByteSizeLong() const { + const ModeS& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.ModeS) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string id = 1 [json_name = "id"]; + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_id()); + } + // uint32 address = 2 [json_name = "address"]; + if (this_._internal_address() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_address()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ModeS::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.ModeS) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } + if (from._internal_address() != 0) { + _this->_impl_.address_ = from._impl_.address_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ModeS::CopyFrom(const ModeS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.ModeS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ModeS::InternalSwap(ModeS* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); + swap(_impl_.address_, other->_impl_.address_); +} + +::google::protobuf::Metadata ModeS::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/transponder_codes.pub.pb.h b/src/anduril/entitymanager/v1/transponder_codes.pub.pb.h new file mode 100644 index 0000000..7e0c454 --- /dev/null +++ b/src/anduril/entitymanager/v1/transponder_codes.pub.pb.h @@ -0,0 +1,1272 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/transponder_codes.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "anduril/entitymanager/v1/options.pub.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class Mode5; +struct Mode5DefaultTypeInternal; +extern Mode5DefaultTypeInternal _Mode5_default_instance_; +class ModeS; +struct ModeSDefaultTypeInternal; +extern ModeSDefaultTypeInternal _ModeS_default_instance_; +class TransponderCodes; +struct TransponderCodesDefaultTypeInternal; +extern TransponderCodesDefaultTypeInternal _TransponderCodes_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum InterrogationResponse : int { + INTERROGATION_RESPONSE_INVALID = 0, + INTERROGATION_RESPONSE_CORRECT = 1, + INTERROGATION_RESPONSE_INCORRECT = 2, + INTERROGATION_RESPONSE_NO_RESPONSE = 3, + InterrogationResponse_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + InterrogationResponse_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool InterrogationResponse_IsValid(int value); +extern const uint32_t InterrogationResponse_internal_data_[]; +constexpr InterrogationResponse InterrogationResponse_MIN = static_cast(0); +constexpr InterrogationResponse InterrogationResponse_MAX = static_cast(3); +constexpr int InterrogationResponse_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* +InterrogationResponse_descriptor(); +template +const std::string& InterrogationResponse_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to InterrogationResponse_Name()."); + return InterrogationResponse_Name(static_cast(value)); +} +template <> +inline const std::string& InterrogationResponse_Name(InterrogationResponse value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool InterrogationResponse_Parse(absl::string_view name, InterrogationResponse* value) { + return ::google::protobuf::internal::ParseNamedEnum( + InterrogationResponse_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class ModeS final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.ModeS) */ { + public: + inline ModeS() : ModeS(nullptr) {} + ~ModeS() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ModeS* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ModeS)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ModeS( + ::google::protobuf::internal::ConstantInitialized); + + inline ModeS(const ModeS& from) : ModeS(nullptr, from) {} + inline ModeS(ModeS&& from) noexcept + : ModeS(nullptr, std::move(from)) {} + inline ModeS& operator=(const ModeS& from) { + CopyFrom(from); + return *this; + } + inline ModeS& operator=(ModeS&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ModeS& default_instance() { + return *internal_default_instance(); + } + static inline const ModeS* internal_default_instance() { + return reinterpret_cast( + &_ModeS_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(ModeS& a, ModeS& b) { a.Swap(&b); } + inline void Swap(ModeS* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ModeS* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ModeS* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ModeS& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ModeS& from) { ModeS::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ModeS* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.ModeS"; } + + protected: + explicit ModeS(::google::protobuf::Arena* arena); + ModeS(::google::protobuf::Arena* arena, const ModeS& from); + ModeS(::google::protobuf::Arena* arena, ModeS&& from) noexcept + : ModeS(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIdFieldNumber = 1, + kAddressFieldNumber = 2, + }; + // string id = 1 [json_name = "id"]; + void clear_id() ; + const std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* value); + + private: + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( + const std::string& value); + std::string* _internal_mutable_id(); + + public: + // uint32 address = 2 [json_name = "address"]; + void clear_address() ; + ::uint32_t address() const; + void set_address(::uint32_t value); + + private: + ::uint32_t _internal_address() const; + void _internal_set_address(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.ModeS) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 41, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ModeS& from_msg); + ::google::protobuf::internal::ArenaStringPtr id_; + ::uint32_t address_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class Mode5 final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.Mode5) */ { + public: + inline Mode5() : Mode5(nullptr) {} + ~Mode5() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Mode5* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Mode5)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Mode5( + ::google::protobuf::internal::ConstantInitialized); + + inline Mode5(const Mode5& from) : Mode5(nullptr, from) {} + inline Mode5(Mode5&& from) noexcept + : Mode5(nullptr, std::move(from)) {} + inline Mode5& operator=(const Mode5& from) { + CopyFrom(from); + return *this; + } + inline Mode5& operator=(Mode5&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Mode5& default_instance() { + return *internal_default_instance(); + } + static inline const Mode5* internal_default_instance() { + return reinterpret_cast( + &_Mode5_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Mode5& a, Mode5& b) { a.Swap(&b); } + inline void Swap(Mode5* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Mode5* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Mode5* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Mode5& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Mode5& from) { Mode5::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Mode5* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.Mode5"; } + + protected: + explicit Mode5(::google::protobuf::Arena* arena); + Mode5(::google::protobuf::Arena* arena, const Mode5& from); + Mode5(::google::protobuf::Arena* arena, Mode5&& from) noexcept + : Mode5(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMode5InterrogationResponseFieldNumber = 1, + kMode5FieldNumber = 2, + kMode5PlatformIdFieldNumber = 3, + }; + // .anduril.entitymanager.v1.InterrogationResponse mode5_interrogation_response = 1 [json_name = "mode5InterrogationResponse"]; + void clear_mode5_interrogation_response() ; + ::anduril::entitymanager::v1::InterrogationResponse mode5_interrogation_response() const; + void set_mode5_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value); + + private: + ::anduril::entitymanager::v1::InterrogationResponse _internal_mode5_interrogation_response() const; + void _internal_set_mode5_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value); + + public: + // uint32 mode5 = 2 [json_name = "mode5"]; + void clear_mode5() ; + ::uint32_t mode5() const; + void set_mode5(::uint32_t value); + + private: + ::uint32_t _internal_mode5() const; + void _internal_set_mode5(::uint32_t value); + + public: + // uint32 mode5_platform_id = 3 [json_name = "mode5PlatformId"]; + void clear_mode5_platform_id() ; + ::uint32_t mode5_platform_id() const; + void set_mode5_platform_id(::uint32_t value); + + private: + ::uint32_t _internal_mode5_platform_id() const; + void _internal_set_mode5_platform_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.Mode5) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Mode5& from_msg); + int mode5_interrogation_response_; + ::uint32_t mode5_; + ::uint32_t mode5_platform_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto; +}; +// ------------------------------------------------------------------- + +class TransponderCodes final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:anduril.entitymanager.v1.TransponderCodes) */ { + public: + inline TransponderCodes() : TransponderCodes(nullptr) {} + ~TransponderCodes() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TransponderCodes* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TransponderCodes)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TransponderCodes( + ::google::protobuf::internal::ConstantInitialized); + + inline TransponderCodes(const TransponderCodes& from) : TransponderCodes(nullptr, from) {} + inline TransponderCodes(TransponderCodes&& from) noexcept + : TransponderCodes(nullptr, std::move(from)) {} + inline TransponderCodes& operator=(const TransponderCodes& from) { + CopyFrom(from); + return *this; + } + inline TransponderCodes& operator=(TransponderCodes&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TransponderCodes& default_instance() { + return *internal_default_instance(); + } + static inline const TransponderCodes* internal_default_instance() { + return reinterpret_cast( + &_TransponderCodes_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(TransponderCodes& a, TransponderCodes& b) { a.Swap(&b); } + inline void Swap(TransponderCodes* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TransponderCodes* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TransponderCodes* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TransponderCodes& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TransponderCodes& from) { TransponderCodes::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TransponderCodes* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "anduril.entitymanager.v1.TransponderCodes"; } + + protected: + explicit TransponderCodes(::google::protobuf::Arena* arena); + TransponderCodes(::google::protobuf::Arena* arena, const TransponderCodes& from); + TransponderCodes(::google::protobuf::Arena* arena, TransponderCodes&& from) noexcept + : TransponderCodes(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMode5FieldNumber = 5, + kModeSFieldNumber = 6, + kMode1FieldNumber = 1, + kMode2FieldNumber = 2, + kMode3FieldNumber = 3, + kMode4InterrogationResponseFieldNumber = 4, + }; + // .anduril.entitymanager.v1.Mode5 mode5 = 5 [json_name = "mode5", (.anduril.entitymanager.v1.overridable) = true]; + bool has_mode5() const; + void clear_mode5() ; + const ::anduril::entitymanager::v1::Mode5& mode5() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::Mode5* release_mode5(); + ::anduril::entitymanager::v1::Mode5* mutable_mode5(); + void set_allocated_mode5(::anduril::entitymanager::v1::Mode5* value); + void unsafe_arena_set_allocated_mode5(::anduril::entitymanager::v1::Mode5* value); + ::anduril::entitymanager::v1::Mode5* unsafe_arena_release_mode5(); + + private: + const ::anduril::entitymanager::v1::Mode5& _internal_mode5() const; + ::anduril::entitymanager::v1::Mode5* _internal_mutable_mode5(); + + public: + // .anduril.entitymanager.v1.ModeS mode_s = 6 [json_name = "modeS", (.anduril.entitymanager.v1.overridable) = true]; + bool has_mode_s() const; + void clear_mode_s() ; + const ::anduril::entitymanager::v1::ModeS& mode_s() const; + PROTOBUF_NODISCARD ::anduril::entitymanager::v1::ModeS* release_mode_s(); + ::anduril::entitymanager::v1::ModeS* mutable_mode_s(); + void set_allocated_mode_s(::anduril::entitymanager::v1::ModeS* value); + void unsafe_arena_set_allocated_mode_s(::anduril::entitymanager::v1::ModeS* value); + ::anduril::entitymanager::v1::ModeS* unsafe_arena_release_mode_s(); + + private: + const ::anduril::entitymanager::v1::ModeS& _internal_mode_s() const; + ::anduril::entitymanager::v1::ModeS* _internal_mutable_mode_s(); + + public: + // uint32 mode1 = 1 [json_name = "mode1", (.anduril.entitymanager.v1.overridable) = true]; + void clear_mode1() ; + ::uint32_t mode1() const; + void set_mode1(::uint32_t value); + + private: + ::uint32_t _internal_mode1() const; + void _internal_set_mode1(::uint32_t value); + + public: + // uint32 mode2 = 2 [json_name = "mode2", (.anduril.entitymanager.v1.overridable) = true]; + void clear_mode2() ; + ::uint32_t mode2() const; + void set_mode2(::uint32_t value); + + private: + ::uint32_t _internal_mode2() const; + void _internal_set_mode2(::uint32_t value); + + public: + // uint32 mode3 = 3 [json_name = "mode3", (.anduril.entitymanager.v1.overridable) = true]; + void clear_mode3() ; + ::uint32_t mode3() const; + void set_mode3(::uint32_t value); + + private: + ::uint32_t _internal_mode3() const; + void _internal_set_mode3(::uint32_t value); + + public: + // .anduril.entitymanager.v1.InterrogationResponse mode4_interrogation_response = 4 [json_name = "mode4InterrogationResponse", (.anduril.entitymanager.v1.overridable) = true]; + void clear_mode4_interrogation_response() ; + ::anduril::entitymanager::v1::InterrogationResponse mode4_interrogation_response() const; + void set_mode4_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value); + + private: + ::anduril::entitymanager::v1::InterrogationResponse _internal_mode4_interrogation_response() const; + void _internal_set_mode4_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value); + + public: + // @@protoc_insertion_point(class_scope:anduril.entitymanager.v1.TransponderCodes) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TransponderCodes& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::anduril::entitymanager::v1::Mode5* mode5_; + ::anduril::entitymanager::v1::ModeS* mode_s_; + ::uint32_t mode1_; + ::uint32_t mode2_; + ::uint32_t mode3_; + int mode4_interrogation_response_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// TransponderCodes + +// uint32 mode1 = 1 [json_name = "mode1", (.anduril.entitymanager.v1.overridable) = true]; +inline void TransponderCodes::clear_mode1() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode1_ = 0u; +} +inline ::uint32_t TransponderCodes::mode1() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TransponderCodes.mode1) + return _internal_mode1(); +} +inline void TransponderCodes::set_mode1(::uint32_t value) { + _internal_set_mode1(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TransponderCodes.mode1) +} +inline ::uint32_t TransponderCodes::_internal_mode1() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mode1_; +} +inline void TransponderCodes::_internal_set_mode1(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode1_ = value; +} + +// uint32 mode2 = 2 [json_name = "mode2", (.anduril.entitymanager.v1.overridable) = true]; +inline void TransponderCodes::clear_mode2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode2_ = 0u; +} +inline ::uint32_t TransponderCodes::mode2() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TransponderCodes.mode2) + return _internal_mode2(); +} +inline void TransponderCodes::set_mode2(::uint32_t value) { + _internal_set_mode2(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TransponderCodes.mode2) +} +inline ::uint32_t TransponderCodes::_internal_mode2() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mode2_; +} +inline void TransponderCodes::_internal_set_mode2(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode2_ = value; +} + +// uint32 mode3 = 3 [json_name = "mode3", (.anduril.entitymanager.v1.overridable) = true]; +inline void TransponderCodes::clear_mode3() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode3_ = 0u; +} +inline ::uint32_t TransponderCodes::mode3() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TransponderCodes.mode3) + return _internal_mode3(); +} +inline void TransponderCodes::set_mode3(::uint32_t value) { + _internal_set_mode3(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TransponderCodes.mode3) +} +inline ::uint32_t TransponderCodes::_internal_mode3() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mode3_; +} +inline void TransponderCodes::_internal_set_mode3(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode3_ = value; +} + +// .anduril.entitymanager.v1.InterrogationResponse mode4_interrogation_response = 4 [json_name = "mode4InterrogationResponse", (.anduril.entitymanager.v1.overridable) = true]; +inline void TransponderCodes::clear_mode4_interrogation_response() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode4_interrogation_response_ = 0; +} +inline ::anduril::entitymanager::v1::InterrogationResponse TransponderCodes::mode4_interrogation_response() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TransponderCodes.mode4_interrogation_response) + return _internal_mode4_interrogation_response(); +} +inline void TransponderCodes::set_mode4_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value) { + _internal_set_mode4_interrogation_response(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.TransponderCodes.mode4_interrogation_response) +} +inline ::anduril::entitymanager::v1::InterrogationResponse TransponderCodes::_internal_mode4_interrogation_response() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::InterrogationResponse>(_impl_.mode4_interrogation_response_); +} +inline void TransponderCodes::_internal_set_mode4_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode4_interrogation_response_ = value; +} + +// .anduril.entitymanager.v1.Mode5 mode5 = 5 [json_name = "mode5", (.anduril.entitymanager.v1.overridable) = true]; +inline bool TransponderCodes::has_mode5() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.mode5_ != nullptr); + return value; +} +inline void TransponderCodes::clear_mode5() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.mode5_ != nullptr) _impl_.mode5_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::anduril::entitymanager::v1::Mode5& TransponderCodes::_internal_mode5() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::Mode5* p = _impl_.mode5_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_Mode5_default_instance_); +} +inline const ::anduril::entitymanager::v1::Mode5& TransponderCodes::mode5() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TransponderCodes.mode5) + return _internal_mode5(); +} +inline void TransponderCodes::unsafe_arena_set_allocated_mode5(::anduril::entitymanager::v1::Mode5* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mode5_); + } + _impl_.mode5_ = reinterpret_cast<::anduril::entitymanager::v1::Mode5*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TransponderCodes.mode5) +} +inline ::anduril::entitymanager::v1::Mode5* TransponderCodes::release_mode5() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Mode5* released = _impl_.mode5_; + _impl_.mode5_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::Mode5* TransponderCodes::unsafe_arena_release_mode5() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TransponderCodes.mode5) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::anduril::entitymanager::v1::Mode5* temp = _impl_.mode5_; + _impl_.mode5_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::Mode5* TransponderCodes::_internal_mutable_mode5() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.mode5_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::Mode5>(GetArena()); + _impl_.mode5_ = reinterpret_cast<::anduril::entitymanager::v1::Mode5*>(p); + } + return _impl_.mode5_; +} +inline ::anduril::entitymanager::v1::Mode5* TransponderCodes::mutable_mode5() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::anduril::entitymanager::v1::Mode5* _msg = _internal_mutable_mode5(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TransponderCodes.mode5) + return _msg; +} +inline void TransponderCodes::set_allocated_mode5(::anduril::entitymanager::v1::Mode5* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.mode5_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.mode5_ = reinterpret_cast<::anduril::entitymanager::v1::Mode5*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TransponderCodes.mode5) +} + +// .anduril.entitymanager.v1.ModeS mode_s = 6 [json_name = "modeS", (.anduril.entitymanager.v1.overridable) = true]; +inline bool TransponderCodes::has_mode_s() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.mode_s_ != nullptr); + return value; +} +inline void TransponderCodes::clear_mode_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.mode_s_ != nullptr) _impl_.mode_s_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::anduril::entitymanager::v1::ModeS& TransponderCodes::_internal_mode_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::anduril::entitymanager::v1::ModeS* p = _impl_.mode_s_; + return p != nullptr ? *p : reinterpret_cast(::anduril::entitymanager::v1::_ModeS_default_instance_); +} +inline const ::anduril::entitymanager::v1::ModeS& TransponderCodes::mode_s() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.TransponderCodes.mode_s) + return _internal_mode_s(); +} +inline void TransponderCodes::unsafe_arena_set_allocated_mode_s(::anduril::entitymanager::v1::ModeS* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mode_s_); + } + _impl_.mode_s_ = reinterpret_cast<::anduril::entitymanager::v1::ModeS*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:anduril.entitymanager.v1.TransponderCodes.mode_s) +} +inline ::anduril::entitymanager::v1::ModeS* TransponderCodes::release_mode_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::ModeS* released = _impl_.mode_s_; + _impl_.mode_s_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::anduril::entitymanager::v1::ModeS* TransponderCodes::unsafe_arena_release_mode_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.TransponderCodes.mode_s) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::anduril::entitymanager::v1::ModeS* temp = _impl_.mode_s_; + _impl_.mode_s_ = nullptr; + return temp; +} +inline ::anduril::entitymanager::v1::ModeS* TransponderCodes::_internal_mutable_mode_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.mode_s_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::anduril::entitymanager::v1::ModeS>(GetArena()); + _impl_.mode_s_ = reinterpret_cast<::anduril::entitymanager::v1::ModeS*>(p); + } + return _impl_.mode_s_; +} +inline ::anduril::entitymanager::v1::ModeS* TransponderCodes::mutable_mode_s() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::anduril::entitymanager::v1::ModeS* _msg = _internal_mutable_mode_s(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.TransponderCodes.mode_s) + return _msg; +} +inline void TransponderCodes::set_allocated_mode_s(::anduril::entitymanager::v1::ModeS* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.mode_s_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.mode_s_ = reinterpret_cast<::anduril::entitymanager::v1::ModeS*>(value); + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.TransponderCodes.mode_s) +} + +// ------------------------------------------------------------------- + +// Mode5 + +// .anduril.entitymanager.v1.InterrogationResponse mode5_interrogation_response = 1 [json_name = "mode5InterrogationResponse"]; +inline void Mode5::clear_mode5_interrogation_response() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode5_interrogation_response_ = 0; +} +inline ::anduril::entitymanager::v1::InterrogationResponse Mode5::mode5_interrogation_response() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Mode5.mode5_interrogation_response) + return _internal_mode5_interrogation_response(); +} +inline void Mode5::set_mode5_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value) { + _internal_set_mode5_interrogation_response(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Mode5.mode5_interrogation_response) +} +inline ::anduril::entitymanager::v1::InterrogationResponse Mode5::_internal_mode5_interrogation_response() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::anduril::entitymanager::v1::InterrogationResponse>(_impl_.mode5_interrogation_response_); +} +inline void Mode5::_internal_set_mode5_interrogation_response(::anduril::entitymanager::v1::InterrogationResponse value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode5_interrogation_response_ = value; +} + +// uint32 mode5 = 2 [json_name = "mode5"]; +inline void Mode5::clear_mode5() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode5_ = 0u; +} +inline ::uint32_t Mode5::mode5() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Mode5.mode5) + return _internal_mode5(); +} +inline void Mode5::set_mode5(::uint32_t value) { + _internal_set_mode5(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Mode5.mode5) +} +inline ::uint32_t Mode5::_internal_mode5() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mode5_; +} +inline void Mode5::_internal_set_mode5(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode5_ = value; +} + +// uint32 mode5_platform_id = 3 [json_name = "mode5PlatformId"]; +inline void Mode5::clear_mode5_platform_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode5_platform_id_ = 0u; +} +inline ::uint32_t Mode5::mode5_platform_id() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.Mode5.mode5_platform_id) + return _internal_mode5_platform_id(); +} +inline void Mode5::set_mode5_platform_id(::uint32_t value) { + _internal_set_mode5_platform_id(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.Mode5.mode5_platform_id) +} +inline ::uint32_t Mode5::_internal_mode5_platform_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mode5_platform_id_; +} +inline void Mode5::_internal_set_mode5_platform_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mode5_platform_id_ = value; +} + +// ------------------------------------------------------------------- + +// ModeS + +// string id = 1 [json_name = "id"]; +inline void ModeS::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.ClearToEmpty(); +} +inline const std::string& ModeS::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ModeS.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ModeS::set_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ModeS.id) +} +inline std::string* ModeS::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:anduril.entitymanager.v1.ModeS.id) + return _s; +} +inline const std::string& ModeS::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_.Get(); +} +inline void ModeS::_internal_set_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(value, GetArena()); +} +inline std::string* ModeS::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.id_.Mutable( GetArena()); +} +inline std::string* ModeS::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:anduril.entitymanager.v1.ModeS.id) + return _impl_.id_.Release(); +} +inline void ModeS::set_allocated_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:anduril.entitymanager.v1.ModeS.id) +} + +// uint32 address = 2 [json_name = "address"]; +inline void ModeS::clear_address() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.address_ = 0u; +} +inline ::uint32_t ModeS::address() const { + // @@protoc_insertion_point(field_get:anduril.entitymanager.v1.ModeS.address) + return _internal_address(); +} +inline void ModeS::set_address(::uint32_t value) { + _internal_set_address(value); + // @@protoc_insertion_point(field_set:anduril.entitymanager.v1.ModeS.address) +} +inline ::uint32_t ModeS::_internal_address() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.address_; +} +inline void ModeS::_internal_set_address(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.address_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::anduril::entitymanager::v1::InterrogationResponse> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::anduril::entitymanager::v1::InterrogationResponse>() { + return ::anduril::entitymanager::v1::InterrogationResponse_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // anduril_2fentitymanager_2fv1_2ftransponder_5fcodes_2epub_2eproto_2epb_2eh diff --git a/src/anduril/entitymanager/v1/types.pub.grpc.pb.cc b/src/anduril/entitymanager/v1/types.pub.grpc.pb.cc new file mode 100644 index 0000000..b37a2ec --- /dev/null +++ b/src/anduril/entitymanager/v1/types.pub.grpc.pb.cc @@ -0,0 +1,29 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/types.pub.proto + +#include "anduril/entitymanager/v1/types.pub.pb.h" +#include "anduril/entitymanager/v1/types.pub.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace anduril +} // namespace entitymanager +} // namespace v1 + diff --git a/src/anduril/entitymanager/v1/types.pub.grpc.pb.h b/src/anduril/entitymanager/v1/types.pub.grpc.pb.h new file mode 100644 index 0000000..1756daa --- /dev/null +++ b/src/anduril/entitymanager/v1/types.pub.grpc.pb.h @@ -0,0 +1,37 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: anduril/entitymanager/v1/types.pub.proto +#ifndef GRPC_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto__INCLUDED +#define GRPC_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto__INCLUDED + +#include "anduril/entitymanager/v1/types.pub.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace anduril { +namespace entitymanager { +namespace v1 { + +} // namespace v1 +} // namespace entitymanager +} // namespace anduril + + +#endif // GRPC_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto__INCLUDED diff --git a/src/anduril/entitymanager/v1/types.pub.pb.cc b/src/anduril/entitymanager/v1/types.pub.pb.cc new file mode 100644 index 0000000..f5657b1 --- /dev/null +++ b/src/anduril/entitymanager/v1/types.pub.pb.cc @@ -0,0 +1,715 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/types.pub.proto +// Protobuf C++ Version: 5.29.0 + +#include "anduril/entitymanager/v1/types.pub.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace anduril { +namespace entitymanager { +namespace v1 { + +inline constexpr UInt32Range::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : lower_bound_{0u}, + upper_bound_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR UInt32Range::UInt32Range(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct UInt32RangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR UInt32RangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UInt32RangeDefaultTypeInternal() {} + union { + UInt32Range _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt32RangeDefaultTypeInternal _UInt32Range_default_instance_; + +inline constexpr FloatRange::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : lower_bound_{0}, + upper_bound_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR FloatRange::FloatRange(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FloatRangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR FloatRangeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FloatRangeDefaultTypeInternal() {} + union { + FloatRange _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatRangeDefaultTypeInternal _FloatRange_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto[4]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto = nullptr; +const ::uint32_t + TableStruct_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::UInt32Range, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::UInt32Range, _impl_.lower_bound_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::UInt32Range, _impl_.upper_bound_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FloatRange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FloatRange, _impl_.lower_bound_), + PROTOBUF_FIELD_OFFSET(::anduril::entitymanager::v1::FloatRange, _impl_.upper_bound_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::anduril::entitymanager::v1::UInt32Range)}, + {10, -1, -1, sizeof(::anduril::entitymanager::v1::FloatRange)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::anduril::entitymanager::v1::_UInt32Range_default_instance_._instance, + &::anduril::entitymanager::v1::_FloatRange_default_instance_._instance, +}; +const char descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n(anduril/entitymanager/v1/types.pub.pro" + "to\022\030anduril.entitymanager.v1\"O\n\013UInt32Ra" + "nge\022\037\n\013lower_bound\030\001 \001(\rR\nlowerBound\022\037\n\013" + "upper_bound\030\002 \001(\rR\nupperBound\"N\n\nFloatRa" + "nge\022\037\n\013lower_bound\030\001 \001(\002R\nlowerBound\022\037\n\013" + "upper_bound\030\002 \001(\002R\nupperBound*\230\005\n\tAltIdT" + "ype\022\027\n\023ALT_ID_TYPE_INVALID\020\000\022\032\n\026ALT_ID_T" + "YPE_TRACK_ID_2\020\001\022\032\n\026ALT_ID_TYPE_TRACK_ID" + "_1\020\014\022\026\n\022ALT_ID_TYPE_SPI_ID\020\002\022\037\n\033ALT_ID_T" + "YPE_NITF_FILE_TITLE\020\003\022#\n\037ALT_ID_TYPE_TRA" + "CK_REPO_ALERT_ID\020\004\022\030\n\024ALT_ID_TYPE_ASSET_" + "ID\020\005\022#\n\037ALT_ID_TYPE_LINK16_TRACK_NUMBER\020" + "\006\022\031\n\025ALT_ID_TYPE_LINK16_JU\020\007\022\037\n\033ALT_ID_T" + "YPE_NCCT_MESSAGE_ID\020\010\022\030\n\024ALT_ID_TYPE_CAL" + "LSIGN\020\t\022\027\n\023ALT_ID_TYPE_MMSI_ID\020\n\022\027\n\023ALT_" + "ID_TYPE_VMF_URN\020\013\022\026\n\022ALT_ID_TYPE_IMO_ID\020" + "\r\022!\n\035ALT_ID_TYPE_VMF_TARGET_NUMBER\020\016\022\035\n\031" + "ALT_ID_TYPE_SERIAL_NUMBER\020\017\022\037\n\033ALT_ID_TY" + "PE_REGISTRATION_ID\020\020\022\027\n\023ALT_ID_TYPE_IBS_" + "GID\020\021\022\026\n\022ALT_ID_TYPE_DODAAC\020\022\022\023\n\017ALT_ID_" + "TYPE_UIC\020\023\022\034\n\030ALT_ID_TYPE_NORAD_CAT_ID\020\024" + "\022\033\n\027ALT_ID_TYPE_UNOOSA_NAME\020\027\022\031\n\025ALT_ID_" + "TYPE_UNOOSA_ID\020\030*\242\001\n\010Template\022\024\n\020TEMPLAT" + "E_INVALID\020\000\022\022\n\016TEMPLATE_TRACK\020\001\022%\n!TEMPL" + "ATE_SENSOR_POINT_OF_INTEREST\020\002\022\022\n\016TEMPLA" + "TE_ASSET\020\003\022\020\n\014TEMPLATE_GEO\020\004\022\037\n\033TEMPLATE" + "_SIGNAL_OF_INTEREST\020\005*\310\001\n\016OverrideStatus" + "\022\033\n\027OVERRIDE_STATUS_INVALID\020\000\022\033\n\027OVERRID" + "E_STATUS_APPLIED\020\001\022\033\n\027OVERRIDE_STATUS_PE" + "NDING\020\002\022\033\n\027OVERRIDE_STATUS_TIMEOUT\020\003\022\034\n\030" + "OVERRIDE_STATUS_REJECTED\020\004\022$\n OVERRIDE_S" + "TATUS_DELETION_PENDING\020\005*`\n\014OverrideType" + "\022\031\n\025OVERRIDE_TYPE_INVALID\020\000\022\026\n\022OVERRIDE_" + "TYPE_LIVE\020\001\022\035\n\031OVERRIDE_TYPE_POST_EXPIRY" + "\020\002B\376\001\n\034com.anduril.entitymanager.v1B\rTyp" + "esPubProtoP\001ZMghe.anduril.dev/anduril/an" + "durilapis-go/anduril/entitymanager/v1;en" + "titymanager\242\002\003AEX\252\002\030Anduril.Entitymanage" + "r.V1\312\002\030Anduril\\Entitymanager\\V1\342\002$Anduri" + "l\\Entitymanager\\V1\\GPBMetadata\352\002\032Anduril" + "::Entitymanager::V1b\006proto3" +}; +static ::absl::once_flag descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto = { + false, + false, + 1627, + descriptor_table_protodef_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + "anduril/entitymanager/v1/types.pub.proto", + &descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto_once, + nullptr, + 0, + 2, + schemas, + file_default_instances, + TableStruct_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto::offsets, + file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + file_level_service_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, +}; +namespace anduril { +namespace entitymanager { +namespace v1 { +const ::google::protobuf::EnumDescriptor* AltIdType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t AltIdType_internal_data_[] = { + 1376256u, 32u, 12u, }; +bool AltIdType_IsValid(int value) { + return 0 <= value && value <= 24 && ((27262975u >> value) & 1) != 0; +} +const ::google::protobuf::EnumDescriptor* Template_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t Template_internal_data_[] = { + 393216u, 0u, }; +bool Template_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* OverrideStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto[2]; +} +PROTOBUF_CONSTINIT const uint32_t OverrideStatus_internal_data_[] = { + 393216u, 0u, }; +bool OverrideStatus_IsValid(int value) { + return 0 <= value && value <= 5; +} +const ::google::protobuf::EnumDescriptor* OverrideType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto); + return file_level_enum_descriptors_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto[3]; +} +PROTOBUF_CONSTINIT const uint32_t OverrideType_internal_data_[] = { + 196608u, 0u, }; +bool OverrideType_IsValid(int value) { + return 0 <= value && value <= 2; +} +// =================================================================== + +class UInt32Range::_Internal { + public: +}; + +UInt32Range::UInt32Range(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.UInt32Range) +} +UInt32Range::UInt32Range( + ::google::protobuf::Arena* arena, const UInt32Range& from) + : UInt32Range(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE UInt32Range::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void UInt32Range::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lower_bound_), + 0, + offsetof(Impl_, upper_bound_) - + offsetof(Impl_, lower_bound_) + + sizeof(Impl_::upper_bound_)); +} +UInt32Range::~UInt32Range() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.UInt32Range) + SharedDtor(*this); +} +inline void UInt32Range::SharedDtor(MessageLite& self) { + UInt32Range& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* UInt32Range::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) UInt32Range(arena); +} +constexpr auto UInt32Range::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt32Range), + alignof(UInt32Range)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull UInt32Range::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_UInt32Range_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &UInt32Range::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &UInt32Range::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &UInt32Range::ByteSizeLong, + &UInt32Range::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_._cached_size_), + false, + }, + &UInt32Range::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* UInt32Range::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> UInt32Range::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::UInt32Range>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 upper_bound = 2 [json_name = "upperBound"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UInt32Range, _impl_.upper_bound_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_.upper_bound_)}}, + // uint32 lower_bound = 1 [json_name = "lowerBound"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UInt32Range, _impl_.lower_bound_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_.lower_bound_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 lower_bound = 1 [json_name = "lowerBound"]; + {PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_.lower_bound_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 upper_bound = 2 [json_name = "upperBound"]; + {PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_.upper_bound_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void UInt32Range::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.UInt32Range) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lower_bound_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.upper_bound_) - + reinterpret_cast(&_impl_.lower_bound_)) + sizeof(_impl_.upper_bound_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* UInt32Range::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const UInt32Range& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* UInt32Range::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const UInt32Range& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.UInt32Range) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 lower_bound = 1 [json_name = "lowerBound"]; + if (this_._internal_lower_bound() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_lower_bound(), target); + } + + // uint32 upper_bound = 2 [json_name = "upperBound"]; + if (this_._internal_upper_bound() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_upper_bound(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.UInt32Range) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t UInt32Range::ByteSizeLong(const MessageLite& base) { + const UInt32Range& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t UInt32Range::ByteSizeLong() const { + const UInt32Range& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.UInt32Range) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // uint32 lower_bound = 1 [json_name = "lowerBound"]; + if (this_._internal_lower_bound() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_lower_bound()); + } + // uint32 upper_bound = 2 [json_name = "upperBound"]; + if (this_._internal_upper_bound() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_upper_bound()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void UInt32Range::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.UInt32Range) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_lower_bound() != 0) { + _this->_impl_.lower_bound_ = from._impl_.lower_bound_; + } + if (from._internal_upper_bound() != 0) { + _this->_impl_.upper_bound_ = from._impl_.upper_bound_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void UInt32Range::CopyFrom(const UInt32Range& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.UInt32Range) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void UInt32Range::InternalSwap(UInt32Range* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_.upper_bound_) + + sizeof(UInt32Range::_impl_.upper_bound_) + - PROTOBUF_FIELD_OFFSET(UInt32Range, _impl_.lower_bound_)>( + reinterpret_cast(&_impl_.lower_bound_), + reinterpret_cast(&other->_impl_.lower_bound_)); +} + +::google::protobuf::Metadata UInt32Range::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class FloatRange::_Internal { + public: +}; + +FloatRange::FloatRange(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:anduril.entitymanager.v1.FloatRange) +} +FloatRange::FloatRange( + ::google::protobuf::Arena* arena, const FloatRange& from) + : FloatRange(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE FloatRange::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FloatRange::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lower_bound_), + 0, + offsetof(Impl_, upper_bound_) - + offsetof(Impl_, lower_bound_) + + sizeof(Impl_::upper_bound_)); +} +FloatRange::~FloatRange() { + // @@protoc_insertion_point(destructor:anduril.entitymanager.v1.FloatRange) + SharedDtor(*this); +} +inline void FloatRange::SharedDtor(MessageLite& self) { + FloatRange& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* FloatRange::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FloatRange(arena); +} +constexpr auto FloatRange::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FloatRange), + alignof(FloatRange)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull FloatRange::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_FloatRange_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FloatRange::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FloatRange::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FloatRange::ByteSizeLong, + &FloatRange::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FloatRange, _impl_._cached_size_), + false, + }, + &FloatRange::kDescriptorMethods, + &descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FloatRange::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> FloatRange::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::anduril::entitymanager::v1::FloatRange>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float upper_bound = 2 [json_name = "upperBound"]; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(FloatRange, _impl_.upper_bound_)}}, + // float lower_bound = 1 [json_name = "lowerBound"]; + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(FloatRange, _impl_.lower_bound_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float lower_bound = 1 [json_name = "lowerBound"]; + {PROTOBUF_FIELD_OFFSET(FloatRange, _impl_.lower_bound_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float upper_bound = 2 [json_name = "upperBound"]; + {PROTOBUF_FIELD_OFFSET(FloatRange, _impl_.upper_bound_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void FloatRange::Clear() { +// @@protoc_insertion_point(message_clear_start:anduril.entitymanager.v1.FloatRange) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lower_bound_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.upper_bound_) - + reinterpret_cast(&_impl_.lower_bound_)) + sizeof(_impl_.upper_bound_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FloatRange::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FloatRange& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FloatRange::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FloatRange& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:anduril.entitymanager.v1.FloatRange) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float lower_bound = 1 [json_name = "lowerBound"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_lower_bound()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_lower_bound(), target); + } + + // float upper_bound = 2 [json_name = "upperBound"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_upper_bound()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_upper_bound(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:anduril.entitymanager.v1.FloatRange) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t FloatRange::ByteSizeLong(const MessageLite& base) { + const FloatRange& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FloatRange::ByteSizeLong() const { + const FloatRange& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:anduril.entitymanager.v1.FloatRange) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float lower_bound = 1 [json_name = "lowerBound"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_lower_bound()) != 0) { + total_size += 5; + } + // float upper_bound = 2 [json_name = "upperBound"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_upper_bound()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void FloatRange::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:anduril.entitymanager.v1.FloatRange) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint32_t>(from._internal_lower_bound()) != 0) { + _this->_impl_.lower_bound_ = from._impl_.lower_bound_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_upper_bound()) != 0) { + _this->_impl_.upper_bound_ = from._impl_.upper_bound_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void FloatRange::CopyFrom(const FloatRange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:anduril.entitymanager.v1.FloatRange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void FloatRange::InternalSwap(FloatRange* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(FloatRange, _impl_.upper_bound_) + + sizeof(FloatRange::_impl_.upper_bound_) + - PROTOBUF_FIELD_OFFSET(FloatRange, _impl_.lower_bound_)>( + reinterpret_cast(&_impl_.lower_bound_), + reinterpret_cast(&other->_impl_.lower_bound_)); +} + +::google::protobuf::Metadata FloatRange::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/src/anduril/entitymanager/v1/types.pub.pb.h b/src/anduril/entitymanager/v1/types.pub.pb.h new file mode 100644 index 0000000..71fef6f --- /dev/null +++ b/src/anduril/entitymanager/v1/types.pub.pb.h @@ -0,0 +1,801 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: anduril/entitymanager/v1/types.pub.proto +// Protobuf C++ Version: 5.29.0 + +#ifndef anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto_2epb_2eh +#define anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029000 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_anduril_2fentitymanager_2fv1_2ftypes_2epub_2eproto; +namespace anduril { +namespace entitymanager { +namespace v1 { +class FloatRange; +struct FloatRangeDefaultTypeInternal; +extern FloatRangeDefaultTypeInternal _FloatRange_default_instance_; +class UInt32Range; +struct UInt32RangeDefaultTypeInternal; +extern UInt32RangeDefaultTypeInternal _UInt32Range_default_instance_; +} // namespace v1 +} // namespace entitymanager +} // namespace anduril +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace anduril { +namespace entitymanager { +namespace v1 { +enum AltIdType : int { + ALT_ID_TYPE_INVALID = 0, + ALT_ID_TYPE_TRACK_ID_2 = 1, + ALT_ID_TYPE_TRACK_ID_1 = 12, + ALT_ID_TYPE_SPI_ID = 2, + ALT_ID_TYPE_NITF_FILE_TITLE = 3, + ALT_ID_TYPE_TRACK_REPO_ALERT_ID = 4, + ALT_ID_TYPE_ASSET_ID = 5, + ALT_ID_TYPE_LINK16_TRACK_NUMBER = 6, + ALT_ID_TYPE_LINK16_JU = 7, + ALT_ID_TYPE_NCCT_MESSAGE_ID = 8, + ALT_ID_TYPE_CALLSIGN = 9, + ALT_ID_TYPE_MMSI_ID = 10, + ALT_ID_TYPE_VMF_URN = 11, + ALT_ID_TYPE_IMO_ID = 13, + ALT_ID_TYPE_VMF_TARGET_NUMBER = 14, + ALT_ID_TYPE_SERIAL_NUMBER = 15, + ALT_ID_TYPE_REGISTRATION_ID = 16, + ALT_ID_TYPE_IBS_GID = 17, + ALT_ID_TYPE_DODAAC = 18, + ALT_ID_TYPE_UIC = 19, + ALT_ID_TYPE_NORAD_CAT_ID = 20, + ALT_ID_TYPE_UNOOSA_NAME = 23, + ALT_ID_TYPE_UNOOSA_ID = 24, + AltIdType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + AltIdType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool AltIdType_IsValid(int value); +extern const uint32_t AltIdType_internal_data_[]; +constexpr AltIdType AltIdType_MIN = static_cast(0); +constexpr AltIdType AltIdType_MAX = static_cast(24); +constexpr int AltIdType_ARRAYSIZE = 24 + 1; +const ::google::protobuf::EnumDescriptor* +AltIdType_descriptor(); +template +const std::string& AltIdType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to AltIdType_Name()."); + return AltIdType_Name(static_cast(value)); +} +template <> +inline const std::string& AltIdType_Name(AltIdType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool AltIdType_Parse(absl::string_view name, AltIdType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + AltIdType_descriptor(), name, value); +} +enum Template : int { + TEMPLATE_INVALID = 0, + TEMPLATE_TRACK = 1, + TEMPLATE_SENSOR_POINT_OF_INTEREST = 2, + TEMPLATE_ASSET = 3, + TEMPLATE_GEO = 4, + TEMPLATE_SIGNAL_OF_INTEREST = 5, + Template_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + Template_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool Template_IsValid(int value); +extern const uint32_t Template_internal_data_[]; +constexpr Template Template_MIN = static_cast