node.pb.go 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0-devel
  4. // protoc v3.14.0
  5. // source: grpc/node.proto
  6. package nodepb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Object struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Data string `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
  24. Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
  25. Metadata string `protobuf:"bytes,3,opt,name=Metadata,proto3" json:"Metadata,omitempty"`
  26. }
  27. func (x *Object) Reset() {
  28. *x = Object{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_grpc_node_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *Object) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*Object) ProtoMessage() {}
  39. func (x *Object) ProtoReflect() protoreflect.Message {
  40. mi := &file_grpc_node_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use Object.ProtoReflect.Descriptor instead.
  51. func (*Object) Descriptor() ([]byte, []int) {
  52. return file_grpc_node_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *Object) GetData() string {
  55. if x != nil {
  56. return x.Data
  57. }
  58. return ""
  59. }
  60. func (x *Object) GetType() string {
  61. if x != nil {
  62. return x.Type
  63. }
  64. return ""
  65. }
  66. func (x *Object) GetMetadata() string {
  67. if x != nil {
  68. return x.Metadata
  69. }
  70. return ""
  71. }
  72. var File_grpc_node_proto protoreflect.FileDescriptor
  73. var file_grpc_node_proto_rawDesc = []byte{
  74. 0x0a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  75. 0x6f, 0x12, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x4c, 0x0a, 0x06, 0x4f, 0x62, 0x6a, 0x65, 0x63,
  76. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  77. 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
  78. 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x65, 0x74,
  79. 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x65, 0x74,
  80. 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0xd2, 0x02, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65,
  81. 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x0c,
  82. 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e,
  83. 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x0a, 0x43, 0x72,
  84. 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
  85. 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62,
  86. 0x6a, 0x65, 0x63, 0x74, 0x12, 0x26, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65,
  87. 0x12, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c,
  88. 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x0a,
  89. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0c, 0x2e, 0x6e, 0x6f, 0x64,
  90. 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
  91. 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  92. 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65,
  93. 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,
  94. 0x12, 0x26, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x0c, 0x2e, 0x6e,
  95. 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e, 0x6f, 0x64,
  96. 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x29, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x45,
  97. 0x78, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f,
  98. 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a,
  99. 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x12, 0x0c,
  100. 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x6e,
  101. 0x6f, 0x64, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f,
  102. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
  103. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b,
  104. 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
  105. 0x74, 0x6f, 0x33,
  106. }
  107. var (
  108. file_grpc_node_proto_rawDescOnce sync.Once
  109. file_grpc_node_proto_rawDescData = file_grpc_node_proto_rawDesc
  110. )
  111. func file_grpc_node_proto_rawDescGZIP() []byte {
  112. file_grpc_node_proto_rawDescOnce.Do(func() {
  113. file_grpc_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_node_proto_rawDescData)
  114. })
  115. return file_grpc_node_proto_rawDescData
  116. }
  117. var file_grpc_node_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  118. var file_grpc_node_proto_goTypes = []interface{}{
  119. (*Object)(nil), // 0: node.Object
  120. }
  121. var file_grpc_node_proto_depIdxs = []int32{
  122. 0, // 0: node.NodeService.Login:input_type -> node.Object
  123. 0, // 1: node.NodeService.CreateNode:input_type -> node.Object
  124. 0, // 2: node.NodeService.ReadNode:input_type -> node.Object
  125. 0, // 3: node.NodeService.UpdateNode:input_type -> node.Object
  126. 0, // 4: node.NodeService.DeleteNode:input_type -> node.Object
  127. 0, // 5: node.NodeService.GetPeers:input_type -> node.Object
  128. 0, // 6: node.NodeService.GetExtPeers:input_type -> node.Object
  129. 0, // 7: node.NodeService.CheckIn:input_type -> node.Object
  130. 0, // 8: node.NodeService.Login:output_type -> node.Object
  131. 0, // 9: node.NodeService.CreateNode:output_type -> node.Object
  132. 0, // 10: node.NodeService.ReadNode:output_type -> node.Object
  133. 0, // 11: node.NodeService.UpdateNode:output_type -> node.Object
  134. 0, // 12: node.NodeService.DeleteNode:output_type -> node.Object
  135. 0, // 13: node.NodeService.GetPeers:output_type -> node.Object
  136. 0, // 14: node.NodeService.GetExtPeers:output_type -> node.Object
  137. 0, // 15: node.NodeService.CheckIn:output_type -> node.Object
  138. 8, // [8:16] is the sub-list for method output_type
  139. 0, // [0:8] is the sub-list for method input_type
  140. 0, // [0:0] is the sub-list for extension type_name
  141. 0, // [0:0] is the sub-list for extension extendee
  142. 0, // [0:0] is the sub-list for field type_name
  143. }
  144. func init() { file_grpc_node_proto_init() }
  145. func file_grpc_node_proto_init() {
  146. if File_grpc_node_proto != nil {
  147. return
  148. }
  149. if !protoimpl.UnsafeEnabled {
  150. file_grpc_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  151. switch v := v.(*Object); i {
  152. case 0:
  153. return &v.state
  154. case 1:
  155. return &v.sizeCache
  156. case 2:
  157. return &v.unknownFields
  158. default:
  159. return nil
  160. }
  161. }
  162. }
  163. type x struct{}
  164. out := protoimpl.TypeBuilder{
  165. File: protoimpl.DescBuilder{
  166. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  167. RawDescriptor: file_grpc_node_proto_rawDesc,
  168. NumEnums: 0,
  169. NumMessages: 1,
  170. NumExtensions: 0,
  171. NumServices: 1,
  172. },
  173. GoTypes: file_grpc_node_proto_goTypes,
  174. DependencyIndexes: file_grpc_node_proto_depIdxs,
  175. MessageInfos: file_grpc_node_proto_msgTypes,
  176. }.Build()
  177. File_grpc_node_proto = out.File
  178. file_grpc_node_proto_rawDesc = nil
  179. file_grpc_node_proto_goTypes = nil
  180. file_grpc_node_proto_depIdxs = nil
  181. }