config.pb.go 7.8 KB

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