extra.pb.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Code generated by protoc-gen-go. DO NOT EDIT.
  5. // source: extensions/extra/extra.proto
  6. package extra
  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. type ExtraMessage struct {
  14. state protoimpl.MessageState
  15. sizeCache protoimpl.SizeCache
  16. unknownFields protoimpl.UnknownFields
  17. Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
  18. }
  19. func (x *ExtraMessage) Reset() {
  20. *x = ExtraMessage{}
  21. }
  22. func (x *ExtraMessage) String() string {
  23. return protoimpl.X.MessageStringOf(x)
  24. }
  25. func (*ExtraMessage) ProtoMessage() {}
  26. func (x *ExtraMessage) ProtoReflect() protoreflect.Message {
  27. mi := &file_extensions_extra_extra_proto_msgTypes[0]
  28. if protoimpl.UnsafeEnabled && x != nil {
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. if ms.LoadMessageInfo() == nil {
  31. ms.StoreMessageInfo(mi)
  32. }
  33. return ms
  34. }
  35. return mi.MessageOf(x)
  36. }
  37. // Deprecated: Use ExtraMessage.ProtoReflect.Descriptor instead.
  38. func (*ExtraMessage) Descriptor() ([]byte, []int) {
  39. return file_extensions_extra_extra_proto_rawDescGZIP(), []int{0}
  40. }
  41. func (x *ExtraMessage) GetData() []byte {
  42. if x != nil {
  43. return x.Data
  44. }
  45. return nil
  46. }
  47. var File_extensions_extra_extra_proto protoreflect.FileDescriptor
  48. var file_extensions_extra_extra_proto_rawDesc = []byte{
  49. 0x0a, 0x1c, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x65, 0x78, 0x74,
  50. 0x72, 0x61, 0x2f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
  51. 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x65,
  52. 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x22,
  53. 0x0a, 0x0c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12,
  54. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61,
  55. 0x74, 0x61, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
  56. 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  57. 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d,
  58. 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x65, 0x78, 0x74, 0x65,
  59. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x65, 0x78, 0x74, 0x72, 0x61,
  60. }
  61. var (
  62. file_extensions_extra_extra_proto_rawDescOnce sync.Once
  63. file_extensions_extra_extra_proto_rawDescData = file_extensions_extra_extra_proto_rawDesc
  64. )
  65. func file_extensions_extra_extra_proto_rawDescGZIP() []byte {
  66. file_extensions_extra_extra_proto_rawDescOnce.Do(func() {
  67. file_extensions_extra_extra_proto_rawDescData = protoimpl.X.CompressGZIP(file_extensions_extra_extra_proto_rawDescData)
  68. })
  69. return file_extensions_extra_extra_proto_rawDescData
  70. }
  71. var file_extensions_extra_extra_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  72. var file_extensions_extra_extra_proto_goTypes = []interface{}{
  73. (*ExtraMessage)(nil), // 0: goproto.protoc.extension.extra.ExtraMessage
  74. }
  75. var file_extensions_extra_extra_proto_depIdxs = []int32{
  76. 0, // [0:0] is the sub-list for method output_type
  77. 0, // [0:0] is the sub-list for method input_type
  78. 0, // [0:0] is the sub-list for extension type_name
  79. 0, // [0:0] is the sub-list for extension extendee
  80. 0, // [0:0] is the sub-list for field type_name
  81. }
  82. func init() { file_extensions_extra_extra_proto_init() }
  83. func file_extensions_extra_extra_proto_init() {
  84. if File_extensions_extra_extra_proto != nil {
  85. return
  86. }
  87. if !protoimpl.UnsafeEnabled {
  88. file_extensions_extra_extra_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  89. switch v := v.(*ExtraMessage); i {
  90. case 0:
  91. return &v.state
  92. case 1:
  93. return &v.sizeCache
  94. case 2:
  95. return &v.unknownFields
  96. default:
  97. return nil
  98. }
  99. }
  100. }
  101. type x struct{}
  102. out := protoimpl.TypeBuilder{
  103. File: protoimpl.DescBuilder{
  104. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  105. RawDescriptor: file_extensions_extra_extra_proto_rawDesc,
  106. NumEnums: 0,
  107. NumMessages: 1,
  108. NumExtensions: 0,
  109. NumServices: 0,
  110. },
  111. GoTypes: file_extensions_extra_extra_proto_goTypes,
  112. DependencyIndexes: file_extensions_extra_extra_proto_depIdxs,
  113. MessageInfos: file_extensions_extra_extra_proto_msgTypes,
  114. }.Build()
  115. File_extensions_extra_extra_proto = out.File
  116. file_extensions_extra_extra_proto_rawDesc = nil
  117. file_extensions_extra_extra_proto_goTypes = nil
  118. file_extensions_extra_extra_proto_depIdxs = nil
  119. }