1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00
v2fly/transport/internet/headers/srtp/config.pb.go

127 lines
4.5 KiB
Go
Raw Normal View History

2017-01-02 19:52:45 +00:00
package srtp
2018-09-17 13:12:58 +00:00
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
2017-01-02 19:52:45 +00:00
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
2018-12-01 16:39:51 +00:00
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
2017-01-02 19:52:45 +00:00
type Config struct {
2018-06-26 14:28:54 +00:00
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Padding bool `protobuf:"varint,2,opt,name=padding,proto3" json:"padding,omitempty"`
Extension bool `protobuf:"varint,3,opt,name=extension,proto3" json:"extension,omitempty"`
CsrcCount uint32 `protobuf:"varint,4,opt,name=csrc_count,json=csrcCount,proto3" json:"csrc_count,omitempty"`
Marker bool `protobuf:"varint,5,opt,name=marker,proto3" json:"marker,omitempty"`
PayloadType uint32 `protobuf:"varint,6,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
2018-05-25 09:56:01 +00:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2017-01-02 19:52:45 +00:00
}
2018-05-25 09:56:01 +00:00
func (m *Config) Reset() { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
2018-09-14 09:00:59 +00:00
return fileDescriptor_0aa82c2c1e59b567, []int{0}
2018-05-25 09:56:01 +00:00
}
2018-09-30 16:39:28 +00:00
2018-05-25 09:56:01 +00:00
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
}
2018-09-14 09:00:59 +00:00
func (m *Config) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config.Merge(m, src)
2018-05-25 09:56:01 +00:00
}
func (m *Config) XXX_Size() int {
return xxx_messageInfo_Config.Size(m)
}
func (m *Config) XXX_DiscardUnknown() {
xxx_messageInfo_Config.DiscardUnknown(m)
}
var xxx_messageInfo_Config proto.InternalMessageInfo
2017-01-02 19:52:45 +00:00
func (m *Config) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *Config) GetPadding() bool {
if m != nil {
return m.Padding
}
return false
}
func (m *Config) GetExtension() bool {
if m != nil {
return m.Extension
}
return false
}
func (m *Config) GetCsrcCount() uint32 {
if m != nil {
return m.CsrcCount
}
return 0
}
func (m *Config) GetMarker() bool {
if m != nil {
return m.Marker
}
return false
}
func (m *Config) GetPayloadType() uint32 {
if m != nil {
return m.PayloadType
}
return 0
}
func init() {
proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.headers.srtp.Config")
}
func init() {
2018-09-14 09:00:59 +00:00
proto.RegisterFile("v2ray.com/core/transport/internet/headers/srtp/config.proto", fileDescriptor_0aa82c2c1e59b567)
2017-01-02 19:52:45 +00:00
}
2018-09-14 09:00:59 +00:00
var fileDescriptor_0aa82c2c1e59b567 = []byte{
2017-02-03 22:15:10 +00:00
// 260 bytes of a gzipped FileDescriptorProto
2017-04-04 10:28:14 +00:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0x31, 0x4b, 0x03, 0x31,
2017-02-03 22:15:10 +00:00
0x14, 0x07, 0x70, 0xae, 0xd6, 0xd3, 0x46, 0x5d, 0x32, 0x48, 0x06, 0x85, 0xea, 0x54, 0x3a, 0x24,
0x50, 0x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