config.pb.go 7.8 KB

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