github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/dbnode/generated/proto/namespace/schema.proto (about) 1 syntax = "proto3"; 2 package namespace; 3 4 // SchemaOptions contains schema information for a namespace. 5 message SchemaOptions { 6 // history contains a history of deployed schema definitions. 7 SchemaHistory history = 1; 8 // defaultMessageName identifies the proto message that contains the default schema for the namespace. 9 string defaultMessageName = 2; 10 } 11 12 // SchemaHistory is versioned FileDescriptorSet. 13 message SchemaHistory { 14 // versions is a list of FileDescriptorSet sorted by version in ascending order. 15 // the list is a linked list and we use FileDescriptorSet.prevId to ensure the order is ascending. 16 repeated FileDescriptorSet versions = 1; 17 } 18 19 // FileDescriptorSet is a set of proto file descriptors. 20 message FileDescriptorSet { 21 // id identifies a deployed version of FileDescriptorSet. 22 string deployId = 1; 23 // prevId identifies the previous deploy id of FileDescriptorSet. 24 string prevId = 2; 25 // descriptors is a list of proto file descriptors sorted by dependency in topological order. 26 repeated bytes descriptors = 3; 27 }