github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/proto/v1/edge_watch_service_custom.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.alerting.v1;
     4  
     5  import "edgelq-sdk/alerting/proto/v1/alert.proto";
     6  import "edgelq-sdk/alerting/proto/v1/log_condition.proto";
     7  import "edgelq-sdk/alerting/proto/v1/policy.proto";
     8  import "edgelq-sdk/alerting/proto/v1/ts_condition.proto";
     9  import "edgelq-sdk/alerting/proto/v1/ts_entry.proto";
    10  
    11  option go_package = "github.com/cloudwan/edgelq-sdk/alerting/client/v1/edge_watch_service;edge_watch_service_client";
    12  option java_multiple_files = false;
    13  option java_outer_classname = "EdgeWatchServiceCustomProto";
    14  option java_package = "com.ntt.alerting.pb.v1";
    15  
    16  // A request message of the WatchAlertData method.
    17  // This is special combined watch of 5 streams dedicated specifically
    18  // for edge alerter component. It reduces number of watch streams and
    19  // therefore connections maintained by server (and slightly agent).
    20  message WatchAlertDataRequest {
    21    string project = 1;
    22  
    23    string alerting_resource_name = 2;
    24  
    25    string alerting_resource_kind = 3;
    26  }
    27  
    28  // A response message of the WatchAlertData method.
    29  message WatchAlertDataResponse {
    30    repeated Alert alerts_to_add = 1;
    31  
    32    repeated TsEntry ts_entries_to_add = 2;
    33  
    34    repeated Policy policies_to_add = 3;
    35  
    36    repeated TsCondition ts_cnds_to_add = 4;
    37  
    38    repeated LogCondition log_cnds_to_add = 5;
    39  
    40    repeated string alert_names_to_remove = 6;
    41  
    42    repeated string ts_entry_names_to_remove = 7;
    43  
    44    repeated string policy_names_to_remove = 8;
    45  
    46    repeated string ts_cnd_names_to_remove = 9;
    47  
    48    repeated string log_cnd_names_to_remove = 10;
    49  
    50    bool reset_alerts = 11;
    51  
    52    bool reset_ts_entries = 12;
    53  
    54    bool reset_policies = 13;
    55  
    56    bool reset_ts_cnds = 14;
    57  
    58    bool reset_log_cnds = 15;
    59  }