stream.pb.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.15.6
  5. // source: transport/internet/grpc/encoding/stream.proto
  6. package encoding
  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. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Hunk struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  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. func (x *Hunk) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*Hunk) ProtoMessage() {}
  37. func (x *Hunk) ProtoReflect() protoreflect.Message {
  38. mi := &file_transport_internet_grpc_encoding_stream_proto_msgTypes[0]
  39. if protoimpl.UnsafeEnabled && x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use Hunk.ProtoReflect.Descriptor instead.
  49. func (*Hunk) Descriptor() ([]byte, []int) {
  50. return file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *Hunk) GetData() []byte {
  53. if x != nil {
  54. return x.Data
  55. }
  56. return nil
  57. }
  58. var File_transport_internet_grpc_encoding_stream_proto protoreflect.FileDescriptor
  59. var file_transport_internet_grpc_encoding_stream_proto_rawDesc = []byte{
  60. 0x0a, 0x2d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  61. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69,
  62. 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  63. 0x2b, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  64. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67,
  65. 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x1a, 0x0a, 0x04,
  66. 0x48, 0x75, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
  67. 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x7d, 0x0a, 0x0a, 0x47, 0x75, 0x6e, 0x53,
  68. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x03, 0x54, 0x75, 0x6e, 0x12, 0x31, 0x2e,
  69. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  70. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67, 0x72,
  71. 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x75, 0x6e, 0x6b,
  72. 0x1a, 0x31, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
  73. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  74. 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x48,
  75. 0x75, 0x6e, 0x6b, 0x28, 0x01, 0x30, 0x01, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75,
  76. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61,
  77. 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  78. 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70,
  79. 0x63, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  80. 0x6f, 0x33,
  81. }
  82. var (
  83. file_transport_internet_grpc_encoding_stream_proto_rawDescOnce sync.Once
  84. file_transport_internet_grpc_encoding_stream_proto_rawDescData = file_transport_internet_grpc_encoding_stream_proto_rawDesc
  85. )
  86. func file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP() []byte {
  87. file_transport_internet_grpc_encoding_stream_proto_rawDescOnce.Do(func() {
  88. file_transport_internet_grpc_encoding_stream_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_grpc_encoding_stream_proto_rawDescData)
  89. })
  90. return file_transport_internet_grpc_encoding_stream_proto_rawDescData
  91. }
  92. var file_transport_internet_grpc_encoding_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  93. var file_transport_internet_grpc_encoding_stream_proto_goTypes = []interface{}{
  94. (*Hunk)(nil), // 0: v2ray.core.transport.internet.grpc.encoding.Hunk
  95. }
  96. var file_transport_internet_grpc_encoding_stream_proto_depIdxs = []int32{
  97. 0, // 0: v2ray.core.transport.internet.grpc.encoding.GunService.Tun:input_type -> v2ray.core.transport.internet.grpc.encoding.Hunk
  98. 0, // 1: v2ray.core.transport.internet.grpc.encoding.GunService.Tun:output_type -> v2ray.core.transport.internet.grpc.encoding.Hunk
  99. 1, // [1:2] is the sub-list for method output_type
  100. 0, // [0:1] is the sub-list for method input_type
  101. 0, // [0:0] is the sub-list for extension type_name
  102. 0, // [0:0] is the sub-list for extension extendee
  103. 0, // [0:0] is the sub-list for field type_name
  104. }
  105. func init() { file_transport_internet_grpc_encoding_stream_proto_init() }
  106. func file_transport_internet_grpc_encoding_stream_proto_init() {
  107. if File_transport_internet_grpc_encoding_stream_proto != nil {
  108. return
  109. }
  110. if !protoimpl.UnsafeEnabled {
  111. file_transport_internet_grpc_encoding_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  112. switch v := v.(*Hunk); i {
  113. case 0:
  114. return &v.state
  115. case 1:
  116. return &v.sizeCache
  117. case 2:
  118. return &v.unknownFields
  119. default:
  120. return nil
  121. }
  122. }
  123. }
  124. type x struct{}
  125. out := protoimpl.TypeBuilder{
  126. File: protoimpl.DescBuilder{
  127. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  128. RawDescriptor: file_transport_internet_grpc_encoding_stream_proto_rawDesc,
  129. NumEnums: 0,
  130. NumMessages: 1,
  131. NumExtensions: 0,
  132. NumServices: 1,
  133. },
  134. GoTypes: file_transport_internet_grpc_encoding_stream_proto_goTypes,
  135. DependencyIndexes: file_transport_internet_grpc_encoding_stream_proto_depIdxs,
  136. MessageInfos: file_transport_internet_grpc_encoding_stream_proto_msgTypes,
  137. }.Build()
  138. File_transport_internet_grpc_encoding_stream_proto = out.File
  139. file_transport_internet_grpc_encoding_stream_proto_rawDesc = nil
  140. file_transport_internet_grpc_encoding_stream_proto_goTypes = nil
  141. file_transport_internet_grpc_encoding_stream_proto_depIdxs = nil
  142. }