dr_basic_idl.pb.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v6.31.0
  5. // source: dr_basic_idl.proto
  6. package dr_basic_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. anypb "google.golang.org/protobuf/types/known/anypb"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  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. type HttpResponse struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  24. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  25. Solution string `protobuf:"bytes,3,opt,name=solution,proto3" json:"solution,omitempty"`
  26. Data *anypb.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
  27. unknownFields protoimpl.UnknownFields
  28. sizeCache protoimpl.SizeCache
  29. }
  30. func (x *HttpResponse) Reset() {
  31. *x = HttpResponse{}
  32. mi := &file_dr_basic_idl_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. func (x *HttpResponse) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*HttpResponse) ProtoMessage() {}
  40. func (x *HttpResponse) ProtoReflect() protoreflect.Message {
  41. mi := &file_dr_basic_idl_proto_msgTypes[0]
  42. if 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 HttpResponse.ProtoReflect.Descriptor instead.
  52. func (*HttpResponse) Descriptor() ([]byte, []int) {
  53. return file_dr_basic_idl_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *HttpResponse) GetCode() string {
  56. if x != nil {
  57. return x.Code
  58. }
  59. return ""
  60. }
  61. func (x *HttpResponse) GetDescription() string {
  62. if x != nil {
  63. return x.Description
  64. }
  65. return ""
  66. }
  67. func (x *HttpResponse) GetSolution() string {
  68. if x != nil {
  69. return x.Solution
  70. }
  71. return ""
  72. }
  73. func (x *HttpResponse) GetData() *anypb.Any {
  74. if x != nil {
  75. return x.Data
  76. }
  77. return nil
  78. }
  79. var File_dr_basic_idl_proto protoreflect.FileDescriptor
  80. const file_dr_basic_idl_proto_rawDesc = "" +
  81. "\n" +
  82. "\x12dr_basic_idl.proto\x12\bdr.basic\x1a\x19google/protobuf/any.proto\"\x8a\x01\n" +
  83. "\fHttpResponse\x12\x12\n" +
  84. "\x04code\x18\x01 \x01(\tR\x04code\x12 \n" +
  85. "\vdescription\x18\x02 \x01(\tR\vdescription\x12\x1a\n" +
  86. "\bsolution\x18\x03 \x01(\tR\bsolution\x12(\n" +
  87. "\x04data\x18\x04 \x01(\v2\x14.google.protobuf.AnyR\x04dataB\x0eZ\fdr_basic_pb/b\x06proto3"
  88. var (
  89. file_dr_basic_idl_proto_rawDescOnce sync.Once
  90. file_dr_basic_idl_proto_rawDescData []byte
  91. )
  92. func file_dr_basic_idl_proto_rawDescGZIP() []byte {
  93. file_dr_basic_idl_proto_rawDescOnce.Do(func() {
  94. file_dr_basic_idl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dr_basic_idl_proto_rawDesc), len(file_dr_basic_idl_proto_rawDesc)))
  95. })
  96. return file_dr_basic_idl_proto_rawDescData
  97. }
  98. var file_dr_basic_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  99. var file_dr_basic_idl_proto_goTypes = []any{
  100. (*HttpResponse)(nil), // 0: dr.basic.HttpResponse
  101. (*anypb.Any)(nil), // 1: google.protobuf.Any
  102. }
  103. var file_dr_basic_idl_proto_depIdxs = []int32{
  104. 1, // 0: dr.basic.HttpResponse.data:type_name -> google.protobuf.Any
  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_dr_basic_idl_proto_init() }
  112. func file_dr_basic_idl_proto_init() {
  113. if File_dr_basic_idl_proto != nil {
  114. return
  115. }
  116. type x struct{}
  117. out := protoimpl.TypeBuilder{
  118. File: protoimpl.DescBuilder{
  119. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  120. RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_basic_idl_proto_rawDesc), len(file_dr_basic_idl_proto_rawDesc)),
  121. NumEnums: 0,
  122. NumMessages: 1,
  123. NumExtensions: 0,
  124. NumServices: 0,
  125. },
  126. GoTypes: file_dr_basic_idl_proto_goTypes,
  127. DependencyIndexes: file_dr_basic_idl_proto_depIdxs,
  128. MessageInfos: file_dr_basic_idl_proto_msgTypes,
  129. }.Build()
  130. File_dr_basic_idl_proto = out.File
  131. file_dr_basic_idl_proto_goTypes = nil
  132. file_dr_basic_idl_proto_depIdxs = nil
  133. }