device.pb.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: device.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type InitDeviceDbRequest struct {
  20. OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *InitDeviceDbRequest) Reset() { *m = InitDeviceDbRequest{} }
  26. func (m *InitDeviceDbRequest) String() string { return proto.CompactTextString(m) }
  27. func (*InitDeviceDbRequest) ProtoMessage() {}
  28. func (*InitDeviceDbRequest) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_870276a56ac00da5, []int{0}
  30. }
  31. func (m *InitDeviceDbRequest) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_InitDeviceDbRequest.Unmarshal(m, b)
  33. }
  34. func (m *InitDeviceDbRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_InitDeviceDbRequest.Marshal(b, m, deterministic)
  36. }
  37. func (m *InitDeviceDbRequest) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_InitDeviceDbRequest.Merge(m, src)
  39. }
  40. func (m *InitDeviceDbRequest) XXX_Size() int {
  41. return xxx_messageInfo_InitDeviceDbRequest.Size(m)
  42. }
  43. func (m *InitDeviceDbRequest) XXX_DiscardUnknown() {
  44. xxx_messageInfo_InitDeviceDbRequest.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_InitDeviceDbRequest proto.InternalMessageInfo
  47. func (m *InitDeviceDbRequest) GetOrganizationCode() string {
  48. if m != nil {
  49. return m.OrganizationCode
  50. }
  51. return ""
  52. }
  53. type InitDeviceDbReply struct {
  54. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  55. XXX_unrecognized []byte `json:"-"`
  56. XXX_sizecache int32 `json:"-"`
  57. }
  58. func (m *InitDeviceDbReply) Reset() { *m = InitDeviceDbReply{} }
  59. func (m *InitDeviceDbReply) String() string { return proto.CompactTextString(m) }
  60. func (*InitDeviceDbReply) ProtoMessage() {}
  61. func (*InitDeviceDbReply) Descriptor() ([]byte, []int) {
  62. return fileDescriptor_870276a56ac00da5, []int{1}
  63. }
  64. func (m *InitDeviceDbReply) XXX_Unmarshal(b []byte) error {
  65. return xxx_messageInfo_InitDeviceDbReply.Unmarshal(m, b)
  66. }
  67. func (m *InitDeviceDbReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  68. return xxx_messageInfo_InitDeviceDbReply.Marshal(b, m, deterministic)
  69. }
  70. func (m *InitDeviceDbReply) XXX_Merge(src proto.Message) {
  71. xxx_messageInfo_InitDeviceDbReply.Merge(m, src)
  72. }
  73. func (m *InitDeviceDbReply) XXX_Size() int {
  74. return xxx_messageInfo_InitDeviceDbReply.Size(m)
  75. }
  76. func (m *InitDeviceDbReply) XXX_DiscardUnknown() {
  77. xxx_messageInfo_InitDeviceDbReply.DiscardUnknown(m)
  78. }
  79. var xxx_messageInfo_InitDeviceDbReply proto.InternalMessageInfo
  80. func init() {
  81. proto.RegisterType((*InitDeviceDbRequest)(nil), "pb_v1.InitDeviceDbRequest")
  82. proto.RegisterType((*InitDeviceDbReply)(nil), "pb_v1.InitDeviceDbReply")
  83. }
  84. func init() {
  85. proto.RegisterFile("device.proto", fileDescriptor_870276a56ac00da5)
  86. }
  87. var fileDescriptor_870276a56ac00da5 = []byte{
  88. // 144 bytes of a gzipped FileDescriptorProto
  89. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x49, 0x2d, 0xcb,
  90. 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0x48, 0x8a, 0x2f, 0x33, 0x54,
  91. 0x72, 0xe2, 0x12, 0xf6, 0xcc, 0xcb, 0x2c, 0x71, 0x01, 0x4b, 0xb9, 0x24, 0x05, 0xa5, 0x16, 0x96,
  92. 0xa6, 0x16, 0x97, 0x08, 0x69, 0x73, 0x09, 0xe6, 0x17, 0xa5, 0x27, 0xe6, 0x65, 0x56, 0x25, 0x96,
  93. 0x64, 0xe6, 0xe7, 0xc5, 0x27, 0xe7, 0xa7, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x09,
  94. 0x20, 0x4b, 0x38, 0xe7, 0xa7, 0xa4, 0x2a, 0x09, 0x73, 0x09, 0xa2, 0x9a, 0x51, 0x90, 0x53, 0xe9,
  95. 0x24, 0x13, 0x25, 0x95, 0x5c, 0xa0, 0x5b, 0x5c, 0x59, 0x5c, 0x92, 0x9a, 0xab, 0x9b, 0x9b, 0x98,
  96. 0x97, 0x98, 0x9e, 0x9a, 0x9b, 0x9a, 0x57, 0xa2, 0x5f, 0x90, 0xa4, 0x5f, 0x66, 0x98, 0xc4, 0x06,
  97. 0x76, 0x84, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x59, 0x75, 0x4f, 0x53, 0x94, 0x00, 0x00, 0x00,
  98. }