github.com/v2fly/v2ray-core/v4@v4.45.2/transport/internet/grpc/encoding/stream.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: transport/internet/grpc/encoding/stream.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 Hunk struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
    29  }
    30  
    31  func (x *Hunk) Reset() {
    32  	*x = Hunk{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_transport_internet_grpc_encoding_stream_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *Hunk) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*Hunk) ProtoMessage() {}
    45  
    46  func (x *Hunk) ProtoReflect() protoreflect.Message {
    47  	mi := &file_transport_internet_grpc_encoding_stream_proto_msgTypes[0]
    48  	if protoimpl.UnsafeEnabled && x != nil {
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		if ms.LoadMessageInfo() == nil {
    51  			ms.StoreMessageInfo(mi)
    52  		}
    53  		return ms
    54  	}
    55  	return mi.MessageOf(x)
    56  }
    57  
    58  // Deprecated: Use Hunk.ProtoReflect.Descriptor instead.
    59  func (*Hunk) Descriptor() ([]byte, []int) {
    60  	return file_transport_internet_grpc_encoding_stream_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  func (x *Hunk) GetData() []byte {
    64  	if x != nil {
    65  		return x.Data
    66  	}
    67  	return nil
    68  }
    69  
    70  var File_transport_internet_grpc_encoding_stream_proto protoreflect.FileDescriptor
    71  
    72  var file_transport_internet_grpc_encoding_stream_proto_rawDesc = []byte{
    73  	0x0a, 0x2d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
    74  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69,
    75  	0x6e, 0x67, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
    76  	0x2b, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
    77  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67,
    78  	0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x1a, 0x0a, 0x04,
    79  	0x48, 0x75, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
    80  	0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x7d, 0x0a, 0x0a, 0x47, 0x75, 0x6e, 0x53,
    81  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x03, 0x54, 0x75, 0x6e, 0x12, 0x31, 0x2e,
    82  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
    83  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x67, 0x72,
    84  	0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x75, 0x6e, 0x6b,
    85  	0x1a, 0x31, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
    86  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
    87  	0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x48,
    88  	0x75, 0x6e, 0x6b, 0x28, 0x01, 0x30, 0x01, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75,
    89  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61,
    90  	0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
    91  	0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70,
    92  	0x63, 0x2f, 0x65, 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  }