config.pb.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. package srtp
  2. import (
  3. fmt "fmt"
  4. proto "github.com/golang/protobuf/proto"
  5. math "math"
  6. )
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. type Config struct {
  17. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
  18. Padding bool `protobuf:"varint,2,opt,name=padding,proto3" json:"padding,omitempty"`
  19. Extension bool `protobuf:"varint,3,opt,name=extension,proto3" json:"extension,omitempty"`
  20. CsrcCount uint32 `protobuf:"varint,4,opt,name=csrc_count,json=csrcCount,proto3" json:"csrc_count,omitempty"`
  21. Marker bool `protobuf:"varint,5,opt,name=marker,proto3" json:"marker,omitempty"`
  22. PayloadType uint32 `protobuf:"varint,6,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
  23. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  24. XXX_unrecognized []byte `json:"-"`
  25. XXX_sizecache int32 `json:"-"`
  26. }
  27. func (m *Config) Reset() { *m = Config{} }
  28. func (m *Config) String() string { return proto.CompactTextString(m) }
  29. func (*Config) ProtoMessage() {}
  30. func (*Config) Descriptor() ([]byte, []int) {
  31. return fileDescriptor_0aa82c2c1e59b567, []int{0}
  32. }
  33. func (m *Config) XXX_Unmarshal(b []byte) error {
  34. return xxx_messageInfo_Config.Unmarshal(m, b)
  35. }
  36. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  37. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  38. }
  39. func (m *Config) XXX_Merge(src proto.Message) {
  40. xxx_messageInfo_Config.Merge(m, src)
  41. }
  42. func (m *Config) XXX_Size() int {
  43. return xxx_messageInfo_Config.Size(m)
  44. }
  45. func (m *Config) XXX_DiscardUnknown() {
  46. xxx_messageInfo_Config.DiscardUnknown(m)
  47. }
  48. var xxx_messageInfo_Config proto.InternalMessageInfo
  49. func (m *Config) GetVersion() uint32 {
  50. if m != nil {
  51. return m.Version
  52. }
  53. return 0
  54. }
  55. func (m *Config) GetPadding() bool {
  56. if m != nil {
  57. return m.Padding
  58. }
  59. return false
  60. }
  61. func (m *Config) GetExtension() bool {
  62. if m != nil {
  63. return m.Extension
  64. }
  65. return false
  66. }
  67. func (m *Config) GetCsrcCount() uint32 {
  68. if m != nil {
  69. return m.CsrcCount
  70. }
  71. return 0
  72. }
  73. func (m *Config) GetMarker() bool {
  74. if m != nil {
  75. return m.Marker
  76. }
  77. return false
  78. }
  79. func (m *Config) GetPayloadType() uint32 {
  80. if m != nil {
  81. return m.PayloadType
  82. }
  83. return 0
  84. }
  85. func init() {
  86. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.headers.srtp.Config")
  87. }
  88. func init() {
  89. proto.RegisterFile("v2ray.com/core/transport/internet/headers/srtp/config.proto", fileDescriptor_0aa82c2c1e59b567)
  90. }
  91. var fileDescriptor_0aa82c2c1e59b567 = []byte{
  92. // 260 bytes of a gzipped FileDescriptorProto
  93. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0x31, 0x4b, 0x03, 0x31,
  94. 0x14, 0x07, 0x70, 0xae, 0xd6, 0xd3, 0x46, 0x5d, 0x32, 0x48, 0x06, 0x85, 0xea, 0x54, 0x3a, 0x24,
  95. 0x50, 0x47, 0x37, 0x6f, 0xd1, 0x4d, 0xce, 0xe2, 0xe0, 0x52, 0x62, 0xee, 0x59, 0x0f, 0x6d, 0x12,
  96. 0x5e, 0x9e, 0xc5, 0x7c, 0x25, 0x67, 0x3f, 0xa0, 0x24, 0x5c, 0xea, 0xda, 0x29, 0xfc, 0xff, 0x8f,
  97. 0x5f, 0xe0, 0x3d, 0x76, 0xbb, 0x5d, 0xa0, 0x8e, 0xd2, 0xb8, 0x8d, 0x32, 0x0e, 0x41, 0x11, 0x6a,
  98. 0x1b, 0xbc, 0x43, 0x52, 0xbd, 0x25, 0x40, 0x0b, 0xa4, 0xde, 0x41, 0x77, 0x80, 0x41, 0x05, 0x24,
  99. 0xaf, 0x8c, 0xb3, 0x6f, 0xfd, 0x5a, 0x7a, 0x74, 0xe4, 0xf8, 0xbc, 0x60, 0x04, 0xb9, 0x83, 0xb2,
  100. 0x40, 0x39, 0x40, 0x99, 0xe0, 0xf5, 0x6f, 0xc5, 0xea, 0x26, 0x63, 0x2e, 0xd8, 0xd1, 0x16, 0x30,
  101. 0xf4, 0xce, 0x8a, 0x6a, 0x5a, 0xcd, 0xce, 0xda, 0x12, 0xd3, 0xc4, 0xeb, 0xae, 0xeb, 0xed, 0x5a,
  102. 0x8c, 0xa6, 0xd5, 0xec, 0xb8, 0x2d, 0x91, 0x5f, 0xb0, 0x09, 0x7c, 0x13, 0xd8, 0xac, 0x0e, 0xf2,
  103. 0xec, 0xbf, 0xe0, 0x97, 0x8c, 0x99, 0x80, 0x66, 0x65, 0xdc, 0x97, 0x25, 0x31, 0xce, 0x9f, 0x4e,
  104. 0x52, 0xd3, 0xa4, 0x82, 0x9f, 0xb3, 0x7a, 0xa3, 0xf1, 0x03, 0x50, 0x1c, 0x66, 0x39, 0x24, 0x7e,
  105. 0xc5, 0x4e, 0xbd, 0x8e, 0x9f, 0x4e, 0x77, 0x2b, 0x8a, 0x1e, 0x44, 0x9d, 0xe1, 0xc9, 0xd0, 0x2d,
  106. 0xa3, 0x87, 0x3b, 0x60, 0xe9, 0x36, 0x72, 0xff, 0x45, 0x1f, 0xab, 0x97, 0x71, 0x7a, 0x7f, 0x46,
  107. 0xf3, 0xe7, 0x45, 0xab, 0xa3, 0x6c, 0x12, 0x5a, 0xee, 0xd0, 0x43, 0x41, 0xf7, 0x03, 0x7a, 0x42,
  108. 0xf2, 0xaf, 0x75, 0x3e, 0xe8, 0xcd, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x73, 0xfd, 0x63,
  109. 0x8f, 0x01, 0x00, 0x00,
  110. }