reply.pb.go 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. reflect "reflect"
  9. sync "sync"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. structpb "google.golang.org/protobuf/types/known/structpb"
  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 int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  25. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
  26. Data *structpb.Value `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  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() int64 {
  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, 0x03, 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, 0x1c, 0x0a, 0x03, 0x61, 0x70,
  85. 0x69, 0x50, 0x01, 0x5a, 0x13, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x32, 0x36,
  86. 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  87. }
  88. var (
  89. file_reply_proto_rawDescOnce sync.Once
  90. file_reply_proto_rawDescData = file_reply_proto_rawDesc
  91. )
  92. func file_reply_proto_rawDescGZIP() []byte {
  93. file_reply_proto_rawDescOnce.Do(func() {
  94. file_reply_proto_rawDescData = protoimpl.X.CompressGZIP(file_reply_proto_rawDescData)
  95. })
  96. return file_reply_proto_rawDescData
  97. }
  98. var file_reply_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  99. var file_reply_proto_goTypes = []interface{}{
  100. (*SuccessReply)(nil), // 0: api.SuccessReply
  101. (*structpb.Value)(nil), // 1: google.protobuf.Value
  102. }
  103. var file_reply_proto_depIdxs = []int32{
  104. 1, // 0: api.SuccessReply.data:type_name -> google.protobuf.Value
  105. 1, // [1:1] is the sub-list for method output_type
  106. 1, // [1:1] is the sub-list for method input_type
  107. 1, // [1:1] is the sub-list for extension type_name
  108. 1, // [1:1] is the sub-list for extension extendee
  109. 0, // [0:1] is the sub-list for field type_name
  110. }
  111. func init() { file_reply_proto_init() }
  112. func file_reply_proto_init() {
  113. if File_reply_proto != nil {
  114. return
  115. }
  116. if !protoimpl.UnsafeEnabled {
  117. file_reply_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  118. switch v := v.(*SuccessReply); i {
  119. case 0:
  120. return &v.state
  121. case 1:
  122. return &v.sizeCache
  123. case 2:
  124. return &v.unknownFields
  125. default:
  126. return nil
  127. }
  128. }
  129. }
  130. type x struct{}
  131. out := protoimpl.TypeBuilder{
  132. File: protoimpl.DescBuilder{
  133. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  134. RawDescriptor: file_reply_proto_rawDesc,
  135. NumEnums: 0,
  136. NumMessages: 1,
  137. NumExtensions: 0,
  138. NumServices: 0,
  139. },
  140. GoTypes: file_reply_proto_goTypes,
  141. DependencyIndexes: file_reply_proto_depIdxs,
  142. MessageInfos: file_reply_proto_msgTypes,
  143. }.Build()
  144. File_reply_proto = out.File
  145. file_reply_proto_rawDesc = nil
  146. file_reply_proto_goTypes = nil
  147. file_reply_proto_depIdxs = nil
  148. }