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