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