You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
3.3 KiB

  1. // Code generated by protoc-gen-gogo.
  2. // source: common/types.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package common is a generated protocol buffer package.
  6. It is generated from these files:
  7. common/types.proto
  8. It has these top-level messages:
  9. KVPair
  10. KI64Pair
  11. */
  12. //nolint: gas
  13. package common
  14. import proto "github.com/gogo/protobuf/proto"
  15. import fmt "fmt"
  16. import math "math"
  17. import _ "github.com/gogo/protobuf/gogoproto"
  18. // Reference imports to suppress errors if they are not otherwise used.
  19. var _ = proto.Marshal
  20. var _ = fmt.Errorf
  21. var _ = math.Inf
  22. // This is a compile-time assertion to ensure that this generated file
  23. // is compatible with the proto package it is being compiled against.
  24. // A compilation error at this line likely means your copy of the
  25. // proto package needs to be updated.
  26. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  27. // Define these here for compatibility but use tmlibs/common.KVPair.
  28. type KVPair struct {
  29. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  30. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  31. }
  32. func (m *KVPair) Reset() { *m = KVPair{} }
  33. func (m *KVPair) String() string { return proto.CompactTextString(m) }
  34. func (*KVPair) ProtoMessage() {}
  35. func (*KVPair) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} }
  36. func (m *KVPair) GetKey() []byte {
  37. if m != nil {
  38. return m.Key
  39. }
  40. return nil
  41. }
  42. func (m *KVPair) GetValue() []byte {
  43. if m != nil {
  44. return m.Value
  45. }
  46. return nil
  47. }
  48. // Define these here for compatibility but use tmlibs/common.KI64Pair.
  49. type KI64Pair struct {
  50. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  51. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  52. }
  53. func (m *KI64Pair) Reset() { *m = KI64Pair{} }
  54. func (m *KI64Pair) String() string { return proto.CompactTextString(m) }
  55. func (*KI64Pair) ProtoMessage() {}
  56. func (*KI64Pair) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} }
  57. func (m *KI64Pair) GetKey() []byte {
  58. if m != nil {
  59. return m.Key
  60. }
  61. return nil
  62. }
  63. func (m *KI64Pair) GetValue() int64 {
  64. if m != nil {
  65. return m.Value
  66. }
  67. return 0
  68. }
  69. func init() {
  70. proto.RegisterType((*KVPair)(nil), "common.KVPair")
  71. proto.RegisterType((*KI64Pair)(nil), "common.KI64Pair")
  72. }
  73. func init() { proto.RegisterFile("common/types.proto", fileDescriptorTypes) }
  74. var fileDescriptorTypes = []byte{
  75. // 137 bytes of a gzipped FileDescriptorProto
  76. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0xce, 0xcf, 0xcd,
  77. 0xcd, 0xcf, 0xd3, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62,
  78. 0x83, 0x88, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7,
  79. 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0xa5, 0x93, 0x4a, 0xd3, 0xc0, 0x3c, 0x30, 0x07, 0xcc, 0x82, 0x68,
  80. 0x53, 0x32, 0xe0, 0x62, 0xf3, 0x0e, 0x0b, 0x48, 0xcc, 0x2c, 0x12, 0x12, 0xe0, 0x62, 0xce, 0x4e,
  81. 0xad, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x09, 0x02, 0x31, 0x85, 0x44, 0xb8, 0x58, 0xcb, 0x12,
  82. 0x73, 0x4a, 0x53, 0x25, 0x98, 0xc0, 0x62, 0x10, 0x8e, 0x92, 0x11, 0x17, 0x87, 0xb7, 0xa7, 0x99,
  83. 0x09, 0x31, 0x7a, 0x98, 0xa1, 0x7a, 0x92, 0xd8, 0xc0, 0x96, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff,
  84. 0xff, 0x5c, 0xb8, 0x46, 0xc5, 0xb9, 0x00, 0x00, 0x00,
  85. }