github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/server/proto/fleetspeak_server/broadcasts.proto (about) 1 syntax = "proto3"; 2 3 package fleetspeak.server; 4 5 import "fleetspeak/src/common/proto/fleetspeak/common.proto"; 6 import "google/protobuf/any.proto"; 7 import "google/protobuf/timestamp.proto"; 8 9 option go_package = "github.com/google/fleetspeak/fleetspeak/src/server/proto/fleetspeak_server"; 10 11 // A Broadcast is a template to build messages to send to a number of machines. 12 message Broadcast { 13 bytes broadcast_id = 1; 14 15 // The source of the broadcast, it should only be a server side service. The 16 // destinations for the resulting broadcast messages will be different clients 17 // with the same service name. 18 fleetspeak.Address source = 2; 19 20 string message_type = 3; 21 22 // A client will only be sent this broadcast if it has been marked with all of 23 // the required labels. 24 repeated fleetspeak.Label required_labels = 4; 25 26 // A broadcast will stop being sent at this time. 27 google.protobuf.Timestamp expiration_time = 5; 28 29 google.protobuf.Any data = 6; 30 }