addons.pb.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. package encoding
  2. import (
  3. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  4. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  5. reflect "reflect"
  6. sync "sync"
  7. )
  8. const (
  9. // Verify that this generated code is sufficiently up-to-date.
  10. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  11. // Verify that runtime/protoimpl is sufficiently up-to-date.
  12. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  13. )
  14. type Addons struct {
  15. state protoimpl.MessageState
  16. sizeCache protoimpl.SizeCache
  17. unknownFields protoimpl.UnknownFields
  18. Flow string `protobuf:"bytes,1,opt,name=Flow,proto3" json:"Flow,omitempty"`
  19. Seed []byte `protobuf:"bytes,2,opt,name=Seed,proto3" json:"Seed,omitempty"`
  20. }
  21. func (x *Addons) Reset() {
  22. *x = Addons{}
  23. if protoimpl.UnsafeEnabled {
  24. mi := &file_proxy_vless_encoding_addons_proto_msgTypes[0]
  25. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  26. ms.StoreMessageInfo(mi)
  27. }
  28. }
  29. func (x *Addons) String() string {
  30. return protoimpl.X.MessageStringOf(x)
  31. }
  32. func (*Addons) ProtoMessage() {}
  33. func (x *Addons) ProtoReflect() protoreflect.Message {
  34. mi := &file_proxy_vless_encoding_addons_proto_msgTypes[0]
  35. if protoimpl.UnsafeEnabled && x != nil {
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. if ms.LoadMessageInfo() == nil {
  38. ms.StoreMessageInfo(mi)
  39. }
  40. return ms
  41. }
  42. return mi.MessageOf(x)
  43. }
  44. // Deprecated: Use Addons.ProtoReflect.Descriptor instead.
  45. func (*Addons) Descriptor() ([]byte, []int) {
  46. return file_proxy_vless_encoding_addons_proto_rawDescGZIP(), []int{0}
  47. }
  48. func (x *Addons) GetFlow() string {
  49. if x != nil {
  50. return x.Flow
  51. }
  52. return ""
  53. }
  54. func (x *Addons) GetSeed() []byte {
  55. if x != nil {
  56. return x.Seed
  57. }
  58. return nil
  59. }
  60. var File_proxy_vless_encoding_addons_proto protoreflect.FileDescriptor
  61. var file_proxy_vless_encoding_addons_proto_rawDesc = []byte{
  62. 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x65, 0x6e,
  63. 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
  64. 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  65. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x6e, 0x63, 0x6f,
  66. 0x64, 0x69, 0x6e, 0x67, 0x22, 0x30, 0x0a, 0x06, 0x41, 0x64, 0x64, 0x6f, 0x6e, 0x73, 0x12, 0x12,
  67. 0x0a, 0x04, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x6c,
  68. 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x65, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
  69. 0x52, 0x04, 0x53, 0x65, 0x65, 0x64, 0x42, 0x7e, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32,
  70. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76,
  71. 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x01, 0x5a,
  72. 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c,
  73. 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f,
  74. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x65, 0x6e, 0x63, 0x6f,
  75. 0x64, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1f, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72,
  76. 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x45, 0x6e,
  77. 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  78. }
  79. var (
  80. file_proxy_vless_encoding_addons_proto_rawDescOnce sync.Once
  81. file_proxy_vless_encoding_addons_proto_rawDescData = file_proxy_vless_encoding_addons_proto_rawDesc
  82. )
  83. func file_proxy_vless_encoding_addons_proto_rawDescGZIP() []byte {
  84. file_proxy_vless_encoding_addons_proto_rawDescOnce.Do(func() {
  85. file_proxy_vless_encoding_addons_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_encoding_addons_proto_rawDescData)
  86. })
  87. return file_proxy_vless_encoding_addons_proto_rawDescData
  88. }
  89. var file_proxy_vless_encoding_addons_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  90. var file_proxy_vless_encoding_addons_proto_goTypes = []interface{}{
  91. (*Addons)(nil), // 0: v2ray.core.proxy.vless.encoding.Addons
  92. }
  93. var file_proxy_vless_encoding_addons_proto_depIdxs = []int32{
  94. 0, // [0:0] is the sub-list for method output_type
  95. 0, // [0:0] is the sub-list for method input_type
  96. 0, // [0:0] is the sub-list for extension type_name
  97. 0, // [0:0] is the sub-list for extension extendee
  98. 0, // [0:0] is the sub-list for field type_name
  99. }
  100. func init() { file_proxy_vless_encoding_addons_proto_init() }
  101. func file_proxy_vless_encoding_addons_proto_init() {
  102. if File_proxy_vless_encoding_addons_proto != nil {
  103. return
  104. }
  105. if !protoimpl.UnsafeEnabled {
  106. file_proxy_vless_encoding_addons_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  107. switch v := v.(*Addons); i {
  108. case 0:
  109. return &v.state
  110. case 1:
  111. return &v.sizeCache
  112. case 2:
  113. return &v.unknownFields
  114. default:
  115. return nil
  116. }
  117. }
  118. }
  119. type x struct{}
  120. out := protoimpl.TypeBuilder{
  121. File: protoimpl.DescBuilder{
  122. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  123. RawDescriptor: file_proxy_vless_encoding_addons_proto_rawDesc,
  124. NumEnums: 0,
  125. NumMessages: 1,
  126. NumExtensions: 0,
  127. NumServices: 0,
  128. },
  129. GoTypes: file_proxy_vless_encoding_addons_proto_goTypes,
  130. DependencyIndexes: file_proxy_vless_encoding_addons_proto_depIdxs,
  131. MessageInfos: file_proxy_vless_encoding_addons_proto_msgTypes,
  132. }.Build()
  133. File_proxy_vless_encoding_addons_proto = out.File
  134. file_proxy_vless_encoding_addons_proto_rawDesc = nil
  135. file_proxy_vless_encoding_addons_proto_goTypes = nil
  136. file_proxy_vless_encoding_addons_proto_depIdxs = nil
  137. }