github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/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.33.0 4 // protoc v4.23.1 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, 0x24, 116 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 117 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 118 0x73, 0x72, 0x74, 0x70, 0x22, 0xb4, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 119 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 120 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 121 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 122 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 123 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 124 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x73, 0x72, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 125 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x73, 0x72, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 126 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 127 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 128 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 129 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x42, 0x8e, 0x01, 0x0a, 0x28, 130 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 131 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 132 0x65, 0x72, 0x73, 0x2e, 0x73, 0x72, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 133 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 134 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 135 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 136 0x2f, 0x73, 0x72, 0x74, 0x70, 0xaa, 0x02, 0x24, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 137 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 138 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x72, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 139 0x6f, 0x74, 0x6f, 0x33, 140 } 141 142 var ( 143 file_transport_internet_headers_srtp_config_proto_rawDescOnce sync.Once 144 file_transport_internet_headers_srtp_config_proto_rawDescData = file_transport_internet_headers_srtp_config_proto_rawDesc 145 ) 146 147 func file_transport_internet_headers_srtp_config_proto_rawDescGZIP() []byte { 148 file_transport_internet_headers_srtp_config_proto_rawDescOnce.Do(func() { 149 file_transport_internet_headers_srtp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_srtp_config_proto_rawDescData) 150 }) 151 return file_transport_internet_headers_srtp_config_proto_rawDescData 152 } 153 154 var file_transport_internet_headers_srtp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 155 var file_transport_internet_headers_srtp_config_proto_goTypes = []interface{}{ 156 (*Config)(nil), // 0: xray.transport.internet.headers.srtp.Config 157 } 158 var file_transport_internet_headers_srtp_config_proto_depIdxs = []int32{ 159 0, // [0:0] is the sub-list for method output_type 160 0, // [0:0] is the sub-list for method input_type 161 0, // [0:0] is the sub-list for extension type_name 162 0, // [0:0] is the sub-list for extension extendee 163 0, // [0:0] is the sub-list for field type_name 164 } 165 166 func init() { file_transport_internet_headers_srtp_config_proto_init() } 167 func file_transport_internet_headers_srtp_config_proto_init() { 168 if File_transport_internet_headers_srtp_config_proto != nil { 169 return 170 } 171 if !protoimpl.UnsafeEnabled { 172 file_transport_internet_headers_srtp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 173 switch v := v.(*Config); i { 174 case 0: 175 return &v.state 176 case 1: 177 return &v.sizeCache 178 case 2: 179 return &v.unknownFields 180 default: 181 return nil 182 } 183 } 184 } 185 type x struct{} 186 out := protoimpl.TypeBuilder{ 187 File: protoimpl.DescBuilder{ 188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 189 RawDescriptor: file_transport_internet_headers_srtp_config_proto_rawDesc, 190 NumEnums: 0, 191 NumMessages: 1, 192 NumExtensions: 0, 193 NumServices: 0, 194 }, 195 GoTypes: file_transport_internet_headers_srtp_config_proto_goTypes, 196 DependencyIndexes: file_transport_internet_headers_srtp_config_proto_depIdxs, 197 MessageInfos: file_transport_internet_headers_srtp_config_proto_msgTypes, 198 }.Build() 199 File_transport_internet_headers_srtp_config_proto = out.File 200 file_transport_internet_headers_srtp_config_proto_rawDesc = nil 201 file_transport_internet_headers_srtp_config_proto_goTypes = nil 202 file_transport_internet_headers_srtp_config_proto_depIdxs = nil 203 }