reply.pb.go 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.15.6
  5. // source: reply.proto
  6. package reply
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. structpb "google.golang.org/protobuf/types/known/structpb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type SuccessReply struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  25. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message"`
  26. Data *structpb.Value `protobuf:"bytes,3,opt,name=data,proto3" json:"data"`
  27. }
  28. func (x *SuccessReply) Reset() {
  29. *x = SuccessReply{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_reply_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *SuccessReply) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*SuccessReply) ProtoMessage() {}
  40. func (x *SuccessReply) ProtoReflect() protoreflect.Message {
  41. mi := &file_reply_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 SuccessReply.ProtoReflect.Descriptor instead.
  52. func (*SuccessReply) Descriptor() ([]byte, []int) {
  53. return file_reply_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *SuccessReply) GetCode() int32 {
  56. if x != nil {
  57. return x.Code
  58. }
  59. return 0
  60. }
  61. func (x *SuccessReply) GetMessage() string {
  62. if x != nil {
  63. return x.Message
  64. }
  65. return ""
  66. }
  67. func (x *SuccessReply) GetData() *structpb.Value {
  68. if x != nil {
  69. return x.Data
  70. }
  71. return nil
  72. }
  73. var File_reply_proto protoreflect.FileDescriptor
  74. var file_reply_proto_rawDesc = []byte{
  75. 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61,
  76. 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  77. 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  78. 0x22, 0x68, 0x0a, 0x0c, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79,
  79. 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  80. 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
  81. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a,
  82. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
  83. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56,
  84. 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x3c, 0x0a, 0x03, 0x61, 0x70,
  85. 0x69, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e,
  86. 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f,
  87. 0x73, 0x2d, 0x75, 0x74, 0x69, 0x6c, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x72, 0x65, 0x70,
  88. 0x6c, 0x79, 0x3b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  89. }
  90. var (
  91. file_reply_proto_rawDescOnce sync.Once
  92. file_reply_proto_rawDescData = file_reply_proto_rawDesc
  93. )
  94. func file_reply_proto_rawDescGZIP() []byte {
  95. file_reply_proto_rawDescOnce.Do(func() {
  96. file_reply_proto_rawDescData = protoimpl.X.CompressGZIP(file_reply_proto_rawDescData)
  97. })
  98. return file_reply_proto_rawDescData
  99. }
  100. var file_reply_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  101. var file_reply_proto_goTypes = []interface{}{
  102. (*SuccessReply)(nil), // 0: api.SuccessReply
  103. (*structpb.Value)(nil), // 1: google.protobuf.Value
  104. }
  105. var file_reply_proto_depIdxs = []int32{
  106. 1, // 0: api.SuccessReply.data:type_name -> google.protobuf.Value
  107. 1, // [1:1] is the sub-list for method output_type
  108. 1, // [1:1] is the sub-list for method input_type
  109. 1, // [1:1] is the sub-list for extension type_name
  110. 1, // [1:1] is the sub-list for extension extendee
  111. 0, // [0:1] is the sub-list for field type_name
  112. }
  113. func init() { file_reply_proto_init() }
  114. func file_reply_proto_init() {
  115. if File_reply_proto != nil {
  116. return
  117. }
  118. if !protoimpl.UnsafeEnabled {
  119. file_reply_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  120. switch v := v.(*SuccessReply); i {
  121. case 0:
  122. return &v.state
  123. case 1:
  124. return &v.sizeCache
  125. case 2:
  126. return &v.unknownFields
  127. default:
  128. return nil
  129. }
  130. }
  131. }
  132. type x struct{}
  133. out := protoimpl.TypeBuilder{
  134. File: protoimpl.DescBuilder{
  135. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  136. RawDescriptor: file_reply_proto_rawDesc,
  137. NumEnums: 0,
  138. NumMessages: 1,
  139. NumExtensions: 0,
  140. NumServices: 0,
  141. },
  142. GoTypes: file_reply_proto_goTypes,
  143. DependencyIndexes: file_reply_proto_depIdxs,
  144. MessageInfos: file_reply_proto_msgTypes,
  145. }.Build()
  146. File_reply_proto = out.File
  147. file_reply_proto_rawDesc = nil
  148. file_reply_proto_goTypes = nil
  149. file_reply_proto_depIdxs = nil
  150. }