config.pb.go 8.0 KB

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