Goby3  3.1.5
2024.05.14
buffer.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 
5 package goby.acomms.protobuf;
6 
7 message DynamicBufferConfig
8 {
9  option (dccl.msg) = {
10  unit_system: "si"
11  };
12 
13  // publisher and/or subscriber can set
14 
15  // true takes precedence over false
16  optional bool ack_required = 2 [default = false];
17  // lowest value takes precedence
18  optional double blackout_time = 3 [
19  default = 0,
20  (dccl.field) =
21  {min: 0 max: 3600 precision: 0 units {base_dimensions: "T"}}
22  ];
23  // larger value takes precedence
24  optional uint32 max_queue = 4
25  [default = 1000, (dccl.field) = {min: 1 max: 1000}];
26  // true takes precedence over false
27  optional bool newest_first = 5 [default = true];
28  // use average of values
29  optional double ttl = 6 [
30  default = 1800,
31  (dccl.field) =
32  {min: 1 max: 86400 precision: 0 units {base_dimensions: "T"}}
33  ];
34  // use average of values
35  optional double value_base = 7
36  [default = 100, (dccl.field) = {min: 1 max: 1000 precision: 0}];
37 }