12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: v0/Conf.proto
- package v0
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import io "io"
- // 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.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- type ConfSetReq struct {
- // 参数结构
- VarList []*ConfSetReq_Var `protobuf:"bytes,1,rep,name=var_list,json=varList" json:"var_list"`
- }
- func (m *ConfSetReq) Reset() { *m = ConfSetReq{} }
- func (m *ConfSetReq) String() string { return proto.CompactTextString(m) }
- func (*ConfSetReq) ProtoMessage() {}
- func (*ConfSetReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_Conf_c480b4e7b1d60c46, []int{0}
- }
- func (m *ConfSetReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ConfSetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ConfSetReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ConfSetReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConfSetReq.Merge(dst, src)
- }
- func (m *ConfSetReq) XXX_Size() int {
- return m.Size()
- }
- func (m *ConfSetReq) XXX_DiscardUnknown() {
- xxx_messageInfo_ConfSetReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConfSetReq proto.InternalMessageInfo
- func (m *ConfSetReq) GetVarList() []*ConfSetReq_Var {
- if m != nil {
- return m.VarList
- }
- return nil
- }
- type ConfSetReq_Var struct {
- // 用户id
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- // 目标id,主播uid、房间号etc
- TargetId int64 `protobuf:"varint,2,opt,name=target_id,json=targetId,proto3" json:"target_id"`
- // type请在 “配置仓库标识申请” 中自行分配
- Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type"`
- // 设置内容
- Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content"`
- }
- func (m *ConfSetReq_Var) Reset() { *m = ConfSetReq_Var{} }
- func (m *ConfSetReq_Var) String() string { return proto.CompactTextString(m) }
- func (*ConfSetReq_Var) ProtoMessage() {}
- func (*ConfSetReq_Var) Descriptor() ([]byte, []int) {
- return fileDescriptor_Conf_c480b4e7b1d60c46, []int{0, 0}
- }
- func (m *ConfSetReq_Var) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ConfSetReq_Var) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ConfSetReq_Var.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ConfSetReq_Var) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConfSetReq_Var.Merge(dst, src)
- }
- func (m *ConfSetReq_Var) XXX_Size() int {
- return m.Size()
- }
- func (m *ConfSetReq_Var) XXX_DiscardUnknown() {
- xxx_messageInfo_ConfSetReq_Var.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConfSetReq_Var proto.InternalMessageInfo
- func (m *ConfSetReq_Var) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *ConfSetReq_Var) GetTargetId() int64 {
- if m != nil {
- return m.TargetId
- }
- return 0
- }
- func (m *ConfSetReq_Var) GetType() int64 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- func (m *ConfSetReq_Var) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- type ConfSetResp struct {
- // code
- Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
- // msg
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
- //
- Data *ConfSetResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
- }
- func (m *ConfSetResp) Reset() { *m = ConfSetResp{} }
- func (m *ConfSetResp) String() string { return proto.CompactTextString(m) }
- func (*ConfSetResp) ProtoMessage() {}
- func (*ConfSetResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_Conf_c480b4e7b1d60c46, []int{1}
- }
- func (m *ConfSetResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ConfSetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ConfSetResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ConfSetResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConfSetResp.Merge(dst, src)
- }
- func (m *ConfSetResp) XXX_Size() int {
- return m.Size()
- }
- func (m *ConfSetResp) XXX_DiscardUnknown() {
- xxx_messageInfo_ConfSetResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConfSetResp proto.InternalMessageInfo
- func (m *ConfSetResp) GetCode() int64 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *ConfSetResp) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *ConfSetResp) GetData() *ConfSetResp_Data {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type ConfSetResp_Data struct {
- }
- func (m *ConfSetResp_Data) Reset() { *m = ConfSetResp_Data{} }
- func (m *ConfSetResp_Data) String() string { return proto.CompactTextString(m) }
- func (*ConfSetResp_Data) ProtoMessage() {}
- func (*ConfSetResp_Data) Descriptor() ([]byte, []int) {
- return fileDescriptor_Conf_c480b4e7b1d60c46, []int{1, 0}
- }
- func (m *ConfSetResp_Data) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ConfSetResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ConfSetResp_Data.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ConfSetResp_Data) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConfSetResp_Data.Merge(dst, src)
- }
- func (m *ConfSetResp_Data) XXX_Size() int {
- return m.Size()
- }
- func (m *ConfSetResp_Data) XXX_DiscardUnknown() {
- xxx_messageInfo_ConfSetResp_Data.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConfSetResp_Data proto.InternalMessageInfo
- type ConfGetReq struct {
- // 用户id
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- // 目标id,主播uid、房间号etc
- TargetId int64 `protobuf:"varint,2,opt,name=target_id,json=targetId,proto3" json:"target_id"`
- // type请在 “配置仓库标识申请” 中自行分配
- Type []int64 `protobuf:"varint,3,rep,packed,name=type" json:"type"`
- }
- func (m *ConfGetReq) Reset() { *m = ConfGetReq{} }
- func (m *ConfGetReq) String() string { return proto.CompactTextString(m) }
- func (*ConfGetReq) ProtoMessage() {}
- func (*ConfGetReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_Conf_c480b4e7b1d60c46, []int{2}
- }
- func (m *ConfGetReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ConfGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ConfGetReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ConfGetReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConfGetReq.Merge(dst, src)
- }
- func (m *ConfGetReq) XXX_Size() int {
- return m.Size()
- }
- func (m *ConfGetReq) XXX_DiscardUnknown() {
- xxx_messageInfo_ConfGetReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConfGetReq proto.InternalMessageInfo
- func (m *ConfGetReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *ConfGetReq) GetTargetId() int64 {
- if m != nil {
- return m.TargetId
- }
- return 0
- }
- func (m *ConfGetReq) GetType() []int64 {
- if m != nil {
- return m.Type
- }
- return nil
- }
- type ConfGetResp struct {
- // code
- Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
- // msg
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
- // type -> content
- Data map[string]string `protobuf:"bytes,3,rep,name=data" json:"data" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- }
- func (m *ConfGetResp) Reset() { *m = ConfGetResp{} }
- func (m *ConfGetResp) String() string { return proto.CompactTextString(m) }
- func (*ConfGetResp) ProtoMessage() {}
- func (*ConfGetResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_Conf_c480b4e7b1d60c46, []int{3}
- }
- func (m *ConfGetResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ConfGetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ConfGetResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ConfGetResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConfGetResp.Merge(dst, src)
- }
- func (m *ConfGetResp) XXX_Size() int {
- return m.Size()
- }
- func (m *ConfGetResp) XXX_DiscardUnknown() {
- xxx_messageInfo_ConfGetResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConfGetResp proto.InternalMessageInfo
- func (m *ConfGetResp) GetCode() int64 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *ConfGetResp) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *ConfGetResp) GetData() map[string]string {
- if m != nil {
- return m.Data
- }
- return nil
- }
- func init() {
- proto.RegisterType((*ConfSetReq)(nil), "userext.v0.ConfSetReq")
- proto.RegisterType((*ConfSetReq_Var)(nil), "userext.v0.ConfSetReq.Var")
- proto.RegisterType((*ConfSetResp)(nil), "userext.v0.ConfSetResp")
- proto.RegisterType((*ConfSetResp_Data)(nil), "userext.v0.ConfSetResp.Data")
- proto.RegisterType((*ConfGetReq)(nil), "userext.v0.ConfGetReq")
- proto.RegisterType((*ConfGetResp)(nil), "userext.v0.ConfGetResp")
- proto.RegisterMapType((map[string]string)(nil), "userext.v0.ConfGetResp.DataEntry")
- }
- func (m *ConfSetReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ConfSetReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.VarList) > 0 {
- for _, msg := range m.VarList {
- dAtA[i] = 0xa
- i++
- i = encodeVarintConf(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- return i, nil
- }
- func (m *ConfSetReq_Var) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ConfSetReq_Var) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.Uid))
- }
- if m.TargetId != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.TargetId))
- }
- if m.Type != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.Type))
- }
- if len(m.Content) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintConf(dAtA, i, uint64(len(m.Content)))
- i += copy(dAtA[i:], m.Content)
- }
- return i, nil
- }
- func (m *ConfSetResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ConfSetResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Code != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.Code))
- }
- if len(m.Msg) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintConf(dAtA, i, uint64(len(m.Msg)))
- i += copy(dAtA[i:], m.Msg)
- }
- if m.Data != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.Data.Size()))
- n1, err := m.Data.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- return i, nil
- }
- func (m *ConfSetResp_Data) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ConfSetResp_Data) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- return i, nil
- }
- func (m *ConfGetReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ConfGetReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.Uid))
- }
- if m.TargetId != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.TargetId))
- }
- if len(m.Type) > 0 {
- dAtA3 := make([]byte, len(m.Type)*10)
- var j2 int
- for _, num1 := range m.Type {
- num := uint64(num1)
- for num >= 1<<7 {
- dAtA3[j2] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j2++
- }
- dAtA3[j2] = uint8(num)
- j2++
- }
- dAtA[i] = 0x1a
- i++
- i = encodeVarintConf(dAtA, i, uint64(j2))
- i += copy(dAtA[i:], dAtA3[:j2])
- }
- return i, nil
- }
- func (m *ConfGetResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ConfGetResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Code != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintConf(dAtA, i, uint64(m.Code))
- }
- if len(m.Msg) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintConf(dAtA, i, uint64(len(m.Msg)))
- i += copy(dAtA[i:], m.Msg)
- }
- if len(m.Data) > 0 {
- for k, _ := range m.Data {
- dAtA[i] = 0x1a
- i++
- v := m.Data[k]
- mapSize := 1 + len(k) + sovConf(uint64(len(k))) + 1 + len(v) + sovConf(uint64(len(v)))
- i = encodeVarintConf(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintConf(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- dAtA[i] = 0x12
- i++
- i = encodeVarintConf(dAtA, i, uint64(len(v)))
- i += copy(dAtA[i:], v)
- }
- }
- return i, nil
- }
- func encodeVarintConf(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *ConfSetReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.VarList) > 0 {
- for _, e := range m.VarList {
- l = e.Size()
- n += 1 + l + sovConf(uint64(l))
- }
- }
- return n
- }
- func (m *ConfSetReq_Var) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovConf(uint64(m.Uid))
- }
- if m.TargetId != 0 {
- n += 1 + sovConf(uint64(m.TargetId))
- }
- if m.Type != 0 {
- n += 1 + sovConf(uint64(m.Type))
- }
- l = len(m.Content)
- if l > 0 {
- n += 1 + l + sovConf(uint64(l))
- }
- return n
- }
- func (m *ConfSetResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Code != 0 {
- n += 1 + sovConf(uint64(m.Code))
- }
- l = len(m.Msg)
- if l > 0 {
- n += 1 + l + sovConf(uint64(l))
- }
- if m.Data != nil {
- l = m.Data.Size()
- n += 1 + l + sovConf(uint64(l))
- }
- return n
- }
- func (m *ConfSetResp_Data) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
- }
- func (m *ConfGetReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovConf(uint64(m.Uid))
- }
- if m.TargetId != 0 {
- n += 1 + sovConf(uint64(m.TargetId))
- }
- if len(m.Type) > 0 {
- l = 0
- for _, e := range m.Type {
- l += sovConf(uint64(e))
- }
- n += 1 + sovConf(uint64(l)) + l
- }
- return n
- }
- func (m *ConfGetResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Code != 0 {
- n += 1 + sovConf(uint64(m.Code))
- }
- l = len(m.Msg)
- if l > 0 {
- n += 1 + l + sovConf(uint64(l))
- }
- if len(m.Data) > 0 {
- for k, v := range m.Data {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sovConf(uint64(len(k))) + 1 + len(v) + sovConf(uint64(len(v)))
- n += mapEntrySize + 1 + sovConf(uint64(mapEntrySize))
- }
- }
- return n
- }
- func sovConf(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozConf(x uint64) (n int) {
- return sovConf(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *ConfSetReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ConfSetReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ConfSetReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field VarList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.VarList = append(m.VarList, &ConfSetReq_Var{})
- if err := m.VarList[len(m.VarList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ConfSetReq_Var) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Var: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Var: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType)
- }
- m.TargetId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TargetId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Content = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ConfSetResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ConfSetResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ConfSetResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
- }
- m.Code = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Code |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Msg = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = &ConfSetResp_Data{}
- }
- if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ConfSetResp_Data) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Data: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ConfGetReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ConfGetReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ConfGetReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType)
- }
- m.TargetId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TargetId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType == 0 {
- var v int64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Type = append(m.Type, v)
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + packedLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- var count int
- for _, integer := range dAtA {
- if integer < 128 {
- count++
- }
- }
- elementCount = count
- if elementCount != 0 && len(m.Type) == 0 {
- m.Type = make([]int64, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Type = append(m.Type, v)
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- default:
- iNdEx = preIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ConfGetResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ConfGetResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ConfGetResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
- }
- m.Code = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Code |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Msg = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthConf
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = make(map[string]string)
- }
- var mapkey string
- var mapvalue string
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthConf
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var stringLenmapvalue uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowConf
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapvalue |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapvalue := int(stringLenmapvalue)
- if intStringLenmapvalue < 0 {
- return ErrInvalidLengthConf
- }
- postStringIndexmapvalue := iNdEx + intStringLenmapvalue
- if postStringIndexmapvalue > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
- iNdEx = postStringIndexmapvalue
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Data[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipConf(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthConf
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipConf(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowConf
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowConf
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowConf
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthConf
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowConf
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipConf(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthConf = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowConf = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("v0/Conf.proto", fileDescriptor_Conf_c480b4e7b1d60c46) }
- var fileDescriptor_Conf_c480b4e7b1d60c46 = []byte{
- // 461 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x41, 0x8b, 0xd3, 0x40,
- 0x14, 0xee, 0x34, 0x71, 0xdb, 0xbc, 0xba, 0x20, 0x83, 0x68, 0x0c, 0x25, 0xa9, 0x05, 0xa1, 0x08,
- 0xa6, 0xa5, 0x82, 0xca, 0x5e, 0x84, 0xae, 0x52, 0x04, 0x4f, 0x23, 0xec, 0xc1, 0xcb, 0x32, 0x6d,
- 0x66, 0x63, 0x70, 0xdb, 0xe9, 0xce, 0x4c, 0x82, 0xfd, 0x0b, 0x9e, 0xf4, 0x1f, 0x79, 0xf4, 0xb8,
- 0x47, 0x4f, 0x41, 0x5a, 0xbc, 0xe4, 0x57, 0xc8, 0xcc, 0x74, 0x5b, 0x71, 0xbb, 0x27, 0xbd, 0x3c,
- 0xde, 0x37, 0xfd, 0xde, 0x9b, 0xef, 0xfb, 0x3a, 0x81, 0xc3, 0x62, 0xd0, 0x3f, 0xe6, 0xf3, 0xb3,
- 0x78, 0x21, 0xb8, 0xe2, 0x18, 0x72, 0xc9, 0x04, 0xfb, 0xa4, 0xe2, 0x62, 0x10, 0x3c, 0x49, 0x33,
- 0xf5, 0x21, 0x9f, 0xc4, 0x53, 0x3e, 0xeb, 0xa7, 0x3c, 0xe5, 0x7d, 0x43, 0x99, 0xe4, 0x67, 0x06,
- 0x19, 0x60, 0x3a, 0x3b, 0xda, 0xfd, 0x85, 0x00, 0xf4, 0xa6, 0x77, 0x4c, 0x11, 0x76, 0x81, 0x8f,
- 0xa1, 0x59, 0x50, 0x71, 0x7a, 0x9e, 0x49, 0xe5, 0xa3, 0x8e, 0xd3, 0x6b, 0x0d, 0x83, 0x78, 0xb7,
- 0x3c, 0xde, 0x31, 0xe3, 0x13, 0x2a, 0x46, 0xb7, 0xab, 0x32, 0xda, 0xf2, 0x49, 0xa3, 0xa0, 0xe2,
- 0x6d, 0x26, 0x55, 0xf0, 0x15, 0x81, 0x73, 0x42, 0x05, 0x7e, 0x00, 0x4e, 0x9e, 0x25, 0x3e, 0xea,
- 0xa0, 0x9e, 0x33, 0x6a, 0x54, 0x65, 0xa4, 0x21, 0xd1, 0x05, 0x3f, 0x06, 0x4f, 0x51, 0x91, 0x32,
- 0x75, 0x9a, 0x25, 0x7e, 0xdd, 0x10, 0x0e, 0xab, 0x32, 0xda, 0x1d, 0x92, 0xa6, 0x6d, 0xdf, 0x24,
- 0xb8, 0x0d, 0xae, 0x5a, 0x2e, 0x98, 0xef, 0x18, 0x5a, 0xb3, 0x2a, 0x23, 0x83, 0x89, 0xa9, 0xf8,
- 0x11, 0x34, 0xa6, 0x7c, 0xae, 0xd8, 0x5c, 0xf9, 0x6e, 0x07, 0xf5, 0xbc, 0x51, 0xab, 0x2a, 0xa3,
- 0xab, 0x23, 0x72, 0xd5, 0x74, 0x3f, 0x23, 0x68, 0x6d, 0xd5, 0xcb, 0x85, 0x5e, 0x3a, 0xe5, 0x09,
- 0xdb, 0x88, 0x33, 0x4b, 0x35, 0x26, 0xa6, 0x6a, 0xe5, 0x33, 0x99, 0x1a, 0x61, 0x9e, 0x55, 0x3e,
- 0x93, 0x29, 0xd1, 0x05, 0x1f, 0x81, 0x9b, 0x50, 0x45, 0x8d, 0x9a, 0xd6, 0xb0, 0xbd, 0x37, 0x1d,
- 0xb9, 0x88, 0x5f, 0x51, 0x45, 0xed, 0x5a, 0xcd, 0x26, 0xa6, 0x06, 0x07, 0xe0, 0xea, 0xf3, 0xee,
- 0x85, 0xcd, 0x7c, 0x6c, 0x33, 0xff, 0xef, 0x31, 0x39, 0xd7, 0x63, 0xea, 0x7e, 0xdb, 0xf8, 0x1f,
- 0xff, 0xab, 0xff, 0x97, 0x5b, 0xff, 0xfa, 0x75, 0x3c, 0xfc, 0xdb, 0xff, 0xf8, 0x0f, 0xff, 0xaf,
- 0xe7, 0x4a, 0x2c, 0xaf, 0x85, 0xf0, 0x1c, 0xbc, 0xed, 0x8f, 0xf8, 0x0e, 0x38, 0x1f, 0xd9, 0xd2,
- 0xa8, 0xf0, 0x88, 0x6e, 0xf1, 0x5d, 0xb8, 0x55, 0xd0, 0xf3, 0x9c, 0xd9, 0xcb, 0x89, 0x05, 0x47,
- 0xf5, 0x17, 0x68, 0x58, 0x80, 0xab, 0x6f, 0xc0, 0xcf, 0xc0, 0x91, 0x4c, 0xe1, 0x7b, 0xfb, 0x1f,
- 0x66, 0x70, 0xff, 0x86, 0xbf, 0x44, 0xcf, 0xa5, 0xfb, 0xe6, 0xc6, 0x37, 0xcc, 0x6d, 0xac, 0x8c,
- 0xda, 0xdf, 0x57, 0x21, 0xba, 0x5c, 0x85, 0xe8, 0xe7, 0x2a, 0x44, 0x5f, 0xd6, 0x61, 0xed, 0x72,
- 0x1d, 0xd6, 0x7e, 0xac, 0xc3, 0xda, 0xfb, 0x7a, 0x31, 0x98, 0x1c, 0x98, 0xef, 0xe8, 0xe9, 0xef,
- 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xee, 0x26, 0x01, 0x93, 0x03, 0x00, 0x00,
- }
|