sql.pb.go 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.1
  4. // protoc v3.12.4
  5. // source: v1/response/sql.proto
  6. package response
  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 TransactionResponse struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
  24. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  25. Results string `protobuf:"bytes,3,opt,name=Results,proto3" json:"Results,omitempty"`
  26. RowsAffected int64 `protobuf:"varint,4,opt,name=RowsAffected,proto3" json:"RowsAffected,omitempty"`
  27. }
  28. func (x *TransactionResponse) Reset() {
  29. *x = TransactionResponse{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_v1_response_sql_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *TransactionResponse) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*TransactionResponse) ProtoMessage() {}
  40. func (x *TransactionResponse) ProtoReflect() protoreflect.Message {
  41. mi := &file_v1_response_sql_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead.
  52. func (*TransactionResponse) Descriptor() ([]byte, []int) {
  53. return file_v1_response_sql_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *TransactionResponse) GetSuccess() bool {
  56. if x != nil {
  57. return x.Success
  58. }
  59. return false
  60. }
  61. func (x *TransactionResponse) GetMsg() string {
  62. if x != nil {
  63. return x.Msg
  64. }
  65. return ""
  66. }
  67. func (x *TransactionResponse) GetResults() string {
  68. if x != nil {
  69. return x.Results
  70. }
  71. return ""
  72. }
  73. func (x *TransactionResponse) GetRowsAffected() int64 {
  74. if x != nil {
  75. return x.RowsAffected
  76. }
  77. return 0
  78. }
  79. var File_v1_response_sql_proto protoreflect.FileDescriptor
  80. var file_v1_response_sql_proto_rawDesc = []byte{
  81. 0x0a, 0x15, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x73, 0x71,
  82. 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  83. 0x65, 0x22, 0x7f, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  84. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
  85. 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65,
  86. 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  87. 0x03, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
  88. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x22,
  89. 0x0a, 0x0c, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x04,
  90. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74,
  91. 0x65, 0x64, 0x42, 0x1c, 0x5a, 0x1a, 0x64, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70,
  92. 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  93. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  94. }
  95. var (
  96. file_v1_response_sql_proto_rawDescOnce sync.Once
  97. file_v1_response_sql_proto_rawDescData = file_v1_response_sql_proto_rawDesc
  98. )
  99. func file_v1_response_sql_proto_rawDescGZIP() []byte {
  100. file_v1_response_sql_proto_rawDescOnce.Do(func() {
  101. file_v1_response_sql_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_sql_proto_rawDescData)
  102. })
  103. return file_v1_response_sql_proto_rawDescData
  104. }
  105. var file_v1_response_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  106. var file_v1_response_sql_proto_goTypes = []interface{}{
  107. (*TransactionResponse)(nil), // 0: response.TransactionResponse
  108. }
  109. var file_v1_response_sql_proto_depIdxs = []int32{
  110. 0, // [0:0] is the sub-list for method output_type
  111. 0, // [0:0] 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_response_sql_proto_init() }
  117. func file_v1_response_sql_proto_init() {
  118. if File_v1_response_sql_proto != nil {
  119. return
  120. }
  121. if !protoimpl.UnsafeEnabled {
  122. file_v1_response_sql_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  123. switch v := v.(*TransactionResponse); i {
  124. case 0:
  125. return &v.state
  126. case 1:
  127. return &v.sizeCache
  128. case 2:
  129. return &v.unknownFields
  130. default:
  131. return nil
  132. }
  133. }
  134. }
  135. type x struct{}
  136. out := protoimpl.TypeBuilder{
  137. File: protoimpl.DescBuilder{
  138. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  139. RawDescriptor: file_v1_response_sql_proto_rawDesc,
  140. NumEnums: 0,
  141. NumMessages: 1,
  142. NumExtensions: 0,
  143. NumServices: 0,
  144. },
  145. GoTypes: file_v1_response_sql_proto_goTypes,
  146. DependencyIndexes: file_v1_response_sql_proto_depIdxs,
  147. MessageInfos: file_v1_response_sql_proto_msgTypes,
  148. }.Build()
  149. File_v1_response_sql_proto = out.File
  150. file_v1_response_sql_proto_rawDesc = nil
  151. file_v1_response_sql_proto_goTypes = nil
  152. file_v1_response_sql_proto_depIdxs = nil
  153. }