github.com/imannamdari/v2ray-core/v5@v5.0.5/transport/internet/grpc/encoding/stream.pb.go (about) 1 package encoding 2 3 import ( 4 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 5 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 6 reflect "reflect" 7 sync "sync" 8 ) 9 10 const ( 11 // Verify that this generated code is sufficiently up-to-date. 12 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 13 // Verify that runtime/protoimpl is sufficiently up-to-date. 14 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 15 ) 16 17 type Hunk struct { 18 state protoimpl.MessageState 19 sizeCache protoimpl.SizeCache 20 unknownFields protoimpl.UnknownFields 21 22 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 23 } 24 25 func (x *Hunk) Reset() { 26 *x = Hunk{} 27 if protoimpl.UnsafeEnabled { 28 mi := &file_transport_internet_grpc_encoding_stream_proto_msgTypes[0] 29 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 30 ms.StoreMessageInfo(mi) 31 } 32 } 33 34 func (x *Hunk) String() string { 35 return protoimpl.X.MessageStringOf(x) 36 } 37 38 func (*Hunk) ProtoMessage() {} 39 40 func (x *Hunk) ProtoReflect() protoreflect.Message { 41 mi := &file_transport_internet_grpc_encoding_stream_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 52 // Deprecated: Use Hunk.ProtoReflect.Descriptor instead. 53 func (*Hunk) Descriptor() ([]byte, []int) { 54 return file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP(), []int{0} 55 } 56 57 func (x *Hunk) GetData() []byte { 58 if x != nil { 59 return x.Data 60 } 61 return nil 62 } 63 64 var File_transport_internet_grpc_encoding_stream_proto protoreflect.FileDescriptor 65 66 var file_transport_internet_grpc_encoding_stream_proto_rawDesc = []byte{ 67 0x0a, 0x2d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 68 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 69 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 70 0x2b, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 71 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67, 72 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x1a, 0x0a, 0x04, 73 0x48, 0x75, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 74 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x7d, 0x0a, 0x0a, 0x47, 0x75, 0x6e, 0x53, 75 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x03, 0x54, 0x75, 0x6e, 0x12, 0x31, 0x2e, 76 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 77 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67, 0x72, 78 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x75, 0x6e, 0x6b, 79 0x1a, 0x31, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 80 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 81 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x48, 82 0x75, 0x6e, 0x6b, 0x28, 0x01, 0x30, 0x01, 0x42, 0xa0, 0x01, 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 83 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 84 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67, 0x72, 85 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5a, 0x3f, 0x67, 0x69, 0x74, 86 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 87 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 88 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x67, 89 0x72, 0x70, 0x63, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x2b, 0x56, 90 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 91 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x47, 0x72, 0x70, 92 0x63, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 93 0x6f, 0x33, 94 } 95 96 var ( 97 file_transport_internet_grpc_encoding_stream_proto_rawDescOnce sync.Once 98 file_transport_internet_grpc_encoding_stream_proto_rawDescData = file_transport_internet_grpc_encoding_stream_proto_rawDesc 99 ) 100 101 func file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP() []byte { 102 file_transport_internet_grpc_encoding_stream_proto_rawDescOnce.Do(func() { 103 file_transport_internet_grpc_encoding_stream_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_grpc_encoding_stream_proto_rawDescData) 104 }) 105 return file_transport_internet_grpc_encoding_stream_proto_rawDescData 106 } 107 108 var file_transport_internet_grpc_encoding_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 109 var file_transport_internet_grpc_encoding_stream_proto_goTypes = []interface{}{ 110 (*Hunk)(nil), // 0: v2ray.core.transport.internet.grpc.encoding.Hunk 111 } 112 var file_transport_internet_grpc_encoding_stream_proto_depIdxs = []int32{ 113 0, // 0: v2ray.core.transport.internet.grpc.encoding.GunService.Tun:input_type -> v2ray.core.transport.internet.grpc.encoding.Hunk 114 0, // 1: v2ray.core.transport.internet.grpc.encoding.GunService.Tun:output_type -> v2ray.core.transport.internet.grpc.encoding.Hunk 115 1, // [1:2] is the sub-list for method output_type 116 0, // [0:1] 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_transport_internet_grpc_encoding_stream_proto_init() } 123 func file_transport_internet_grpc_encoding_stream_proto_init() { 124 if File_transport_internet_grpc_encoding_stream_proto != nil { 125 return 126 } 127 if !protoimpl.UnsafeEnabled { 128 file_transport_internet_grpc_encoding_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 129 switch v := v.(*Hunk); 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_transport_internet_grpc_encoding_stream_proto_rawDesc, 146 NumEnums: 0, 147 NumMessages: 1, 148 NumExtensions: 0, 149 NumServices: 1, 150 }, 151 GoTypes: file_transport_internet_grpc_encoding_stream_proto_goTypes, 152 DependencyIndexes: file_transport_internet_grpc_encoding_stream_proto_depIdxs, 153 MessageInfos: file_transport_internet_grpc_encoding_stream_proto_msgTypes, 154 }.Build() 155 File_transport_internet_grpc_encoding_stream_proto = out.File 156 file_transport_internet_grpc_encoding_stream_proto_rawDesc = nil 157 file_transport_internet_grpc_encoding_stream_proto_goTypes = nil 158 file_transport_internet_grpc_encoding_stream_proto_depIdxs = nil 159 }