|
| 1 | +syntax = "proto3"; |
| 2 | + |
| 3 | +package scd; |
| 4 | + |
| 5 | +import "scd/availability.proto"; |
| 6 | +import "scd/constraint.proto"; |
| 7 | +import "scd/operational_intents.proto"; |
| 8 | +import "scd/subscriptions.proto"; |
| 9 | + |
| 10 | +option go_package = "github.com/interuss/dss/pkg/pb/scdpb"; |
| 11 | + |
| 12 | +message Payload { |
| 13 | + oneof payload { |
| 14 | + // USS availability operations |
| 15 | + GetUssAvailabilityOperation get_uss_availability_operation = 20; |
| 16 | + SetUssAvailabilityOperation set_uss_availability_operation = 21; |
| 17 | + |
| 18 | + // USS availability repository requests |
| 19 | + GetUssAvailabilityRepoCall get_uss_availability_repo_call = 40; |
| 20 | + UpsertUssAvailabilityRepoCall upsert_uss_availability_repo_call = 41; |
| 21 | + |
| 22 | + // Constraint operations |
| 23 | + GetConstraintReferenceOperation get_constraint_reference_operation = 60; |
| 24 | + CreateConstraintReferenceOperation create_constraint_reference_operation = 61; |
| 25 | + UpdateConstraintReferenceOperation update_constraint_reference_operation = 62; |
| 26 | + DeleteConstraintReferenceOperation delete_constraint_reference_operation = 63; |
| 27 | + QueryConstraintReferencesOperation query_constraint_references_operation = 64; |
| 28 | + |
| 29 | + // Constraint repository requests |
| 30 | + SearchConstraintsRepoCall search_constraints_repo_call = 80; |
| 31 | + GetConstraintRepoCall get_constraint_repo_call = 81; |
| 32 | + UpsertConstraintRepoCall upsert_constraint_repo_call = 82; |
| 33 | + DeleteConstraintRepoCall delete_constraint_repo_call = 83; |
| 34 | + CountConstraintsRepoCall count_constraints_repo_call = 84; |
| 35 | + |
| 36 | + // Operational intent operations |
| 37 | + GetOperationalIntentReferenceOperation get_operational_intent_reference_operation = 100; |
| 38 | + CreateOperationalIntentReferenceOperation create_operational_intent_reference_operation = 101; |
| 39 | + UpdateOperationalIntentReferenceOperation update_operational_intent_reference_operation = 102; |
| 40 | + DeleteOperationalIntentReferenceOperation delete_operational_intent_reference_operation = 103; |
| 41 | + QueryOperationalIntentReferencesOperation query_operational_intent_references_operation = 104; |
| 42 | + |
| 43 | + // Operational intent repository requests |
| 44 | + GetOperationalIntentRepoCall get_operational_intent_repo_call = 120; |
| 45 | + DeleteOperationalIntentRepoCall delete_operational_intent_repo_call = 121; |
| 46 | + UpsertOperationalIntentRepoCall upsert_operational_intent_repo_call = 122; |
| 47 | + SearchOperationalIntentsRepoCall search_operational_intents_repo_call = 123; |
| 48 | + GetDependentOperationalIntentsRepoCall get_dependent_operational_intents_repo_call = 124; |
| 49 | + CountOperationalIntentsRepoCall count_operational_intents_repo_call = 125; |
| 50 | + |
| 51 | + // Subscription operations |
| 52 | + GetSubscriptionOperation get_subscription_operation = 140; |
| 53 | + CreateSubscriptionOperation create_subscription_operation = 141; |
| 54 | + UpdateSubscriptionOperation update_subscription_operation = 142; |
| 55 | + DeleteSubscriptionOperation delete_subscription_operation = 143; |
| 56 | + QuerySubscriptionsOperation query_subscriptions_operation = 144; |
| 57 | + |
| 58 | + // Subscription repository requests |
| 59 | + SearchSubscriptionsRepoCall search_subscriptions_repo_call = 160; |
| 60 | + GetSubscriptionRepoCall get_subscription_repo_call = 161; |
| 61 | + UpsertSubscriptionRepoCall upsert_subscription_repo_call = 162; |
| 62 | + DeleteSubscriptionRepoCall delete_subscription_repo_call = 163; |
| 63 | + IncrementNotificationIndicesForOperationalIntentsRepoCall increment_notification_indices_for_operational_intents_repo_call = 164; |
| 64 | + IncrementNotificationIndicesForConstraintsRepoCall increment_notification_indices_for_constraints_repo_call = 165; |
| 65 | + CountSubscriptionsRepoCall count_subscriptions_repo_call = 166; |
| 66 | + } |
| 67 | +} |
0 commit comments