github.com/microsoft/moc@v0.17.1/rpc/common/moc_common_notification.proto (about)

     1  // Copyright (c) Microsoft Corporation.
     2  // Licensed under the Apache v2.0 license.
     3  
     4  syntax = "proto3";
     5  option go_package = "github.com/microsoft/moc/rpc/common";
     6  
     7  package moc;
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_common_common.proto";
    10  
    11  message Notification {
    12  	// Name of the entity sending notification
    13  	string entityName = 1;
    14  	// Type of operation that happened on the entity
    15  	Operation operation = 2;
    16  	// Optional: Additional message that the entity would like to send
    17  	string message = 3;
    18  	// Name of the parent Entity
    19  	string parentEntityName = 4;
    20  	// Optional flag to specify if the notification is async
    21  	bool async = 5;
    22  	//Unique identifier for the notification
    23  	string id = 6;
    24  }
    25  
    26  message NotificationResponse {
    27  	repeated Notification notifications = 1;
    28  	google.protobuf.BoolValue Result = 2;
    29  	string  Error = 3;
    30  }