github.com/simpleiot/simpleiot@v0.18.3/internal/pb/point.proto (about)

     1  syntax = "proto3";
     2  package pb;
     3  
     4  option go_package = "internal/pb";
     5  
     6  import "google/protobuf/timestamp.proto";
     7  
     8  message Point {
     9    string type = 2;
    10    double value = 4;
    11    google.protobuf.Timestamp time = 5;
    12    string text = 8;
    13    string key = 11;
    14    int32 tombstone = 12;
    15    bytes data = 14;
    16    string origin = 15;
    17  }
    18  
    19  message Points { repeated Point points = 1; }
    20  
    21  message SerialPoint {
    22    string type = 2;
    23    float value = 4;
    24    int64 time = 16;
    25    string text = 8;
    26    string key = 11;
    27    int32 tombstone = 12;
    28    bytes data = 14;
    29    string origin = 15;
    30  }
    31  
    32  message SerialPoints { repeated SerialPoint points = 1; }
    33  
    34  message PointArray {
    35    uint64 starttime = 1;
    36    string type = 2;
    37    string key = 3;
    38    float samplerate = 4;
    39    repeated float values = 5;
    40  }