sql.pb.go 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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/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. }
  27. func (x *TransactionResponse) Reset() {
  28. *x = TransactionResponse{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_v1_response_sql_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *TransactionResponse) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*TransactionResponse) ProtoMessage() {}
  39. func (x *TransactionResponse) ProtoReflect() protoreflect.Message {
  40. mi := &file_v1_response_sql_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 TransactionResponse.ProtoReflect.Descriptor instead.
  51. func (*TransactionResponse) Descriptor() ([]byte, []int) {
  52. return file_v1_response_sql_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *TransactionResponse) GetSuccess() bool {
  55. if x != nil {
  56. return x.Success
  57. }
  58. return false
  59. }
  60. func (x *TransactionResponse) GetMsg() string {
  61. if x != nil {
  62. return x.Msg
  63. }
  64. return ""
  65. }
  66. func (x *TransactionResponse) GetResults() string {
  67. if x != nil {
  68. return x.Results
  69. }
  70. return ""
  71. }
  72. var File_v1_response_sql_proto protoreflect.FileDescriptor
  73. var file_v1_response_sql_proto_rawDesc = []byte{
  74. 0x0a, 0x15, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x73, 0x71,
  75. 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  76. 0x65, 0x22, 0x5b, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  77. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
  78. 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65,
  79. 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  80. 0x03, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
  81. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x20,
  82. 0x5a, 0x1e, 0x64, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70,
  83. 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  84. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  85. }
  86. var (
  87. file_v1_response_sql_proto_rawDescOnce sync.Once
  88. file_v1_response_sql_proto_rawDescData = file_v1_response_sql_proto_rawDesc
  89. )
  90. func file_v1_response_sql_proto_rawDescGZIP() []byte {
  91. file_v1_response_sql_proto_rawDescOnce.Do(func() {
  92. file_v1_response_sql_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_sql_proto_rawDescData)
  93. })
  94. return file_v1_response_sql_proto_rawDescData
  95. }
  96. var file_v1_response_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  97. var file_v1_response_sql_proto_goTypes = []interface{}{
  98. (*TransactionResponse)(nil), // 0: response.TransactionResponse
  99. }
  100. var file_v1_response_sql_proto_depIdxs = []int32{
  101. 0, // [0:0] is the sub-list for method output_type
  102. 0, // [0:0] is the sub-list for method input_type
  103. 0, // [0:0] is the sub-list for extension type_name
  104. 0, // [0:0] is the sub-list for extension extendee
  105. 0, // [0:0] is the sub-list for field type_name
  106. }
  107. func init() { file_v1_response_sql_proto_init() }
  108. func file_v1_response_sql_proto_init() {
  109. if File_v1_response_sql_proto != nil {
  110. return
  111. }
  112. if !protoimpl.UnsafeEnabled {
  113. file_v1_response_sql_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  114. switch v := v.(*TransactionResponse); i {
  115. case 0:
  116. return &v.state
  117. case 1:
  118. return &v.sizeCache
  119. case 2:
  120. return &v.unknownFields
  121. default:
  122. return nil
  123. }
  124. }
  125. }
  126. type x struct{}
  127. out := protoimpl.TypeBuilder{
  128. File: protoimpl.DescBuilder{
  129. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  130. RawDescriptor: file_v1_response_sql_proto_rawDesc,
  131. NumEnums: 0,
  132. NumMessages: 1,
  133. NumExtensions: 0,
  134. NumServices: 0,
  135. },
  136. GoTypes: file_v1_response_sql_proto_goTypes,
  137. DependencyIndexes: file_v1_response_sql_proto_depIdxs,
  138. MessageInfos: file_v1_response_sql_proto_msgTypes,
  139. }.Build()
  140. File_v1_response_sql_proto = out.File
  141. file_v1_response_sql_proto_rawDesc = nil
  142. file_v1_response_sql_proto_goTypes = nil
  143. file_v1_response_sql_proto_depIdxs = nil
  144. }