fd8e697ab2
Ensure we don't register types with the same name into protobuf. Change-Id: I53d025863fff8c91a067ca5819befa87eb5e35bb
22 lines
528 B
Protocol Buffer
22 lines
528 B
Protocol Buffer
// Copyright (C) 2020 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
syntax = "proto3";
|
|
option go_package = "storj.io/storj/satellite/internalpb";
|
|
|
|
package satellite.audithistory;
|
|
|
|
import "gogo.proto";
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
message AuditHistory {
|
|
repeated AuditWindow windows = 1;
|
|
double score = 2;
|
|
}
|
|
|
|
message AuditWindow {
|
|
google.protobuf.Timestamp window_start = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
int32 online_count = 2;
|
|
int32 total_count = 3;
|
|
}
|