command.pb.go 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.12.4
  5. // source: v1/command.proto
  6. package v1
  7. import (
  8. request "git.sxidc.com/service-supports/dps-sdk/pb/v1/request"
  9. response "git.sxidc.com/service-supports/dps-sdk/pb/v1/response"
  10. empty "github.com/golang/protobuf/ptypes/empty"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. reflect "reflect"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. var File_v1_command_proto protoreflect.FileDescriptor
  22. var file_v1_command_proto_rawDesc = []byte{
  23. 0x0a, 0x10, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f,
  24. 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x1a, 0x18, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65,
  25. 0x73, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  26. 0x1a, 0x19, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x63, 0x6f,
  27. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f,
  28. 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70,
  29. 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xc4, 0x05, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,
  30. 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x41,
  31. 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71,
  32. 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
  33. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  34. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
  35. 0x00, 0x12, 0x56, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  36. 0x12, 0x1d, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
  37. 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
  38. 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
  39. 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  40. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x46, 0x0a, 0x06, 0x49, 0x6e, 0x73,
  41. 0x65, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e,
  42. 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65,
  43. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74,
  44. 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  45. 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68,
  46. 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72,
  47. 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
  48. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  49. 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  50. 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x16, 0x2e,
  51. 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
  52. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  53. 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
  54. 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x44,
  55. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71,
  56. 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x68, 0x65, 0x72, 0x65,
  57. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  58. 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,
  59. 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a,
  60. 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
  61. 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  62. 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
  63. 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  64. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,
  65. 0x68, 0x65, 0x72, 0x65, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55,
  66. 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x68, 0x65, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  67. 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d,
  68. 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
  69. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6c, 0x61,
  70. 0x79, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6c,
  71. 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70,
  72. 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74,
  73. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42,
  74. 0x18, 0x5a, 0x16, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f,
  75. 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  76. 0x33,
  77. }
  78. var file_v1_command_proto_goTypes = []interface{}{
  79. (*request.AutoMigrateRequest)(nil), // 0: request.AutoMigrateRequest
  80. (*request.TransactionOperation)(nil), // 1: request.TransactionOperation
  81. (*request.InsertRequest)(nil), // 2: request.InsertRequest
  82. (*request.InsertBatchRequest)(nil), // 3: request.InsertBatchRequest
  83. (*request.DeleteRequest)(nil), // 4: request.DeleteRequest
  84. (*request.DeleteWhereRequest)(nil), // 5: request.DeleteWhereRequest
  85. (*request.UpdateRequest)(nil), // 6: request.UpdateRequest
  86. (*request.UpdateWhereRequest)(nil), // 7: request.UpdateWhereRequest
  87. (*request.ReplayRequest)(nil), // 8: request.ReplayRequest
  88. (*empty.Empty)(nil), // 9: google.protobuf.Empty
  89. (*response.CommandStatementResponse)(nil), // 10: response.CommandStatementResponse
  90. }
  91. var file_v1_command_proto_depIdxs = []int32{
  92. 0, // 0: v1.CommandService.AutoMigrate:input_type -> request.AutoMigrateRequest
  93. 1, // 1: v1.CommandService.Transaction:input_type -> request.TransactionOperation
  94. 2, // 2: v1.CommandService.Insert:input_type -> request.InsertRequest
  95. 3, // 3: v1.CommandService.InsertBatch:input_type -> request.InsertBatchRequest
  96. 4, // 4: v1.CommandService.Delete:input_type -> request.DeleteRequest
  97. 5, // 5: v1.CommandService.DeleteWhere:input_type -> request.DeleteWhereRequest
  98. 6, // 6: v1.CommandService.Update:input_type -> request.UpdateRequest
  99. 7, // 7: v1.CommandService.UpdateWhere:input_type -> request.UpdateWhereRequest
  100. 8, // 8: v1.CommandService.Replay:input_type -> request.ReplayRequest
  101. 9, // 9: v1.CommandService.AutoMigrate:output_type -> google.protobuf.Empty
  102. 10, // 10: v1.CommandService.Transaction:output_type -> response.CommandStatementResponse
  103. 10, // 11: v1.CommandService.Insert:output_type -> response.CommandStatementResponse
  104. 10, // 12: v1.CommandService.InsertBatch:output_type -> response.CommandStatementResponse
  105. 10, // 13: v1.CommandService.Delete:output_type -> response.CommandStatementResponse
  106. 10, // 14: v1.CommandService.DeleteWhere:output_type -> response.CommandStatementResponse
  107. 10, // 15: v1.CommandService.Update:output_type -> response.CommandStatementResponse
  108. 10, // 16: v1.CommandService.UpdateWhere:output_type -> response.CommandStatementResponse
  109. 10, // 17: v1.CommandService.Replay:output_type -> response.CommandStatementResponse
  110. 9, // [9:18] is the sub-list for method output_type
  111. 0, // [0:9] is the sub-list for method input_type
  112. 0, // [0:0] is the sub-list for extension type_name
  113. 0, // [0:0] is the sub-list for extension extendee
  114. 0, // [0:0] is the sub-list for field type_name
  115. }
  116. func init() { file_v1_command_proto_init() }
  117. func file_v1_command_proto_init() {
  118. if File_v1_command_proto != nil {
  119. return
  120. }
  121. type x struct{}
  122. out := protoimpl.TypeBuilder{
  123. File: protoimpl.DescBuilder{
  124. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  125. RawDescriptor: file_v1_command_proto_rawDesc,
  126. NumEnums: 0,
  127. NumMessages: 0,
  128. NumExtensions: 0,
  129. NumServices: 1,
  130. },
  131. GoTypes: file_v1_command_proto_goTypes,
  132. DependencyIndexes: file_v1_command_proto_depIdxs,
  133. }.Build()
  134. File_v1_command_proto = out.File
  135. file_v1_command_proto_rawDesc = nil
  136. file_v1_command_proto_goTypes = nil
  137. file_v1_command_proto_depIdxs = nil
  138. }