github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/merkletree/pb/statedb.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: statedb.proto
     3  
     4  package pb
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	_ "google.golang.org/protobuf/types/known/emptypb"
    10  	math "math"
    11  )
    12  
    13  // Reference imports to suppress errors if they are not otherwise used.
    14  var _ = proto.Marshal
    15  var _ = fmt.Errorf
    16  var _ = math.Inf
    17  
    18  // This is a compile-time assertion to ensure that this generated file
    19  // is compatible with the proto package it is being compiled against.
    20  // A compilation error at this line likely means your copy of the
    21  // proto package needs to be updated.
    22  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    23  
    24  type ResultCode_Code int32
    25  
    26  const (
    27  	ResultCode_CODE_UNSPECIFIED           ResultCode_Code = 0
    28  	ResultCode_CODE_SUCCESS               ResultCode_Code = 1
    29  	ResultCode_CODE_DB_KEY_NOT_FOUND      ResultCode_Code = 2
    30  	ResultCode_CODE_DB_ERROR              ResultCode_Code = 3
    31  	ResultCode_CODE_INTERNAL_ERROR        ResultCode_Code = 4
    32  	ResultCode_CODE_SMT_INVALID_DATA_SIZE ResultCode_Code = 14
    33  )
    34  
    35  var ResultCode_Code_name = map[int32]string{
    36  	0:  "CODE_UNSPECIFIED",
    37  	1:  "CODE_SUCCESS",
    38  	2:  "CODE_DB_KEY_NOT_FOUND",
    39  	3:  "CODE_DB_ERROR",
    40  	4:  "CODE_INTERNAL_ERROR",
    41  	14: "CODE_SMT_INVALID_DATA_SIZE",
    42  }
    43  
    44  var ResultCode_Code_value = map[string]int32{
    45  	"CODE_UNSPECIFIED":           0,
    46  	"CODE_SUCCESS":               1,
    47  	"CODE_DB_KEY_NOT_FOUND":      2,
    48  	"CODE_DB_ERROR":              3,
    49  	"CODE_INTERNAL_ERROR":        4,
    50  	"CODE_SMT_INVALID_DATA_SIZE": 14,
    51  }
    52  
    53  func (x ResultCode_Code) String() string {
    54  	return proto.EnumName(ResultCode_Code_name, int32(x))
    55  }
    56  
    57  func (ResultCode_Code) EnumDescriptor() ([]byte, []int) {
    58  	return fileDescriptor_ca8273a45d2a357a, []int{15, 0}
    59  }
    60  
    61  type Version struct {
    62  	V0_0_1               string   `protobuf:"bytes,1,opt,name=v0_0_1,json=v001,proto3" json:"v0_0_1,omitempty"`
    63  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    64  	XXX_unrecognized     []byte   `json:"-"`
    65  	XXX_sizecache        int32    `json:"-"`
    66  }
    67  
    68  func (m *Version) Reset()         { *m = Version{} }
    69  func (m *Version) String() string { return proto.CompactTextString(m) }
    70  func (*Version) ProtoMessage()    {}
    71  func (*Version) Descriptor() ([]byte, []int) {
    72  	return fileDescriptor_ca8273a45d2a357a, []int{0}
    73  }
    74  
    75  func (m *Version) XXX_Unmarshal(b []byte) error {
    76  	return xxx_messageInfo_Version.Unmarshal(m, b)
    77  }
    78  func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    79  	return xxx_messageInfo_Version.Marshal(b, m, deterministic)
    80  }
    81  func (m *Version) XXX_Merge(src proto.Message) {
    82  	xxx_messageInfo_Version.Merge(m, src)
    83  }
    84  func (m *Version) XXX_Size() int {
    85  	return xxx_messageInfo_Version.Size(m)
    86  }
    87  func (m *Version) XXX_DiscardUnknown() {
    88  	xxx_messageInfo_Version.DiscardUnknown(m)
    89  }
    90  
    91  var xxx_messageInfo_Version proto.InternalMessageInfo
    92  
    93  func (m *Version) GetV0_0_1() string {
    94  	if m != nil {
    95  		return m.V0_0_1
    96  	}
    97  	return ""
    98  }
    99  
   100  //*
   101  // @dev SetRequest
   102  // @param {old_root} - merkle-tree root
   103  // @param {key} - key to set
   104  // @param {value} - scalar value to set (HEX string format)
   105  // @param {persistent} - indicates if it should be stored in the SQL database (true) or only in the memory cache (false)
   106  // @param {details} - indicates if it should return all response parameters (true) or just the new root (false)
   107  // @param {get_db_read_log} - indicates if it should return the DB reads generated during the execution of the request
   108  type SetRequest struct {
   109  	OldRoot              *Fea     `protobuf:"bytes,1,opt,name=old_root,json=oldRoot,proto3" json:"old_root,omitempty"`
   110  	Key                  *Fea     `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
   111  	Value                string   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
   112  	Persistent           bool     `protobuf:"varint,4,opt,name=persistent,proto3" json:"persistent,omitempty"`
   113  	Details              bool     `protobuf:"varint,5,opt,name=details,proto3" json:"details,omitempty"`
   114  	GetDbReadLog         bool     `protobuf:"varint,6,opt,name=get_db_read_log,json=getDbReadLog,proto3" json:"get_db_read_log,omitempty"`
   115  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   116  	XXX_unrecognized     []byte   `json:"-"`
   117  	XXX_sizecache        int32    `json:"-"`
   118  }
   119  
   120  func (m *SetRequest) Reset()         { *m = SetRequest{} }
   121  func (m *SetRequest) String() string { return proto.CompactTextString(m) }
   122  func (*SetRequest) ProtoMessage()    {}
   123  func (*SetRequest) Descriptor() ([]byte, []int) {
   124  	return fileDescriptor_ca8273a45d2a357a, []int{1}
   125  }
   126  
   127  func (m *SetRequest) XXX_Unmarshal(b []byte) error {
   128  	return xxx_messageInfo_SetRequest.Unmarshal(m, b)
   129  }
   130  func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   131  	return xxx_messageInfo_SetRequest.Marshal(b, m, deterministic)
   132  }
   133  func (m *SetRequest) XXX_Merge(src proto.Message) {
   134  	xxx_messageInfo_SetRequest.Merge(m, src)
   135  }
   136  func (m *SetRequest) XXX_Size() int {
   137  	return xxx_messageInfo_SetRequest.Size(m)
   138  }
   139  func (m *SetRequest) XXX_DiscardUnknown() {
   140  	xxx_messageInfo_SetRequest.DiscardUnknown(m)
   141  }
   142  
   143  var xxx_messageInfo_SetRequest proto.InternalMessageInfo
   144  
   145  func (m *SetRequest) GetOldRoot() *Fea {
   146  	if m != nil {
   147  		return m.OldRoot
   148  	}
   149  	return nil
   150  }
   151  
   152  func (m *SetRequest) GetKey() *Fea {
   153  	if m != nil {
   154  		return m.Key
   155  	}
   156  	return nil
   157  }
   158  
   159  func (m *SetRequest) GetValue() string {
   160  	if m != nil {
   161  		return m.Value
   162  	}
   163  	return ""
   164  }
   165  
   166  func (m *SetRequest) GetPersistent() bool {
   167  	if m != nil {
   168  		return m.Persistent
   169  	}
   170  	return false
   171  }
   172  
   173  func (m *SetRequest) GetDetails() bool {
   174  	if m != nil {
   175  		return m.Details
   176  	}
   177  	return false
   178  }
   179  
   180  func (m *SetRequest) GetGetDbReadLog() bool {
   181  	if m != nil {
   182  		return m.GetDbReadLog
   183  	}
   184  	return false
   185  }
   186  
   187  //*
   188  // @dev GetRequest
   189  // @param {root} - merkle-tree root
   190  // @param {key} - key to look for
   191  // @param {details} - indicates if it should return all response parameters (true) or just the new root (false)
   192  // @param {get_db_read_log} - indicates if it should return the DB reads generated during the execution of the request
   193  type GetRequest struct {
   194  	Root                 *Fea     `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
   195  	Key                  *Fea     `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
   196  	Details              bool     `protobuf:"varint,3,opt,name=details,proto3" json:"details,omitempty"`
   197  	GetDbReadLog         bool     `protobuf:"varint,4,opt,name=get_db_read_log,json=getDbReadLog,proto3" json:"get_db_read_log,omitempty"`
   198  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   199  	XXX_unrecognized     []byte   `json:"-"`
   200  	XXX_sizecache        int32    `json:"-"`
   201  }
   202  
   203  func (m *GetRequest) Reset()         { *m = GetRequest{} }
   204  func (m *GetRequest) String() string { return proto.CompactTextString(m) }
   205  func (*GetRequest) ProtoMessage()    {}
   206  func (*GetRequest) Descriptor() ([]byte, []int) {
   207  	return fileDescriptor_ca8273a45d2a357a, []int{2}
   208  }
   209  
   210  func (m *GetRequest) XXX_Unmarshal(b []byte) error {
   211  	return xxx_messageInfo_GetRequest.Unmarshal(m, b)
   212  }
   213  func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   214  	return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
   215  }
   216  func (m *GetRequest) XXX_Merge(src proto.Message) {
   217  	xxx_messageInfo_GetRequest.Merge(m, src)
   218  }
   219  func (m *GetRequest) XXX_Size() int {
   220  	return xxx_messageInfo_GetRequest.Size(m)
   221  }
   222  func (m *GetRequest) XXX_DiscardUnknown() {
   223  	xxx_messageInfo_GetRequest.DiscardUnknown(m)
   224  }
   225  
   226  var xxx_messageInfo_GetRequest proto.InternalMessageInfo
   227  
   228  func (m *GetRequest) GetRoot() *Fea {
   229  	if m != nil {
   230  		return m.Root
   231  	}
   232  	return nil
   233  }
   234  
   235  func (m *GetRequest) GetKey() *Fea {
   236  	if m != nil {
   237  		return m.Key
   238  	}
   239  	return nil
   240  }
   241  
   242  func (m *GetRequest) GetDetails() bool {
   243  	if m != nil {
   244  		return m.Details
   245  	}
   246  	return false
   247  }
   248  
   249  func (m *GetRequest) GetGetDbReadLog() bool {
   250  	if m != nil {
   251  		return m.GetDbReadLog
   252  	}
   253  	return false
   254  }
   255  
   256  //*
   257  // @dev SetProgramRequest
   258  // @param {key} - key to set
   259  // @param {data} - Program data to store
   260  // @param {persistent} - indicates if it should be stored in the SQL database (true) or only in the memory cache (false)
   261  type SetProgramRequest struct {
   262  	Key                  *Fea     `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   263  	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
   264  	Persistent           bool     `protobuf:"varint,3,opt,name=persistent,proto3" json:"persistent,omitempty"`
   265  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   266  	XXX_unrecognized     []byte   `json:"-"`
   267  	XXX_sizecache        int32    `json:"-"`
   268  }
   269  
   270  func (m *SetProgramRequest) Reset()         { *m = SetProgramRequest{} }
   271  func (m *SetProgramRequest) String() string { return proto.CompactTextString(m) }
   272  func (*SetProgramRequest) ProtoMessage()    {}
   273  func (*SetProgramRequest) Descriptor() ([]byte, []int) {
   274  	return fileDescriptor_ca8273a45d2a357a, []int{3}
   275  }
   276  
   277  func (m *SetProgramRequest) XXX_Unmarshal(b []byte) error {
   278  	return xxx_messageInfo_SetProgramRequest.Unmarshal(m, b)
   279  }
   280  func (m *SetProgramRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   281  	return xxx_messageInfo_SetProgramRequest.Marshal(b, m, deterministic)
   282  }
   283  func (m *SetProgramRequest) XXX_Merge(src proto.Message) {
   284  	xxx_messageInfo_SetProgramRequest.Merge(m, src)
   285  }
   286  func (m *SetProgramRequest) XXX_Size() int {
   287  	return xxx_messageInfo_SetProgramRequest.Size(m)
   288  }
   289  func (m *SetProgramRequest) XXX_DiscardUnknown() {
   290  	xxx_messageInfo_SetProgramRequest.DiscardUnknown(m)
   291  }
   292  
   293  var xxx_messageInfo_SetProgramRequest proto.InternalMessageInfo
   294  
   295  func (m *SetProgramRequest) GetKey() *Fea {
   296  	if m != nil {
   297  		return m.Key
   298  	}
   299  	return nil
   300  }
   301  
   302  func (m *SetProgramRequest) GetData() []byte {
   303  	if m != nil {
   304  		return m.Data
   305  	}
   306  	return nil
   307  }
   308  
   309  func (m *SetProgramRequest) GetPersistent() bool {
   310  	if m != nil {
   311  		return m.Persistent
   312  	}
   313  	return false
   314  }
   315  
   316  //*
   317  // @dev GetProgramRequest
   318  // @param {key} - key to get program data
   319  type GetProgramRequest struct {
   320  	Key                  *Fea     `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   321  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   322  	XXX_unrecognized     []byte   `json:"-"`
   323  	XXX_sizecache        int32    `json:"-"`
   324  }
   325  
   326  func (m *GetProgramRequest) Reset()         { *m = GetProgramRequest{} }
   327  func (m *GetProgramRequest) String() string { return proto.CompactTextString(m) }
   328  func (*GetProgramRequest) ProtoMessage()    {}
   329  func (*GetProgramRequest) Descriptor() ([]byte, []int) {
   330  	return fileDescriptor_ca8273a45d2a357a, []int{4}
   331  }
   332  
   333  func (m *GetProgramRequest) XXX_Unmarshal(b []byte) error {
   334  	return xxx_messageInfo_GetProgramRequest.Unmarshal(m, b)
   335  }
   336  func (m *GetProgramRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   337  	return xxx_messageInfo_GetProgramRequest.Marshal(b, m, deterministic)
   338  }
   339  func (m *GetProgramRequest) XXX_Merge(src proto.Message) {
   340  	xxx_messageInfo_GetProgramRequest.Merge(m, src)
   341  }
   342  func (m *GetProgramRequest) XXX_Size() int {
   343  	return xxx_messageInfo_GetProgramRequest.Size(m)
   344  }
   345  func (m *GetProgramRequest) XXX_DiscardUnknown() {
   346  	xxx_messageInfo_GetProgramRequest.DiscardUnknown(m)
   347  }
   348  
   349  var xxx_messageInfo_GetProgramRequest proto.InternalMessageInfo
   350  
   351  func (m *GetProgramRequest) GetKey() *Fea {
   352  	if m != nil {
   353  		return m.Key
   354  	}
   355  	return nil
   356  }
   357  
   358  //*
   359  // @dev LoadDBRequest
   360  // @param {input_db} - list of db records (MT) to load in the database
   361  // @param {persistent} - indicates if it should be stored in the SQL database (true) or only in the memory cache (false)
   362  type LoadDBRequest struct {
   363  	InputDb              map[string]*FeList `protobuf:"bytes,1,rep,name=input_db,json=inputDb,proto3" json:"input_db,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   364  	Persistent           bool               `protobuf:"varint,2,opt,name=persistent,proto3" json:"persistent,omitempty"`
   365  	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
   366  	XXX_unrecognized     []byte             `json:"-"`
   367  	XXX_sizecache        int32              `json:"-"`
   368  }
   369  
   370  func (m *LoadDBRequest) Reset()         { *m = LoadDBRequest{} }
   371  func (m *LoadDBRequest) String() string { return proto.CompactTextString(m) }
   372  func (*LoadDBRequest) ProtoMessage()    {}
   373  func (*LoadDBRequest) Descriptor() ([]byte, []int) {
   374  	return fileDescriptor_ca8273a45d2a357a, []int{5}
   375  }
   376  
   377  func (m *LoadDBRequest) XXX_Unmarshal(b []byte) error {
   378  	return xxx_messageInfo_LoadDBRequest.Unmarshal(m, b)
   379  }
   380  func (m *LoadDBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   381  	return xxx_messageInfo_LoadDBRequest.Marshal(b, m, deterministic)
   382  }
   383  func (m *LoadDBRequest) XXX_Merge(src proto.Message) {
   384  	xxx_messageInfo_LoadDBRequest.Merge(m, src)
   385  }
   386  func (m *LoadDBRequest) XXX_Size() int {
   387  	return xxx_messageInfo_LoadDBRequest.Size(m)
   388  }
   389  func (m *LoadDBRequest) XXX_DiscardUnknown() {
   390  	xxx_messageInfo_LoadDBRequest.DiscardUnknown(m)
   391  }
   392  
   393  var xxx_messageInfo_LoadDBRequest proto.InternalMessageInfo
   394  
   395  func (m *LoadDBRequest) GetInputDb() map[string]*FeList {
   396  	if m != nil {
   397  		return m.InputDb
   398  	}
   399  	return nil
   400  }
   401  
   402  func (m *LoadDBRequest) GetPersistent() bool {
   403  	if m != nil {
   404  		return m.Persistent
   405  	}
   406  	return false
   407  }
   408  
   409  //*
   410  // @dev LoadProgramDBRequest
   411  // @param {input_program_db} - list of db records (program) to load in the database
   412  // @param {persistent} - indicates if it should be stored in the SQL database (true) or only in the memory cache (false)
   413  type LoadProgramDBRequest struct {
   414  	InputProgramDb       map[string][]byte `protobuf:"bytes,1,rep,name=input_program_db,json=inputProgramDb,proto3" json:"input_program_db,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   415  	Persistent           bool              `protobuf:"varint,2,opt,name=persistent,proto3" json:"persistent,omitempty"`
   416  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   417  	XXX_unrecognized     []byte            `json:"-"`
   418  	XXX_sizecache        int32             `json:"-"`
   419  }
   420  
   421  func (m *LoadProgramDBRequest) Reset()         { *m = LoadProgramDBRequest{} }
   422  func (m *LoadProgramDBRequest) String() string { return proto.CompactTextString(m) }
   423  func (*LoadProgramDBRequest) ProtoMessage()    {}
   424  func (*LoadProgramDBRequest) Descriptor() ([]byte, []int) {
   425  	return fileDescriptor_ca8273a45d2a357a, []int{6}
   426  }
   427  
   428  func (m *LoadProgramDBRequest) XXX_Unmarshal(b []byte) error {
   429  	return xxx_messageInfo_LoadProgramDBRequest.Unmarshal(m, b)
   430  }
   431  func (m *LoadProgramDBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   432  	return xxx_messageInfo_LoadProgramDBRequest.Marshal(b, m, deterministic)
   433  }
   434  func (m *LoadProgramDBRequest) XXX_Merge(src proto.Message) {
   435  	xxx_messageInfo_LoadProgramDBRequest.Merge(m, src)
   436  }
   437  func (m *LoadProgramDBRequest) XXX_Size() int {
   438  	return xxx_messageInfo_LoadProgramDBRequest.Size(m)
   439  }
   440  func (m *LoadProgramDBRequest) XXX_DiscardUnknown() {
   441  	xxx_messageInfo_LoadProgramDBRequest.DiscardUnknown(m)
   442  }
   443  
   444  var xxx_messageInfo_LoadProgramDBRequest proto.InternalMessageInfo
   445  
   446  func (m *LoadProgramDBRequest) GetInputProgramDb() map[string][]byte {
   447  	if m != nil {
   448  		return m.InputProgramDb
   449  	}
   450  	return nil
   451  }
   452  
   453  func (m *LoadProgramDBRequest) GetPersistent() bool {
   454  	if m != nil {
   455  		return m.Persistent
   456  	}
   457  	return false
   458  }
   459  
   460  //*
   461  // @dev SetResponse
   462  // @param {old_root} - merkle-tree root
   463  // @param {new_root} - merkle-tree new root
   464  // @param {key} - key to look for
   465  // @param {siblings} - array of siblings
   466  // @param {ins_key} - key found
   467  // @param {ins_value} - value found (HEX string format)
   468  // @param {is_old0} - is new insert or delete
   469  // @param {old_value} - old value (HEX string format)
   470  // @param {new_value} - new value (HEX string format)
   471  // @param {mode}
   472  // @param {proof_hash_counter}
   473  // @param {db_read_log} - list of db records read during the execution of the request
   474  // @param {result} - result code
   475  type SetResponse struct {
   476  	OldRoot              *Fea                    `protobuf:"bytes,1,opt,name=old_root,json=oldRoot,proto3" json:"old_root,omitempty"`
   477  	NewRoot              *Fea                    `protobuf:"bytes,2,opt,name=new_root,json=newRoot,proto3" json:"new_root,omitempty"`
   478  	Key                  *Fea                    `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
   479  	Siblings             map[uint64]*SiblingList `protobuf:"bytes,4,rep,name=siblings,proto3" json:"siblings,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   480  	InsKey               *Fea                    `protobuf:"bytes,5,opt,name=ins_key,json=insKey,proto3" json:"ins_key,omitempty"`
   481  	InsValue             string                  `protobuf:"bytes,6,opt,name=ins_value,json=insValue,proto3" json:"ins_value,omitempty"`
   482  	IsOld0               bool                    `protobuf:"varint,7,opt,name=is_old0,json=isOld0,proto3" json:"is_old0,omitempty"`
   483  	OldValue             string                  `protobuf:"bytes,8,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
   484  	NewValue             string                  `protobuf:"bytes,9,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
   485  	Mode                 string                  `protobuf:"bytes,10,opt,name=mode,proto3" json:"mode,omitempty"`
   486  	ProofHashCounter     uint64                  `protobuf:"varint,11,opt,name=proof_hash_counter,json=proofHashCounter,proto3" json:"proof_hash_counter,omitempty"`
   487  	DbReadLog            map[string]*FeList      `protobuf:"bytes,12,rep,name=db_read_log,json=dbReadLog,proto3" json:"db_read_log,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   488  	Result               *ResultCode             `protobuf:"bytes,13,opt,name=result,proto3" json:"result,omitempty"`
   489  	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
   490  	XXX_unrecognized     []byte                  `json:"-"`
   491  	XXX_sizecache        int32                   `json:"-"`
   492  }
   493  
   494  func (m *SetResponse) Reset()         { *m = SetResponse{} }
   495  func (m *SetResponse) String() string { return proto.CompactTextString(m) }
   496  func (*SetResponse) ProtoMessage()    {}
   497  func (*SetResponse) Descriptor() ([]byte, []int) {
   498  	return fileDescriptor_ca8273a45d2a357a, []int{7}
   499  }
   500  
   501  func (m *SetResponse) XXX_Unmarshal(b []byte) error {
   502  	return xxx_messageInfo_SetResponse.Unmarshal(m, b)
   503  }
   504  func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   505  	return xxx_messageInfo_SetResponse.Marshal(b, m, deterministic)
   506  }
   507  func (m *SetResponse) XXX_Merge(src proto.Message) {
   508  	xxx_messageInfo_SetResponse.Merge(m, src)
   509  }
   510  func (m *SetResponse) XXX_Size() int {
   511  	return xxx_messageInfo_SetResponse.Size(m)
   512  }
   513  func (m *SetResponse) XXX_DiscardUnknown() {
   514  	xxx_messageInfo_SetResponse.DiscardUnknown(m)
   515  }
   516  
   517  var xxx_messageInfo_SetResponse proto.InternalMessageInfo
   518  
   519  func (m *SetResponse) GetOldRoot() *Fea {
   520  	if m != nil {
   521  		return m.OldRoot
   522  	}
   523  	return nil
   524  }
   525  
   526  func (m *SetResponse) GetNewRoot() *Fea {
   527  	if m != nil {
   528  		return m.NewRoot
   529  	}
   530  	return nil
   531  }
   532  
   533  func (m *SetResponse) GetKey() *Fea {
   534  	if m != nil {
   535  		return m.Key
   536  	}
   537  	return nil
   538  }
   539  
   540  func (m *SetResponse) GetSiblings() map[uint64]*SiblingList {
   541  	if m != nil {
   542  		return m.Siblings
   543  	}
   544  	return nil
   545  }
   546  
   547  func (m *SetResponse) GetInsKey() *Fea {
   548  	if m != nil {
   549  		return m.InsKey
   550  	}
   551  	return nil
   552  }
   553  
   554  func (m *SetResponse) GetInsValue() string {
   555  	if m != nil {
   556  		return m.InsValue
   557  	}
   558  	return ""
   559  }
   560  
   561  func (m *SetResponse) GetIsOld0() bool {
   562  	if m != nil {
   563  		return m.IsOld0
   564  	}
   565  	return false
   566  }
   567  
   568  func (m *SetResponse) GetOldValue() string {
   569  	if m != nil {
   570  		return m.OldValue
   571  	}
   572  	return ""
   573  }
   574  
   575  func (m *SetResponse) GetNewValue() string {
   576  	if m != nil {
   577  		return m.NewValue
   578  	}
   579  	return ""
   580  }
   581  
   582  func (m *SetResponse) GetMode() string {
   583  	if m != nil {
   584  		return m.Mode
   585  	}
   586  	return ""
   587  }
   588  
   589  func (m *SetResponse) GetProofHashCounter() uint64 {
   590  	if m != nil {
   591  		return m.ProofHashCounter
   592  	}
   593  	return 0
   594  }
   595  
   596  func (m *SetResponse) GetDbReadLog() map[string]*FeList {
   597  	if m != nil {
   598  		return m.DbReadLog
   599  	}
   600  	return nil
   601  }
   602  
   603  func (m *SetResponse) GetResult() *ResultCode {
   604  	if m != nil {
   605  		return m.Result
   606  	}
   607  	return nil
   608  }
   609  
   610  //*
   611  // @dev GetResponse
   612  // @param {root} - merkle-tree root
   613  // @param {key} - key to look for
   614  // @param {siblings} - array of siblings
   615  // @param {ins_key} - key found
   616  // @param {ins_value} - value found (HEX string format)
   617  // @param {is_old0} - is new insert or delete
   618  // @param {value} - value retrieved (HEX string format)
   619  // @param {proof_hash_counter}
   620  // @param {db_read_log} - list of db records read during the execution of the request
   621  // @param {result} - result code
   622  type GetResponse struct {
   623  	Root                 *Fea                    `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
   624  	Key                  *Fea                    `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
   625  	Siblings             map[uint64]*SiblingList `protobuf:"bytes,3,rep,name=siblings,proto3" json:"siblings,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   626  	InsKey               *Fea                    `protobuf:"bytes,4,opt,name=ins_key,json=insKey,proto3" json:"ins_key,omitempty"`
   627  	InsValue             string                  `protobuf:"bytes,5,opt,name=ins_value,json=insValue,proto3" json:"ins_value,omitempty"`
   628  	IsOld0               bool                    `protobuf:"varint,6,opt,name=is_old0,json=isOld0,proto3" json:"is_old0,omitempty"`
   629  	Value                string                  `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
   630  	ProofHashCounter     uint64                  `protobuf:"varint,8,opt,name=proof_hash_counter,json=proofHashCounter,proto3" json:"proof_hash_counter,omitempty"`
   631  	DbReadLog            map[string]*FeList      `protobuf:"bytes,9,rep,name=db_read_log,json=dbReadLog,proto3" json:"db_read_log,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   632  	Result               *ResultCode             `protobuf:"bytes,10,opt,name=result,proto3" json:"result,omitempty"`
   633  	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
   634  	XXX_unrecognized     []byte                  `json:"-"`
   635  	XXX_sizecache        int32                   `json:"-"`
   636  }
   637  
   638  func (m *GetResponse) Reset()         { *m = GetResponse{} }
   639  func (m *GetResponse) String() string { return proto.CompactTextString(m) }
   640  func (*GetResponse) ProtoMessage()    {}
   641  func (*GetResponse) Descriptor() ([]byte, []int) {
   642  	return fileDescriptor_ca8273a45d2a357a, []int{8}
   643  }
   644  
   645  func (m *GetResponse) XXX_Unmarshal(b []byte) error {
   646  	return xxx_messageInfo_GetResponse.Unmarshal(m, b)
   647  }
   648  func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   649  	return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic)
   650  }
   651  func (m *GetResponse) XXX_Merge(src proto.Message) {
   652  	xxx_messageInfo_GetResponse.Merge(m, src)
   653  }
   654  func (m *GetResponse) XXX_Size() int {
   655  	return xxx_messageInfo_GetResponse.Size(m)
   656  }
   657  func (m *GetResponse) XXX_DiscardUnknown() {
   658  	xxx_messageInfo_GetResponse.DiscardUnknown(m)
   659  }
   660  
   661  var xxx_messageInfo_GetResponse proto.InternalMessageInfo
   662  
   663  func (m *GetResponse) GetRoot() *Fea {
   664  	if m != nil {
   665  		return m.Root
   666  	}
   667  	return nil
   668  }
   669  
   670  func (m *GetResponse) GetKey() *Fea {
   671  	if m != nil {
   672  		return m.Key
   673  	}
   674  	return nil
   675  }
   676  
   677  func (m *GetResponse) GetSiblings() map[uint64]*SiblingList {
   678  	if m != nil {
   679  		return m.Siblings
   680  	}
   681  	return nil
   682  }
   683  
   684  func (m *GetResponse) GetInsKey() *Fea {
   685  	if m != nil {
   686  		return m.InsKey
   687  	}
   688  	return nil
   689  }
   690  
   691  func (m *GetResponse) GetInsValue() string {
   692  	if m != nil {
   693  		return m.InsValue
   694  	}
   695  	return ""
   696  }
   697  
   698  func (m *GetResponse) GetIsOld0() bool {
   699  	if m != nil {
   700  		return m.IsOld0
   701  	}
   702  	return false
   703  }
   704  
   705  func (m *GetResponse) GetValue() string {
   706  	if m != nil {
   707  		return m.Value
   708  	}
   709  	return ""
   710  }
   711  
   712  func (m *GetResponse) GetProofHashCounter() uint64 {
   713  	if m != nil {
   714  		return m.ProofHashCounter
   715  	}
   716  	return 0
   717  }
   718  
   719  func (m *GetResponse) GetDbReadLog() map[string]*FeList {
   720  	if m != nil {
   721  		return m.DbReadLog
   722  	}
   723  	return nil
   724  }
   725  
   726  func (m *GetResponse) GetResult() *ResultCode {
   727  	if m != nil {
   728  		return m.Result
   729  	}
   730  	return nil
   731  }
   732  
   733  //*
   734  // @dev SetProgramResponse
   735  // @param {result} - result code
   736  type SetProgramResponse struct {
   737  	Result               *ResultCode `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
   738  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   739  	XXX_unrecognized     []byte      `json:"-"`
   740  	XXX_sizecache        int32       `json:"-"`
   741  }
   742  
   743  func (m *SetProgramResponse) Reset()         { *m = SetProgramResponse{} }
   744  func (m *SetProgramResponse) String() string { return proto.CompactTextString(m) }
   745  func (*SetProgramResponse) ProtoMessage()    {}
   746  func (*SetProgramResponse) Descriptor() ([]byte, []int) {
   747  	return fileDescriptor_ca8273a45d2a357a, []int{9}
   748  }
   749  
   750  func (m *SetProgramResponse) XXX_Unmarshal(b []byte) error {
   751  	return xxx_messageInfo_SetProgramResponse.Unmarshal(m, b)
   752  }
   753  func (m *SetProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   754  	return xxx_messageInfo_SetProgramResponse.Marshal(b, m, deterministic)
   755  }
   756  func (m *SetProgramResponse) XXX_Merge(src proto.Message) {
   757  	xxx_messageInfo_SetProgramResponse.Merge(m, src)
   758  }
   759  func (m *SetProgramResponse) XXX_Size() int {
   760  	return xxx_messageInfo_SetProgramResponse.Size(m)
   761  }
   762  func (m *SetProgramResponse) XXX_DiscardUnknown() {
   763  	xxx_messageInfo_SetProgramResponse.DiscardUnknown(m)
   764  }
   765  
   766  var xxx_messageInfo_SetProgramResponse proto.InternalMessageInfo
   767  
   768  func (m *SetProgramResponse) GetResult() *ResultCode {
   769  	if m != nil {
   770  		return m.Result
   771  	}
   772  	return nil
   773  }
   774  
   775  //*
   776  // @dev GetProgramResponse
   777  // @param {data} - program data retrieved
   778  // @param {result} - result code
   779  type GetProgramResponse struct {
   780  	Data                 []byte      `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   781  	Result               *ResultCode `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
   782  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   783  	XXX_unrecognized     []byte      `json:"-"`
   784  	XXX_sizecache        int32       `json:"-"`
   785  }
   786  
   787  func (m *GetProgramResponse) Reset()         { *m = GetProgramResponse{} }
   788  func (m *GetProgramResponse) String() string { return proto.CompactTextString(m) }
   789  func (*GetProgramResponse) ProtoMessage()    {}
   790  func (*GetProgramResponse) Descriptor() ([]byte, []int) {
   791  	return fileDescriptor_ca8273a45d2a357a, []int{10}
   792  }
   793  
   794  func (m *GetProgramResponse) XXX_Unmarshal(b []byte) error {
   795  	return xxx_messageInfo_GetProgramResponse.Unmarshal(m, b)
   796  }
   797  func (m *GetProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   798  	return xxx_messageInfo_GetProgramResponse.Marshal(b, m, deterministic)
   799  }
   800  func (m *GetProgramResponse) XXX_Merge(src proto.Message) {
   801  	xxx_messageInfo_GetProgramResponse.Merge(m, src)
   802  }
   803  func (m *GetProgramResponse) XXX_Size() int {
   804  	return xxx_messageInfo_GetProgramResponse.Size(m)
   805  }
   806  func (m *GetProgramResponse) XXX_DiscardUnknown() {
   807  	xxx_messageInfo_GetProgramResponse.DiscardUnknown(m)
   808  }
   809  
   810  var xxx_messageInfo_GetProgramResponse proto.InternalMessageInfo
   811  
   812  func (m *GetProgramResponse) GetData() []byte {
   813  	if m != nil {
   814  		return m.Data
   815  	}
   816  	return nil
   817  }
   818  
   819  func (m *GetProgramResponse) GetResult() *ResultCode {
   820  	if m != nil {
   821  		return m.Result
   822  	}
   823  	return nil
   824  }
   825  
   826  //*
   827  // @dev FlushResponse
   828  // @param {result} - result code
   829  type FlushResponse struct {
   830  	Result               *ResultCode `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
   831  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   832  	XXX_unrecognized     []byte      `json:"-"`
   833  	XXX_sizecache        int32       `json:"-"`
   834  }
   835  
   836  func (m *FlushResponse) Reset()         { *m = FlushResponse{} }
   837  func (m *FlushResponse) String() string { return proto.CompactTextString(m) }
   838  func (*FlushResponse) ProtoMessage()    {}
   839  func (*FlushResponse) Descriptor() ([]byte, []int) {
   840  	return fileDescriptor_ca8273a45d2a357a, []int{11}
   841  }
   842  
   843  func (m *FlushResponse) XXX_Unmarshal(b []byte) error {
   844  	return xxx_messageInfo_FlushResponse.Unmarshal(m, b)
   845  }
   846  func (m *FlushResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   847  	return xxx_messageInfo_FlushResponse.Marshal(b, m, deterministic)
   848  }
   849  func (m *FlushResponse) XXX_Merge(src proto.Message) {
   850  	xxx_messageInfo_FlushResponse.Merge(m, src)
   851  }
   852  func (m *FlushResponse) XXX_Size() int {
   853  	return xxx_messageInfo_FlushResponse.Size(m)
   854  }
   855  func (m *FlushResponse) XXX_DiscardUnknown() {
   856  	xxx_messageInfo_FlushResponse.DiscardUnknown(m)
   857  }
   858  
   859  var xxx_messageInfo_FlushResponse proto.InternalMessageInfo
   860  
   861  func (m *FlushResponse) GetResult() *ResultCode {
   862  	if m != nil {
   863  		return m.Result
   864  	}
   865  	return nil
   866  }
   867  
   868  //*
   869  // @dev Array of 4 FE
   870  // @param {fe0} - Field Element value for pos 0
   871  // @param {fe1} - Field Element value for pos 1
   872  // @param {fe2} - Field Element value for pos 2
   873  // @param {fe3} - Field Element value for pos 3
   874  type Fea struct {
   875  	Fe0                  uint64   `protobuf:"varint,1,opt,name=fe0,proto3" json:"fe0,omitempty"`
   876  	Fe1                  uint64   `protobuf:"varint,2,opt,name=fe1,proto3" json:"fe1,omitempty"`
   877  	Fe2                  uint64   `protobuf:"varint,3,opt,name=fe2,proto3" json:"fe2,omitempty"`
   878  	Fe3                  uint64   `protobuf:"varint,4,opt,name=fe3,proto3" json:"fe3,omitempty"`
   879  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   880  	XXX_unrecognized     []byte   `json:"-"`
   881  	XXX_sizecache        int32    `json:"-"`
   882  }
   883  
   884  func (m *Fea) Reset()         { *m = Fea{} }
   885  func (m *Fea) String() string { return proto.CompactTextString(m) }
   886  func (*Fea) ProtoMessage()    {}
   887  func (*Fea) Descriptor() ([]byte, []int) {
   888  	return fileDescriptor_ca8273a45d2a357a, []int{12}
   889  }
   890  
   891  func (m *Fea) XXX_Unmarshal(b []byte) error {
   892  	return xxx_messageInfo_Fea.Unmarshal(m, b)
   893  }
   894  func (m *Fea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   895  	return xxx_messageInfo_Fea.Marshal(b, m, deterministic)
   896  }
   897  func (m *Fea) XXX_Merge(src proto.Message) {
   898  	xxx_messageInfo_Fea.Merge(m, src)
   899  }
   900  func (m *Fea) XXX_Size() int {
   901  	return xxx_messageInfo_Fea.Size(m)
   902  }
   903  func (m *Fea) XXX_DiscardUnknown() {
   904  	xxx_messageInfo_Fea.DiscardUnknown(m)
   905  }
   906  
   907  var xxx_messageInfo_Fea proto.InternalMessageInfo
   908  
   909  func (m *Fea) GetFe0() uint64 {
   910  	if m != nil {
   911  		return m.Fe0
   912  	}
   913  	return 0
   914  }
   915  
   916  func (m *Fea) GetFe1() uint64 {
   917  	if m != nil {
   918  		return m.Fe1
   919  	}
   920  	return 0
   921  }
   922  
   923  func (m *Fea) GetFe2() uint64 {
   924  	if m != nil {
   925  		return m.Fe2
   926  	}
   927  	return 0
   928  }
   929  
   930  func (m *Fea) GetFe3() uint64 {
   931  	if m != nil {
   932  		return m.Fe3
   933  	}
   934  	return 0
   935  }
   936  
   937  //*
   938  // @dev FE (Field Element) List
   939  // @param {fe} - list of Fe
   940  type FeList struct {
   941  	Fe                   []uint64 `protobuf:"varint,1,rep,packed,name=fe,proto3" json:"fe,omitempty"`
   942  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   943  	XXX_unrecognized     []byte   `json:"-"`
   944  	XXX_sizecache        int32    `json:"-"`
   945  }
   946  
   947  func (m *FeList) Reset()         { *m = FeList{} }
   948  func (m *FeList) String() string { return proto.CompactTextString(m) }
   949  func (*FeList) ProtoMessage()    {}
   950  func (*FeList) Descriptor() ([]byte, []int) {
   951  	return fileDescriptor_ca8273a45d2a357a, []int{13}
   952  }
   953  
   954  func (m *FeList) XXX_Unmarshal(b []byte) error {
   955  	return xxx_messageInfo_FeList.Unmarshal(m, b)
   956  }
   957  func (m *FeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   958  	return xxx_messageInfo_FeList.Marshal(b, m, deterministic)
   959  }
   960  func (m *FeList) XXX_Merge(src proto.Message) {
   961  	xxx_messageInfo_FeList.Merge(m, src)
   962  }
   963  func (m *FeList) XXX_Size() int {
   964  	return xxx_messageInfo_FeList.Size(m)
   965  }
   966  func (m *FeList) XXX_DiscardUnknown() {
   967  	xxx_messageInfo_FeList.DiscardUnknown(m)
   968  }
   969  
   970  var xxx_messageInfo_FeList proto.InternalMessageInfo
   971  
   972  func (m *FeList) GetFe() []uint64 {
   973  	if m != nil {
   974  		return m.Fe
   975  	}
   976  	return nil
   977  }
   978  
   979  //*
   980  // @dev Siblings List
   981  // @param {sibling} - list of siblings
   982  type SiblingList struct {
   983  	Sibling              []uint64 `protobuf:"varint,1,rep,packed,name=sibling,proto3" json:"sibling,omitempty"`
   984  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   985  	XXX_unrecognized     []byte   `json:"-"`
   986  	XXX_sizecache        int32    `json:"-"`
   987  }
   988  
   989  func (m *SiblingList) Reset()         { *m = SiblingList{} }
   990  func (m *SiblingList) String() string { return proto.CompactTextString(m) }
   991  func (*SiblingList) ProtoMessage()    {}
   992  func (*SiblingList) Descriptor() ([]byte, []int) {
   993  	return fileDescriptor_ca8273a45d2a357a, []int{14}
   994  }
   995  
   996  func (m *SiblingList) XXX_Unmarshal(b []byte) error {
   997  	return xxx_messageInfo_SiblingList.Unmarshal(m, b)
   998  }
   999  func (m *SiblingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1000  	return xxx_messageInfo_SiblingList.Marshal(b, m, deterministic)
  1001  }
  1002  func (m *SiblingList) XXX_Merge(src proto.Message) {
  1003  	xxx_messageInfo_SiblingList.Merge(m, src)
  1004  }
  1005  func (m *SiblingList) XXX_Size() int {
  1006  	return xxx_messageInfo_SiblingList.Size(m)
  1007  }
  1008  func (m *SiblingList) XXX_DiscardUnknown() {
  1009  	xxx_messageInfo_SiblingList.DiscardUnknown(m)
  1010  }
  1011  
  1012  var xxx_messageInfo_SiblingList proto.InternalMessageInfo
  1013  
  1014  func (m *SiblingList) GetSibling() []uint64 {
  1015  	if m != nil {
  1016  		return m.Sibling
  1017  	}
  1018  	return nil
  1019  }
  1020  
  1021  //*
  1022  // @dev Result code
  1023  // @param {code} - result code
  1024  type ResultCode struct {
  1025  	Code                 ResultCode_Code `protobuf:"varint,1,opt,name=code,proto3,enum=statedb.v1.ResultCode_Code" json:"code,omitempty"`
  1026  	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
  1027  	XXX_unrecognized     []byte          `json:"-"`
  1028  	XXX_sizecache        int32           `json:"-"`
  1029  }
  1030  
  1031  func (m *ResultCode) Reset()         { *m = ResultCode{} }
  1032  func (m *ResultCode) String() string { return proto.CompactTextString(m) }
  1033  func (*ResultCode) ProtoMessage()    {}
  1034  func (*ResultCode) Descriptor() ([]byte, []int) {
  1035  	return fileDescriptor_ca8273a45d2a357a, []int{15}
  1036  }
  1037  
  1038  func (m *ResultCode) XXX_Unmarshal(b []byte) error {
  1039  	return xxx_messageInfo_ResultCode.Unmarshal(m, b)
  1040  }
  1041  func (m *ResultCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1042  	return xxx_messageInfo_ResultCode.Marshal(b, m, deterministic)
  1043  }
  1044  func (m *ResultCode) XXX_Merge(src proto.Message) {
  1045  	xxx_messageInfo_ResultCode.Merge(m, src)
  1046  }
  1047  func (m *ResultCode) XXX_Size() int {
  1048  	return xxx_messageInfo_ResultCode.Size(m)
  1049  }
  1050  func (m *ResultCode) XXX_DiscardUnknown() {
  1051  	xxx_messageInfo_ResultCode.DiscardUnknown(m)
  1052  }
  1053  
  1054  var xxx_messageInfo_ResultCode proto.InternalMessageInfo
  1055  
  1056  func (m *ResultCode) GetCode() ResultCode_Code {
  1057  	if m != nil {
  1058  		return m.Code
  1059  	}
  1060  	return ResultCode_CODE_UNSPECIFIED
  1061  }
  1062  
  1063  func init() {
  1064  	proto.RegisterEnum("statedb.v1.ResultCode_Code", ResultCode_Code_name, ResultCode_Code_value)
  1065  	proto.RegisterType((*Version)(nil), "statedb.v1.Version")
  1066  	proto.RegisterType((*SetRequest)(nil), "statedb.v1.SetRequest")
  1067  	proto.RegisterType((*GetRequest)(nil), "statedb.v1.GetRequest")
  1068  	proto.RegisterType((*SetProgramRequest)(nil), "statedb.v1.SetProgramRequest")
  1069  	proto.RegisterType((*GetProgramRequest)(nil), "statedb.v1.GetProgramRequest")
  1070  	proto.RegisterType((*LoadDBRequest)(nil), "statedb.v1.LoadDBRequest")
  1071  	proto.RegisterMapType((map[string]*FeList)(nil), "statedb.v1.LoadDBRequest.InputDbEntry")
  1072  	proto.RegisterType((*LoadProgramDBRequest)(nil), "statedb.v1.LoadProgramDBRequest")
  1073  	proto.RegisterMapType((map[string][]byte)(nil), "statedb.v1.LoadProgramDBRequest.InputProgramDbEntry")
  1074  	proto.RegisterType((*SetResponse)(nil), "statedb.v1.SetResponse")
  1075  	proto.RegisterMapType((map[string]*FeList)(nil), "statedb.v1.SetResponse.DbReadLogEntry")
  1076  	proto.RegisterMapType((map[uint64]*SiblingList)(nil), "statedb.v1.SetResponse.SiblingsEntry")
  1077  	proto.RegisterType((*GetResponse)(nil), "statedb.v1.GetResponse")
  1078  	proto.RegisterMapType((map[string]*FeList)(nil), "statedb.v1.GetResponse.DbReadLogEntry")
  1079  	proto.RegisterMapType((map[uint64]*SiblingList)(nil), "statedb.v1.GetResponse.SiblingsEntry")
  1080  	proto.RegisterType((*SetProgramResponse)(nil), "statedb.v1.SetProgramResponse")
  1081  	proto.RegisterType((*GetProgramResponse)(nil), "statedb.v1.GetProgramResponse")
  1082  	proto.RegisterType((*FlushResponse)(nil), "statedb.v1.FlushResponse")
  1083  	proto.RegisterType((*Fea)(nil), "statedb.v1.Fea")
  1084  	proto.RegisterType((*FeList)(nil), "statedb.v1.FeList")
  1085  	proto.RegisterType((*SiblingList)(nil), "statedb.v1.SiblingList")
  1086  	proto.RegisterType((*ResultCode)(nil), "statedb.v1.ResultCode")
  1087  }
  1088  
  1089  func init() {
  1090  	proto.RegisterFile("statedb.proto", fileDescriptor_ca8273a45d2a357a)
  1091  }
  1092  
  1093  var fileDescriptor_ca8273a45d2a357a = []byte{
  1094  	// 1172 bytes of a gzipped FileDescriptorProto
  1095  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xdb, 0x6e, 0xe3, 0x44,
  1096  	0x18, 0xae, 0x13, 0xe7, 0xf4, 0xe7, 0xb0, 0xd9, 0xd9, 0xd2, 0x7a, 0x53, 0x51, 0x8a, 0xd1, 0x42,
  1097  	0xb4, 0x62, 0x93, 0x34, 0x5d, 0xa1, 0x15, 0x02, 0xa1, 0x34, 0x07, 0x13, 0xb5, 0x4d, 0x2b, 0xbb,
  1098  	0xad, 0x60, 0x2f, 0xb0, 0x9c, 0x7a, 0x92, 0x9a, 0x75, 0x3d, 0xc1, 0x9e, 0xb4, 0xf4, 0x41, 0x78,
  1099  	0x21, 0x6e, 0xb8, 0x47, 0xe2, 0x02, 0x89, 0x47, 0xe0, 0x21, 0x90, 0x67, 0xec, 0xc6, 0x4e, 0x93,
  1100  	0x1e, 0x16, 0xae, 0xb8, 0xcb, 0xfc, 0xa7, 0xf9, 0xbe, 0x3f, 0xdf, 0x3f, 0x33, 0x86, 0xa2, 0x47,
  1101  	0x0d, 0x8a, 0xcd, 0x61, 0x6d, 0xe2, 0x12, 0x4a, 0x10, 0x84, 0xcb, 0xcb, 0xed, 0xca, 0xc6, 0x98,
  1102  	0x90, 0xb1, 0x8d, 0xeb, 0xcc, 0x33, 0x9c, 0x8e, 0xea, 0xf8, 0x62, 0x42, 0xaf, 0x79, 0xa0, 0xfc,
  1103  	0x11, 0x64, 0x4e, 0xb1, 0xeb, 0x59, 0xc4, 0x41, 0xab, 0x90, 0xbe, 0x6c, 0xe8, 0x0d, 0x7d, 0x5b,
  1104  	0x12, 0xb6, 0x84, 0x6a, 0x4e, 0x15, 0x2f, 0x1b, 0x8d, 0x6d, 0xf9, 0x77, 0x01, 0x40, 0xc3, 0x54,
  1105  	0xc5, 0x3f, 0x4d, 0xb1, 0x47, 0xd1, 0x4b, 0xc8, 0x12, 0xdb, 0xd4, 0x5d, 0x42, 0x28, 0x0b, 0xcb,
  1106  	0x37, 0x9f, 0xd4, 0x66, 0x7b, 0xd5, 0x7a, 0xd8, 0x50, 0x33, 0xc4, 0x36, 0x55, 0x42, 0x28, 0xfa,
  1107  	0x18, 0x92, 0xef, 0xf0, 0xb5, 0x94, 0x58, 0x1c, 0xe6, 0xfb, 0xd0, 0x2a, 0xa4, 0x2e, 0x0d, 0x7b,
  1108  	0x8a, 0xa5, 0x24, 0xdb, 0x92, 0x2f, 0xd0, 0x26, 0xc0, 0xc4, 0x07, 0xe5, 0x51, 0xec, 0x50, 0x49,
  1109  	0xdc, 0x12, 0xaa, 0x59, 0x35, 0x62, 0x41, 0x12, 0x64, 0x4c, 0x4c, 0x0d, 0xcb, 0xf6, 0xa4, 0x14,
  1110  	0x73, 0x86, 0x4b, 0xf4, 0x02, 0x9e, 0x8c, 0x31, 0xd5, 0xcd, 0xa1, 0xee, 0x62, 0xc3, 0xd4, 0x6d,
  1111  	0x32, 0x96, 0xd2, 0x2c, 0xa2, 0x30, 0xc6, 0xb4, 0x33, 0x54, 0xb1, 0x61, 0xee, 0x93, 0xb1, 0xfc,
  1112  	0x8b, 0x00, 0xa0, 0xcc, 0x48, 0x7d, 0x02, 0xe2, 0x5d, 0x84, 0x98, 0xf3, 0x21, 0x6c, 0x22, 0xb8,
  1113  	0x92, 0xf7, 0xe2, 0x12, 0x17, 0xe0, 0xfa, 0x11, 0x9e, 0x6a, 0x98, 0x1e, 0xb9, 0x64, 0xec, 0x1a,
  1114  	0x17, 0x21, 0xba, 0x60, 0x63, 0xe1, 0x8e, 0x8d, 0x11, 0x88, 0xa6, 0x41, 0x0d, 0x06, 0xae, 0xa0,
  1115  	0xb2, 0xdf, 0x73, 0x4d, 0x4c, 0xce, 0x37, 0x51, 0xfe, 0x02, 0x9e, 0x2a, 0xef, 0xb1, 0x97, 0xfc,
  1116  	0xab, 0x00, 0xc5, 0x7d, 0x62, 0x98, 0x9d, 0xdd, 0x30, 0xa9, 0x05, 0x59, 0xcb, 0x99, 0x4c, 0x7d,
  1117  	0x7a, 0x92, 0xb0, 0x95, 0xac, 0xe6, 0x9b, 0x9f, 0x46, 0x33, 0x63, 0xc1, 0xb5, 0xbe, 0x1f, 0xd9,
  1118  	0x19, 0x76, 0x1d, 0xea, 0x5e, 0xab, 0x19, 0x8b, 0xaf, 0xe6, 0xc0, 0x26, 0xe6, 0xc1, 0x56, 0x06,
  1119  	0x50, 0x88, 0x26, 0xa2, 0xf2, 0x0c, 0x67, 0x8e, 0xb7, 0xa0, 0x1a, 0x2a, 0x89, 0xff, 0x41, 0x28,
  1120  	0x8e, 0x7d, 0xdf, 0xf2, 0x68, 0xa0, 0xae, 0x2f, 0x13, 0x6f, 0x04, 0xf9, 0x4f, 0x01, 0x56, 0x7d,
  1121  	0x5c, 0x01, 0xfd, 0x19, 0x97, 0x1f, 0xa0, 0xcc, 0xb9, 0x4c, 0xb8, 0x67, 0xc6, 0xe9, 0xf5, 0x3c,
  1122  	0xa7, 0xf9, 0x5c, 0x4e, 0x2d, 0xb4, 0x06, 0x0c, 0x4b, 0x56, 0xcc, 0x78, 0x2f, 0xd1, 0x16, 0x3c,
  1123  	0x5b, 0x50, 0x66, 0x01, 0xdf, 0xd5, 0x28, 0xdf, 0x42, 0x94, 0xdb, 0x6f, 0x29, 0xc8, 0xb3, 0x89,
  1124  	0xf5, 0x26, 0xc4, 0xf1, 0xf0, 0xa3, 0x46, 0xf6, 0x25, 0x64, 0x1d, 0x7c, 0xc5, 0x63, 0x97, 0x28,
  1125  	0x3d, 0xe3, 0xe0, 0xab, 0xe8, 0x78, 0x27, 0xef, 0xd0, 0x65, 0x0b, 0xb2, 0x9e, 0x35, 0xb4, 0x2d,
  1126  	0x67, 0xec, 0x49, 0x22, 0xeb, 0xe2, 0x8b, 0x68, 0x5c, 0x04, 0x65, 0x4d, 0x0b, 0xe2, 0x78, 0xdb,
  1127  	0x6e, 0xd2, 0x50, 0x15, 0x32, 0x96, 0xe3, 0xe9, 0xfe, 0x4e, 0xa9, 0xc5, 0x3b, 0xa5, 0x2d, 0xc7,
  1128  	0xdb, 0xc3, 0xd7, 0x68, 0x03, 0x72, 0x7e, 0x24, 0xef, 0x4a, 0x9a, 0x75, 0x2a, 0x6b, 0x39, 0xde,
  1129  	0x29, 0x3b, 0x52, 0xd6, 0x21, 0x63, 0x79, 0x3a, 0xb1, 0xcd, 0x86, 0x94, 0x61, 0x4d, 0x4f, 0x5b,
  1130  	0xde, 0xa1, 0x6d, 0x36, 0xfc, 0x2c, 0xbf, 0x3b, 0x3c, 0x2b, 0xcb, 0xb3, 0x88, 0x6d, 0xf2, 0xac,
  1131  	0x0d, 0xc8, 0xf9, 0xed, 0xe0, 0xce, 0x1c, 0x77, 0x3a, 0xf8, 0x8a, 0x3b, 0x11, 0x88, 0x17, 0xc4,
  1132  	0xc4, 0x12, 0xf0, 0xd3, 0xd2, 0xff, 0x8d, 0x3e, 0x07, 0x34, 0x71, 0x09, 0x19, 0xe9, 0xe7, 0x86,
  1133  	0x77, 0xae, 0x9f, 0x91, 0xa9, 0x43, 0xb1, 0x2b, 0xe5, 0xb7, 0x84, 0xaa, 0xa8, 0x96, 0x99, 0xe7,
  1134  	0x5b, 0xc3, 0x3b, 0x6f, 0x73, 0x3b, 0xea, 0x41, 0x3e, 0x7a, 0x22, 0x14, 0x6e, 0xcf, 0x4e, 0xb4,
  1135  	0x43, 0x37, 0xc7, 0x04, 0x6f, 0x51, 0xce, 0x0c, 0xd7, 0xa8, 0x06, 0x69, 0x17, 0x7b, 0x53, 0x9b,
  1136  	0x4a, 0x45, 0xd6, 0xa2, 0xb5, 0x68, 0x09, 0x95, 0x79, 0xda, 0xc4, 0xc4, 0x6a, 0x10, 0x55, 0x39,
  1137  	0x86, 0x62, 0xac, 0xdd, 0x51, 0x79, 0x89, 0xfc, 0x9f, 0x7b, 0x15, 0x1f, 0xa7, 0xf5, 0x18, 0x28,
  1138  	0x9e, 0x3b, 0x37, 0x53, 0x95, 0x23, 0x28, 0xc5, 0x21, 0xfe, 0xeb, 0x29, 0xfd, 0x4b, 0x84, 0xbc,
  1139  	0x12, 0x51, 0xf2, 0x7f, 0x75, 0x4e, 0x47, 0x65, 0x99, 0xbc, 0x2d, 0x4b, 0xe5, 0x71, 0xb2, 0x14,
  1140  	0x1f, 0x21, 0xcb, 0xd4, 0x72, 0x59, 0xa6, 0x63, 0xb2, 0xbc, 0x19, 0xef, 0x4c, 0xf4, 0x62, 0x5c,
  1141  	0x2c, 0xaf, 0xec, 0xc3, 0xe4, 0x95, 0xbb, 0x2d, 0x2f, 0xe5, 0x91, 0xf2, 0x82, 0xff, 0x95, 0xbc,
  1142  	0x3a, 0x80, 0xa2, 0xb7, 0x6d, 0x20, 0xb2, 0x19, 0x5b, 0xe1, 0x21, 0x6c, 0xe5, 0xef, 0x00, 0x29,
  1143  	0xb7, 0xab, 0x84, 0x37, 0xb2, 0x10, 0xb9, 0x91, 0x67, 0x95, 0x13, 0x0f, 0xaa, 0xfc, 0x0d, 0x14,
  1144  	0x7b, 0xf6, 0xd4, 0x3b, 0x7f, 0x6f, 0x68, 0x07, 0x90, 0xec, 0x61, 0xc3, 0xef, 0xd3, 0x08, 0x37,
  1145  	0xc2, 0xf6, 0x8f, 0x70, 0x83, 0x5b, 0xb6, 0x19, 0x0c, 0x66, 0xd9, 0xe6, 0x96, 0x26, 0x3b, 0xcc,
  1146  	0x99, 0xa5, 0xc9, 0x2d, 0x3b, 0x4c, 0xdd, 0xcc, 0xb2, 0x23, 0x4b, 0x90, 0xe6, 0x4d, 0x44, 0x25,
  1147  	0x48, 0x8c, 0x30, 0xbb, 0x17, 0x45, 0x35, 0x31, 0xc2, 0xf2, 0x67, 0x90, 0x8f, 0xfc, 0x6b, 0xfe,
  1148  	0x3b, 0x28, 0x18, 0x94, 0x20, 0x26, 0x5c, 0xca, 0x7f, 0x08, 0x00, 0x33, 0xa0, 0xa8, 0x0e, 0xe2,
  1149  	0x99, 0x7f, 0x84, 0xfa, 0xd0, 0x4a, 0xcd, 0x8d, 0xc5, 0x74, 0x6a, 0x8c, 0x13, 0x0b, 0xf4, 0x1f,
  1150  	0x6e, 0x22, 0xcb, 0x5c, 0x85, 0x72, 0xfb, 0xb0, 0xd3, 0xd5, 0x4f, 0x06, 0xda, 0x51, 0xb7, 0xdd,
  1151  	0xef, 0xf5, 0xbb, 0x9d, 0xf2, 0x0a, 0x2a, 0x43, 0x81, 0x59, 0xb5, 0x93, 0x76, 0xbb, 0xab, 0x69,
  1152  	0x65, 0x01, 0x3d, 0x87, 0x0f, 0x98, 0xa5, 0xb3, 0xab, 0xef, 0x75, 0xbf, 0xd7, 0x07, 0x87, 0xc7,
  1153  	0x7a, 0xef, 0xf0, 0x64, 0xd0, 0x29, 0x27, 0xd0, 0x53, 0x28, 0x86, 0xae, 0xae, 0xaa, 0x1e, 0xaa,
  1154  	0xe5, 0x24, 0x5a, 0x87, 0x67, 0xcc, 0xd4, 0x1f, 0x1c, 0x77, 0xd5, 0x41, 0x6b, 0x3f, 0x70, 0x88,
  1155  	0x68, 0x13, 0x2a, 0xbc, 0xf0, 0xc1, 0xb1, 0xde, 0x1f, 0x9c, 0xb6, 0xf6, 0xfb, 0x1d, 0xbd, 0xd3,
  1156  	0x3a, 0x6e, 0xe9, 0x5a, 0xff, 0x6d, 0xb7, 0x5c, 0x6a, 0xfe, 0x9d, 0x84, 0x92, 0xe6, 0x83, 0xef,
  1157  	0xec, 0x6a, 0xd8, 0xbd, 0xb4, 0xce, 0x30, 0x7a, 0x03, 0x49, 0x0d, 0x53, 0xb4, 0x76, 0xeb, 0x38,
  1158  	0x67, 0x8f, 0x85, 0xca, 0xfa, 0x92, 0x63, 0x5e, 0x5e, 0xf1, 0x33, 0x95, 0xf9, 0x4c, 0x65, 0x49,
  1159  	0xa6, 0x12, 0xcb, 0x3c, 0x60, 0x6f, 0xf5, 0x40, 0x8b, 0xe8, 0xc3, 0xb9, 0x2d, 0xe2, 0x6f, 0xbd,
  1160  	0xca, 0xe6, 0x32, 0x77, 0xb4, 0x9c, 0xb2, 0xa4, 0x9c, 0x72, 0x77, 0x39, 0x65, 0x51, 0xb9, 0xaf,
  1161  	0x21, 0xcd, 0xdf, 0x82, 0xe8, 0xf9, 0xd2, 0xf7, 0x61, 0x65, 0xad, 0xc6, 0x3f, 0x57, 0x6a, 0xe1,
  1162  	0xe7, 0x4a, 0xad, 0xeb, 0x7f, 0xae, 0xc8, 0x2b, 0x68, 0x8f, 0xbf, 0x3b, 0x6f, 0x9e, 0x5d, 0x68,
  1163  	0xeb, 0xbe, 0x17, 0xd9, 0x1d, 0xc5, 0xbe, 0x82, 0x14, 0x9b, 0x2d, 0xb4, 0x24, 0xa4, 0x12, 0x83,
  1164  	0x18, 0x1b, 0x43, 0x79, 0x65, 0xf7, 0xf5, 0xdb, 0xe6, 0xd8, 0xa2, 0xe7, 0xd3, 0x61, 0xed, 0x8c,
  1165  	0x5c, 0xd4, 0x1b, 0x3f, 0x1f, 0x11, 0xfb, 0x7a, 0x4c, 0x9c, 0xba, 0x37, 0x9d, 0x60, 0xd7, 0xc1,
  1166  	0xd4, 0x6b, 0xbe, 0x72, 0x88, 0x89, 0xeb, 0x17, 0xd8, 0x7d, 0x67, 0x63, 0xea, 0x62, 0x5c, 0x9f,
  1167  	0x0c, 0x87, 0x69, 0xb6, 0xc5, 0xce, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xa5, 0x9f, 0x2e,
  1168  	0xac, 0x0d, 0x00, 0x00,
  1169  }