github.com/m3db/m3@v1.5.0/src/dbnode/generated/proto/index/index.proto (about)

     1  syntax = "proto3";
     2  
     3  package index;
     4  
     5  import "google/protobuf/wrappers.proto";
     6  
     7  message IndexVolumeInfo {
     8    int64 majorVersion = 1;
     9    int64 blockStart = 2;
    10    int64 blockSize = 3;
    11    int64 fileType = 4;
    12    repeated uint32 shards = 5;
    13    int64 snapshotTime = 6;
    14    repeated SegmentInfo segments = 7;
    15    google.protobuf.StringValue indexVolumeType = 8;
    16  }
    17  
    18  message SegmentInfo {
    19    string segmentType = 1;
    20    int64 majorVersion = 2;
    21    int64 minorVersion = 3;
    22    bytes metadata = 4;
    23    repeated SegmentFileInfo files = 5;
    24  }
    25  
    26  message SegmentFileInfo {
    27    string segmentFileType = 1;
    28  }
    29  
    30  message IndexDigests {
    31    uint32 infoDigest = 1;
    32    repeated SegmentDigest segmentDigests = 2;
    33  }
    34  
    35  message SegmentDigest {
    36    string segmentType = 1;
    37    repeated SegmentFileDigest files = 2;
    38  }
    39  
    40  message SegmentFileDigest {
    41    string segmentFileType = 1;
    42    uint32 digest = 2;
    43  }