config.pb.go 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.15.6
  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, 0x2a,
  98. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  99. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65,
  100. 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x73, 0x72, 0x74, 0x70, 0x22, 0xb4, 0x01, 0x0a, 0x06, 0x43,
  101. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  102. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  103. 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
  104. 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74,
  105. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x78,
  106. 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x73, 0x72, 0x63, 0x5f,
  107. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x73, 0x72,
  108. 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72,
  109. 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x21,
  110. 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06,
  111. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70,
  112. 0x65, 0x42, 0x9f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  113. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69,
  114. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e,
  115. 0x73, 0x72, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  116. 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
  117. 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
  118. 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
  119. 0x73, 0x2f, 0x73, 0x72, 0x74, 0x70, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
  120. 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e,
  121. 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x53,
  122. 0x72, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  123. }
  124. var (
  125. file_transport_internet_headers_srtp_config_proto_rawDescOnce sync.Once
  126. file_transport_internet_headers_srtp_config_proto_rawDescData = file_transport_internet_headers_srtp_config_proto_rawDesc
  127. )
  128. func file_transport_internet_headers_srtp_config_proto_rawDescGZIP() []byte {
  129. file_transport_internet_headers_srtp_config_proto_rawDescOnce.Do(func() {
  130. file_transport_internet_headers_srtp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_srtp_config_proto_rawDescData)
  131. })
  132. return file_transport_internet_headers_srtp_config_proto_rawDescData
  133. }
  134. var file_transport_internet_headers_srtp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  135. var file_transport_internet_headers_srtp_config_proto_goTypes = []interface{}{
  136. (*Config)(nil), // 0: v2ray.core.transport.internet.headers.srtp.Config
  137. }
  138. var file_transport_internet_headers_srtp_config_proto_depIdxs = []int32{
  139. 0, // [0:0] is the sub-list for method output_type
  140. 0, // [0:0] is the sub-list for method input_type
  141. 0, // [0:0] is the sub-list for extension type_name
  142. 0, // [0:0] is the sub-list for extension extendee
  143. 0, // [0:0] is the sub-list for field type_name
  144. }
  145. func init() { file_transport_internet_headers_srtp_config_proto_init() }
  146. func file_transport_internet_headers_srtp_config_proto_init() {
  147. if File_transport_internet_headers_srtp_config_proto != nil {
  148. return
  149. }
  150. if !protoimpl.UnsafeEnabled {
  151. file_transport_internet_headers_srtp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  152. switch v := v.(*Config); i {
  153. case 0:
  154. return &v.state
  155. case 1:
  156. return &v.sizeCache
  157. case 2:
  158. return &v.unknownFields
  159. default:
  160. return nil
  161. }
  162. }
  163. }
  164. type x struct{}
  165. out := protoimpl.TypeBuilder{
  166. File: protoimpl.DescBuilder{
  167. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  168. RawDescriptor: file_transport_internet_headers_srtp_config_proto_rawDesc,
  169. NumEnums: 0,
  170. NumMessages: 1,
  171. NumExtensions: 0,
  172. NumServices: 0,
  173. },
  174. GoTypes: file_transport_internet_headers_srtp_config_proto_goTypes,
  175. DependencyIndexes: file_transport_internet_headers_srtp_config_proto_depIdxs,
  176. MessageInfos: file_transport_internet_headers_srtp_config_proto_msgTypes,
  177. }.Build()
  178. File_transport_internet_headers_srtp_config_proto = out.File
  179. file_transport_internet_headers_srtp_config_proto_rawDesc = nil
  180. file_transport_internet_headers_srtp_config_proto_goTypes = nil
  181. file_transport_internet_headers_srtp_config_proto_depIdxs = nil
  182. }