github.com/v2fly/v2ray-core/v4@v4.45.2/transport/internet/headers/srtp/config.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/headers/srtp/config.proto 6 7 package srtp 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 Config struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 29 Padding bool `protobuf:"varint,2,opt,name=padding,proto3" json:"padding,omitempty"` 30 Extension bool `protobuf:"varint,3,opt,name=extension,proto3" json:"extension,omitempty"` 31 CsrcCount uint32 `protobuf:"varint,4,opt,name=csrc_count,json=csrcCount,proto3" json:"csrc_count,omitempty"` 32 Marker bool `protobuf:"varint,5,opt,name=marker,proto3" json:"marker,omitempty"` 33 PayloadType uint32 `protobuf:"varint,6,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"` 34 } 35 36 func (x *Config) Reset() { 37 *x = Config{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_transport_internet_headers_srtp_config_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *Config) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*Config) ProtoMessage() {} 50 51 func (x *Config) ProtoReflect() protoreflect.Message { 52 mi := &file_transport_internet_headers_srtp_config_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 64 func (*Config) Descriptor() ([]byte, []int) { 65 return file_transport_internet_headers_srtp_config_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *Config) GetVersion() uint32 { 69 if x != nil { 70 return x.Version 71 } 72 return 0 73 } 74 75 func (x *Config) GetPadding() bool { 76 if x != nil { 77 return x.Padding 78 } 79 return false 80 } 81 82 func (x *Config) GetExtension() bool { 83 if x != nil { 84 return x.Extension 85 } 86 return false 87 } 88 89 func (x *Config) GetCsrcCount() uint32 { 90 if x != nil { 91 return x.CsrcCount 92 } 93 return 0 94 } 95 96 func (x *Config) GetMarker() bool { 97 if x != nil { 98 return x.Marker 99 } 100 return false 101 } 102 103 func (x *Config) GetPayloadType() uint32 { 104 if x != nil { 105 return x.PayloadType 106 } 107 return 0 108 } 109 110 var File_transport_internet_headers_srtp_config_proto protoreflect.FileDescriptor 111 112 var file_transport_internet_headers_srtp_config_proto_rawDesc = []byte{ 113 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 114 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x73, 0x72, 0x74, 115 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 116 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 117 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 118 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x73, 0x72, 0x74, 0x70, 0x22, 0xb4, 0x01, 0x0a, 0x06, 0x43, 119 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 120 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 121 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 122 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 123 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x78, 124 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x73, 0x72, 0x63, 0x5f, 125 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x73, 0x72, 126 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 127 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x21, 128 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 129 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 130 0x65, 0x42, 0x9f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 131 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 132 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 133 0x73, 0x72, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 134 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 135 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 136 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 137 0x73, 0x2f, 0x73, 0x72, 0x74, 0x70, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 138 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 139 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x53, 140 0x72, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 141 } 142 143 var ( 144 file_transport_internet_headers_srtp_config_proto_rawDescOnce sync.Once 145 file_transport_internet_headers_srtp_config_proto_rawDescData = file_transport_internet_headers_srtp_config_proto_rawDesc 146 ) 147 148 func file_transport_internet_headers_srtp_config_proto_rawDescGZIP() []byte { 149 file_transport_internet_headers_srtp_config_proto_rawDescOnce.Do(func() { 150 file_transport_internet_headers_srtp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_srtp_config_proto_rawDescData) 151 }) 152 return file_transport_internet_headers_srtp_config_proto_rawDescData 153 } 154 155 var file_transport_internet_headers_srtp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 156 var file_transport_internet_headers_srtp_config_proto_goTypes = []interface{}{ 157 (*Config)(nil), // 0: v2ray.core.transport.internet.headers.srtp.Config 158 } 159 var file_transport_internet_headers_srtp_config_proto_depIdxs = []int32{ 160 0, // [0:0] is the sub-list for method output_type 161 0, // [0:0] is the sub-list for method input_type 162 0, // [0:0] is the sub-list for extension type_name 163 0, // [0:0] is the sub-list for extension extendee 164 0, // [0:0] is the sub-list for field type_name 165 } 166 167 func init() { file_transport_internet_headers_srtp_config_proto_init() } 168 func file_transport_internet_headers_srtp_config_proto_init() { 169 if File_transport_internet_headers_srtp_config_proto != nil { 170 return 171 } 172 if !protoimpl.UnsafeEnabled { 173 file_transport_internet_headers_srtp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 174 switch v := v.(*Config); i { 175 case 0: 176 return &v.state 177 case 1: 178 return &v.sizeCache 179 case 2: 180 return &v.unknownFields 181 default: 182 return nil 183 } 184 } 185 } 186 type x struct{} 187 out := protoimpl.TypeBuilder{ 188 File: protoimpl.DescBuilder{ 189 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 190 RawDescriptor: file_transport_internet_headers_srtp_config_proto_rawDesc, 191 NumEnums: 0, 192 NumMessages: 1, 193 NumExtensions: 0, 194 NumServices: 0, 195 }, 196 GoTypes: file_transport_internet_headers_srtp_config_proto_goTypes, 197 DependencyIndexes: file_transport_internet_headers_srtp_config_proto_depIdxs, 198 MessageInfos: file_transport_internet_headers_srtp_config_proto_msgTypes, 199 }.Build() 200 File_transport_internet_headers_srtp_config_proto = out.File 201 file_transport_internet_headers_srtp_config_proto_rawDesc = nil 202 file_transport_internet_headers_srtp_config_proto_goTypes = nil 203 file_transport_internet_headers_srtp_config_proto_depIdxs = nil 204 }