config.pb.go 4.5 KB

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