123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: hello.proto
- /*
- Package grpc is a generated protocol buffer package.
- It is generated from these files:
- hello.proto
- It has these top-level messages:
- BenchmarkMessage
- */
- package proto
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import context "golang.org/x/net/context"
- import grpc1 "google.golang.org/grpc"
- import binary "encoding/binary"
- 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.ProtoPackageIsVersion2 // please upgrade the proto package
- type BenchmarkMessage struct {
- Field1 string `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
- Field9 string `protobuf:"bytes,9,opt,name=field9,proto3" json:"field9,omitempty"`
- Field18 string `protobuf:"bytes,18,opt,name=field18,proto3" json:"field18,omitempty"`
- Field80 bool `protobuf:"varint,80,opt,name=field80,proto3" json:"field80,omitempty"`
- Field81 bool `protobuf:"varint,81,opt,name=field81,proto3" json:"field81,omitempty"`
- Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"`
- Field3 int32 `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"`
- Field280 int32 `protobuf:"varint,280,opt,name=field280,proto3" json:"field280,omitempty"`
- Field6 int32 `protobuf:"varint,6,opt,name=field6,proto3" json:"field6,omitempty"`
- Field22 int64 `protobuf:"varint,22,opt,name=field22,proto3" json:"field22,omitempty"`
- Field4 string `protobuf:"bytes,4,opt,name=field4,proto3" json:"field4,omitempty"`
- Field5 uint64 `protobuf:"fixed64,5,opt,name=field5,proto3" json:"field5,omitempty"`
- Field59 bool `protobuf:"varint,59,opt,name=field59,proto3" json:"field59,omitempty"`
- Field7 string `protobuf:"bytes,7,opt,name=field7,proto3" json:"field7,omitempty"`
- Field16 int32 `protobuf:"varint,16,opt,name=field16,proto3" json:"field16,omitempty"`
- Field130 int32 `protobuf:"varint,130,opt,name=field130,proto3" json:"field130,omitempty"`
- Field12 bool `protobuf:"varint,12,opt,name=field12,proto3" json:"field12,omitempty"`
- Field17 bool `protobuf:"varint,17,opt,name=field17,proto3" json:"field17,omitempty"`
- Field13 bool `protobuf:"varint,13,opt,name=field13,proto3" json:"field13,omitempty"`
- Field14 bool `protobuf:"varint,14,opt,name=field14,proto3" json:"field14,omitempty"`
- Field104 int32 `protobuf:"varint,104,opt,name=field104,proto3" json:"field104,omitempty"`
- Field100 int32 `protobuf:"varint,100,opt,name=field100,proto3" json:"field100,omitempty"`
- Field101 int32 `protobuf:"varint,101,opt,name=field101,proto3" json:"field101,omitempty"`
- Field102 string `protobuf:"bytes,102,opt,name=field102,proto3" json:"field102,omitempty"`
- Field103 string `protobuf:"bytes,103,opt,name=field103,proto3" json:"field103,omitempty"`
- Field29 int32 `protobuf:"varint,29,opt,name=field29,proto3" json:"field29,omitempty"`
- Field30 bool `protobuf:"varint,30,opt,name=field30,proto3" json:"field30,omitempty"`
- Field60 int32 `protobuf:"varint,60,opt,name=field60,proto3" json:"field60,omitempty"`
- Field271 int32 `protobuf:"varint,271,opt,name=field271,proto3" json:"field271,omitempty"`
- Field272 int32 `protobuf:"varint,272,opt,name=field272,proto3" json:"field272,omitempty"`
- Field150 int32 `protobuf:"varint,150,opt,name=field150,proto3" json:"field150,omitempty"`
- Field23 int32 `protobuf:"varint,23,opt,name=field23,proto3" json:"field23,omitempty"`
- Field24 bool `protobuf:"varint,24,opt,name=field24,proto3" json:"field24,omitempty"`
- Field25 int32 `protobuf:"varint,25,opt,name=field25,proto3" json:"field25,omitempty"`
- Field78 bool `protobuf:"varint,78,opt,name=field78,proto3" json:"field78,omitempty"`
- Field67 int32 `protobuf:"varint,67,opt,name=field67,proto3" json:"field67,omitempty"`
- Field68 int32 `protobuf:"varint,68,opt,name=field68,proto3" json:"field68,omitempty"`
- Field128 int32 `protobuf:"varint,128,opt,name=field128,proto3" json:"field128,omitempty"`
- Field129 string `protobuf:"bytes,129,opt,name=field129,proto3" json:"field129,omitempty"`
- Field131 int32 `protobuf:"varint,131,opt,name=field131,proto3" json:"field131,omitempty"`
- }
- func (m *BenchmarkMessage) Reset() { *m = BenchmarkMessage{} }
- func (m *BenchmarkMessage) String() string { return proto.CompactTextString(m) }
- func (*BenchmarkMessage) ProtoMessage() {}
- func (*BenchmarkMessage) Descriptor() ([]byte, []int) { return fileDescriptorHello, []int{0} }
- func init() {
- proto.RegisterType((*BenchmarkMessage)(nil), "grpc.BenchmarkMessage")
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc1.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc1.SupportPackageIsVersion4
- // Client API for Hello service
- type HelloClient interface {
- // Sends a greeting
- Say(ctx context.Context, in *BenchmarkMessage, opts ...grpc1.CallOption) (*BenchmarkMessage, error)
- }
- type helloClient struct {
- cc *grpc1.ClientConn
- }
- func NewHelloClient(cc *grpc1.ClientConn) HelloClient {
- return &helloClient{cc}
- }
- func (c *helloClient) Say(ctx context.Context, in *BenchmarkMessage, opts ...grpc1.CallOption) (*BenchmarkMessage, error) {
- out := new(BenchmarkMessage)
- err := grpc1.Invoke(ctx, "/grpc.Hello/Say", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // Server API for Hello service
- type HelloServer interface {
- // Sends a greeting
- Say(context.Context, *BenchmarkMessage) (*BenchmarkMessage, error)
- }
- func RegisterHelloServer(s *grpc1.Server, srv HelloServer) {
- s.RegisterService(&_Hello_serviceDesc, srv)
- }
- func _Hello_Say_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc1.UnaryServerInterceptor) (interface{}, error) {
- in := new(BenchmarkMessage)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HelloServer).Say(ctx, in)
- }
- info := &grpc1.UnaryServerInfo{
- Server: srv,
- FullMethod: "/grpc.Hello/Say",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HelloServer).Say(ctx, req.(*BenchmarkMessage))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _Hello_serviceDesc = grpc1.ServiceDesc{
- ServiceName: "grpc.Hello",
- HandlerType: (*HelloServer)(nil),
- Methods: []grpc1.MethodDesc{
- {
- MethodName: "Say",
- Handler: _Hello_Say_Handler,
- },
- },
- Streams: []grpc1.StreamDesc{},
- Metadata: "hello.proto",
- }
- func (m *BenchmarkMessage) 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 *BenchmarkMessage) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Field1) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field1)))
- i += copy(dAtA[i:], m.Field1)
- }
- if m.Field2 != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field2))
- }
- if m.Field3 != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field3))
- }
- if len(m.Field4) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field4)))
- i += copy(dAtA[i:], m.Field4)
- }
- if m.Field5 != 0 {
- dAtA[i] = 0x29
- i++
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field5))
- i += 8
- }
- if m.Field6 != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field6))
- }
- if len(m.Field7) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field7)))
- i += copy(dAtA[i:], m.Field7)
- }
- if len(m.Field9) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field9)))
- i += copy(dAtA[i:], m.Field9)
- }
- if m.Field12 {
- dAtA[i] = 0x60
- i++
- if m.Field12 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field13 {
- dAtA[i] = 0x68
- i++
- if m.Field13 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field14 {
- dAtA[i] = 0x70
- i++
- if m.Field14 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field16 != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field16))
- }
- if m.Field17 {
- dAtA[i] = 0x88
- i++
- dAtA[i] = 0x1
- i++
- if m.Field17 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.Field18) > 0 {
- dAtA[i] = 0x92
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field18)))
- i += copy(dAtA[i:], m.Field18)
- }
- if m.Field22 != 0 {
- dAtA[i] = 0xb0
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field22))
- }
- if m.Field23 != 0 {
- dAtA[i] = 0xb8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field23))
- }
- if m.Field24 {
- dAtA[i] = 0xc0
- i++
- dAtA[i] = 0x1
- i++
- if m.Field24 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field25 != 0 {
- dAtA[i] = 0xc8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field25))
- }
- if m.Field29 != 0 {
- dAtA[i] = 0xe8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field29))
- }
- if m.Field30 {
- dAtA[i] = 0xf0
- i++
- dAtA[i] = 0x1
- i++
- if m.Field30 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field59 {
- dAtA[i] = 0xd8
- i++
- dAtA[i] = 0x3
- i++
- if m.Field59 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field60 != 0 {
- dAtA[i] = 0xe0
- i++
- dAtA[i] = 0x3
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field60))
- }
- if m.Field67 != 0 {
- dAtA[i] = 0x98
- i++
- dAtA[i] = 0x4
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field67))
- }
- if m.Field68 != 0 {
- dAtA[i] = 0xa0
- i++
- dAtA[i] = 0x4
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field68))
- }
- if m.Field78 {
- dAtA[i] = 0xf0
- i++
- dAtA[i] = 0x4
- i++
- if m.Field78 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field80 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x5
- i++
- if m.Field80 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field81 {
- dAtA[i] = 0x88
- i++
- dAtA[i] = 0x5
- i++
- if m.Field81 {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Field100 != 0 {
- dAtA[i] = 0xa0
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field100))
- }
- if m.Field101 != 0 {
- dAtA[i] = 0xa8
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field101))
- }
- if len(m.Field102) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field102)))
- i += copy(dAtA[i:], m.Field102)
- }
- if len(m.Field103) > 0 {
- dAtA[i] = 0xba
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field103)))
- i += copy(dAtA[i:], m.Field103)
- }
- if m.Field104 != 0 {
- dAtA[i] = 0xc0
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field104))
- }
- if m.Field128 != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x8
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field128))
- }
- if len(m.Field129) > 0 {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x8
- i++
- i = encodeVarintHello(dAtA, i, uint64(len(m.Field129)))
- i += copy(dAtA[i:], m.Field129)
- }
- if m.Field130 != 0 {
- dAtA[i] = 0x90
- i++
- dAtA[i] = 0x8
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field130))
- }
- if m.Field131 != 0 {
- dAtA[i] = 0x98
- i++
- dAtA[i] = 0x8
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field131))
- }
- if m.Field150 != 0 {
- dAtA[i] = 0xb0
- i++
- dAtA[i] = 0x9
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field150))
- }
- if m.Field271 != 0 {
- dAtA[i] = 0xf8
- i++
- dAtA[i] = 0x10
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field271))
- }
- if m.Field272 != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x11
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field272))
- }
- if m.Field280 != 0 {
- dAtA[i] = 0xc0
- i++
- dAtA[i] = 0x11
- i++
- i = encodeVarintHello(dAtA, i, uint64(m.Field280))
- }
- return i, nil
- }
- func encodeVarintHello(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 *BenchmarkMessage) Size() (n int) {
- var l int
- _ = l
- l = len(m.Field1)
- if l > 0 {
- n += 1 + l + sovHello(uint64(l))
- }
- if m.Field2 != 0 {
- n += 1 + sovHello(uint64(m.Field2))
- }
- if m.Field3 != 0 {
- n += 1 + sovHello(uint64(m.Field3))
- }
- l = len(m.Field4)
- if l > 0 {
- n += 1 + l + sovHello(uint64(l))
- }
- if m.Field5 != 0 {
- n += 9
- }
- if m.Field6 != 0 {
- n += 1 + sovHello(uint64(m.Field6))
- }
- l = len(m.Field7)
- if l > 0 {
- n += 1 + l + sovHello(uint64(l))
- }
- l = len(m.Field9)
- if l > 0 {
- n += 1 + l + sovHello(uint64(l))
- }
- if m.Field12 {
- n += 2
- }
- if m.Field13 {
- n += 2
- }
- if m.Field14 {
- n += 2
- }
- if m.Field16 != 0 {
- n += 2 + sovHello(uint64(m.Field16))
- }
- if m.Field17 {
- n += 3
- }
- l = len(m.Field18)
- if l > 0 {
- n += 2 + l + sovHello(uint64(l))
- }
- if m.Field22 != 0 {
- n += 2 + sovHello(uint64(m.Field22))
- }
- if m.Field23 != 0 {
- n += 2 + sovHello(uint64(m.Field23))
- }
- if m.Field24 {
- n += 3
- }
- if m.Field25 != 0 {
- n += 2 + sovHello(uint64(m.Field25))
- }
- if m.Field29 != 0 {
- n += 2 + sovHello(uint64(m.Field29))
- }
- if m.Field30 {
- n += 3
- }
- if m.Field59 {
- n += 3
- }
- if m.Field60 != 0 {
- n += 2 + sovHello(uint64(m.Field60))
- }
- if m.Field67 != 0 {
- n += 2 + sovHello(uint64(m.Field67))
- }
- if m.Field68 != 0 {
- n += 2 + sovHello(uint64(m.Field68))
- }
- if m.Field78 {
- n += 3
- }
- if m.Field80 {
- n += 3
- }
- if m.Field81 {
- n += 3
- }
- if m.Field100 != 0 {
- n += 2 + sovHello(uint64(m.Field100))
- }
- if m.Field101 != 0 {
- n += 2 + sovHello(uint64(m.Field101))
- }
- l = len(m.Field102)
- if l > 0 {
- n += 2 + l + sovHello(uint64(l))
- }
- l = len(m.Field103)
- if l > 0 {
- n += 2 + l + sovHello(uint64(l))
- }
- if m.Field104 != 0 {
- n += 2 + sovHello(uint64(m.Field104))
- }
- if m.Field128 != 0 {
- n += 2 + sovHello(uint64(m.Field128))
- }
- l = len(m.Field129)
- if l > 0 {
- n += 2 + l + sovHello(uint64(l))
- }
- if m.Field130 != 0 {
- n += 2 + sovHello(uint64(m.Field130))
- }
- if m.Field131 != 0 {
- n += 2 + sovHello(uint64(m.Field131))
- }
- if m.Field150 != 0 {
- n += 2 + sovHello(uint64(m.Field150))
- }
- if m.Field271 != 0 {
- n += 2 + sovHello(uint64(m.Field271))
- }
- if m.Field272 != 0 {
- n += 2 + sovHello(uint64(m.Field272))
- }
- if m.Field280 != 0 {
- n += 2 + sovHello(uint64(m.Field280))
- }
- return n
- }
- func sovHello(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozHello(x uint64) (n int) {
- return sovHello(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *BenchmarkMessage) 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 ErrIntOverflowHello
- }
- 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: BenchmarkMessage: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: BenchmarkMessage: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field1 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType)
- }
- m.Field2 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field2 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType)
- }
- m.Field3 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field3 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field4 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 1 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType)
- }
- m.Field5 = 0
- if (iNdEx + 8) > l {
- return io.ErrUnexpectedEOF
- }
- m.Field5 = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
- iNdEx += 8
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType)
- }
- m.Field6 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field6 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field7 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field9 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field12 = bool(v != 0)
- case 13:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field13 = bool(v != 0)
- case 14:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field14 = bool(v != 0)
- case 16:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field16", wireType)
- }
- m.Field16 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field16 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 17:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field17", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field17 = bool(v != 0)
- case 18:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field18", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field18 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 22:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field22", wireType)
- }
- m.Field22 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field22 |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 23:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field23", wireType)
- }
- m.Field23 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field23 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 24:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field24", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field24 = bool(v != 0)
- case 25:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field25", wireType)
- }
- m.Field25 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field25 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 29:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field29", wireType)
- }
- m.Field29 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field29 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 30:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field30", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field30 = bool(v != 0)
- case 59:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field59", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field59 = bool(v != 0)
- case 60:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field60", wireType)
- }
- m.Field60 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field60 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 67:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field67", wireType)
- }
- m.Field67 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field67 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 68:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field68", wireType)
- }
- m.Field68 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field68 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 78:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field78", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field78 = bool(v != 0)
- case 80:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field80", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field80 = bool(v != 0)
- case 81:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field81", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Field81 = bool(v != 0)
- case 100:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field100", wireType)
- }
- m.Field100 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field100 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 101:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field101", wireType)
- }
- m.Field101 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field101 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 102:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field102", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field102 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 103:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field103", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field103 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 104:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field104", wireType)
- }
- m.Field104 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field104 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 128:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field128", wireType)
- }
- m.Field128 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field128 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 129:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field129", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- 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 ErrInvalidLengthHello
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Field129 = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 130:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field130", wireType)
- }
- m.Field130 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field130 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 131:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field131", wireType)
- }
- m.Field131 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field131 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 150:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field150", wireType)
- }
- m.Field150 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field150 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 271:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field271", wireType)
- }
- m.Field271 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field271 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 272:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field272", wireType)
- }
- m.Field272 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field272 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 280:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Field280", wireType)
- }
- m.Field280 = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowHello
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Field280 |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipHello(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthHello
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipHello(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, ErrIntOverflowHello
- }
- 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, ErrIntOverflowHello
- }
- 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, ErrIntOverflowHello
- }
- 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, ErrInvalidLengthHello
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowHello
- }
- 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 := skipHello(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 (
- ErrInvalidLengthHello = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowHello = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("hello.proto", fileDescriptorHello) }
- var fileDescriptorHello = []byte{
- // 495 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd4, 0x4d, 0x6e, 0xd3, 0x40,
- 0x14, 0x07, 0xf0, 0x4c, 0xdb, 0xa4, 0xa9, 0xf9, 0x50, 0xf1, 0x22, 0xfc, 0x09, 0xc2, 0x8a, 0xba,
- 0xca, 0x86, 0x74, 0x3c, 0x63, 0x7b, 0xc6, 0x82, 0x05, 0x2a, 0x2c, 0xba, 0x01, 0x41, 0x38, 0x41,
- 0x92, 0x3a, 0x4e, 0x45, 0x8a, 0xab, 0xb4, 0x5d, 0xb0, 0xe3, 0xe3, 0x00, 0xb0, 0x42, 0x3d, 0x08,
- 0x87, 0xe8, 0xb2, 0x47, 0xa0, 0xe1, 0x22, 0xa8, 0x4e, 0x3c, 0xef, 0x19, 0x89, 0x9d, 0xdf, 0xff,
- 0xa7, 0xf7, 0xe6, 0x69, 0x2c, 0x8d, 0x77, 0x67, 0x96, 0xcd, 0xe7, 0xc5, 0xe0, 0x74, 0x51, 0x9c,
- 0x17, 0xfe, 0x56, 0xbe, 0x38, 0x9d, 0x74, 0x9f, 0xe6, 0xc7, 0xe7, 0xb3, 0x8b, 0xf1, 0x60, 0x52,
- 0x9c, 0xec, 0xe7, 0x45, 0x5e, 0xec, 0x97, 0x38, 0xbe, 0x98, 0x96, 0x55, 0x59, 0x94, 0x5f, 0xab,
- 0xa6, 0xbd, 0x5f, 0x6d, 0x6f, 0xf7, 0x20, 0xfb, 0x38, 0x99, 0x9d, 0x8c, 0x16, 0x1f, 0x5e, 0x67,
- 0x67, 0x67, 0xa3, 0x3c, 0xf3, 0x3b, 0x5e, 0x6b, 0x7a, 0x9c, 0xcd, 0x8f, 0x42, 0x88, 0x9e, 0xe8,
- 0xef, 0x0c, 0xd7, 0x95, 0xcb, 0x15, 0x36, 0x7a, 0xa2, 0xdf, 0x5c, 0xe7, 0xca, 0xe5, 0x1a, 0x9b,
- 0x2c, 0xd7, 0x2e, 0x8f, 0xb0, 0xc5, 0xe6, 0x44, 0x2e, 0x8f, 0xd1, 0xec, 0x89, 0x7e, 0x6b, 0x9d,
- 0xc7, 0x2e, 0x4f, 0xd0, 0x62, 0x73, 0x12, 0x97, 0x1b, 0x6c, 0xb3, 0x39, 0xc6, 0xe5, 0x29, 0x76,
- 0x58, 0x9e, 0xfa, 0xf0, 0xb6, 0x57, 0x1b, 0x2b, 0xdc, 0xed, 0x89, 0x7e, 0x7b, 0x58, 0x95, 0x24,
- 0x1a, 0xf7, 0xb8, 0x68, 0x92, 0x08, 0xf7, 0xb9, 0x44, 0x24, 0x09, 0x76, 0xcb, 0xb5, 0xaa, 0x92,
- 0xc4, 0xe0, 0x01, 0xef, 0x31, 0x24, 0x16, 0x7e, 0xb9, 0x5a, 0x55, 0x3a, 0x51, 0x0a, 0x9d, 0x9e,
- 0xe8, 0x6f, 0x0e, 0xab, 0x92, 0x44, 0xe3, 0x21, 0x3b, 0x47, 0xd1, 0x6e, 0x2a, 0x02, 0xd8, 0x39,
- 0x8a, 0x76, 0x53, 0x31, 0x1e, 0xf1, 0x9e, 0x98, 0x24, 0xc5, 0x13, 0x2e, 0x74, 0x3b, 0x5a, 0x22,
- 0x60, 0xd3, 0xb4, 0x74, 0x12, 0xa7, 0x78, 0xc6, 0x24, 0xa6, 0x9e, 0x44, 0xe2, 0x39, 0x9b, 0x96,
- 0x50, 0x4f, 0x62, 0xf0, 0x92, 0x0b, 0xdd, 0x41, 0x62, 0xf1, 0x8a, 0x0b, 0xdd, 0x81, 0xb1, 0x78,
- 0xc3, 0xce, 0x31, 0x24, 0x56, 0xe2, 0x2d, 0x13, 0x4b, 0xe7, 0xd8, 0x10, 0xef, 0xb8, 0x84, 0x7e,
- 0xd7, 0x6b, 0xaf, 0x2e, 0x57, 0x4a, 0x1c, 0x95, 0x07, 0xb9, 0x9a, 0x59, 0x88, 0xac, 0x66, 0xbc,
- 0x4f, 0x61, 0x5a, 0xfe, 0x24, 0x57, 0x33, 0xd3, 0xc8, 0x6b, 0xa6, 0x99, 0x45, 0x98, 0xd5, 0x66,
- 0x46, 0xfe, 0xe3, 0xca, 0x94, 0xc5, 0x67, 0xc1, 0x51, 0x59, 0x86, 0x29, 0xbe, 0x08, 0x3e, 0x55,
- 0xa5, 0x84, 0x5a, 0xe2, 0x6b, 0xad, 0x53, 0x4b, 0x86, 0x21, 0xbe, 0xd5, 0x31, 0x24, 0x8c, 0x25,
- 0x7e, 0xd6, 0x30, 0xa6, 0x4e, 0x65, 0x42, 0x7c, 0xdf, 0x60, 0xa8, 0x4c, 0xc8, 0x50, 0xe1, 0x47,
- 0x1d, 0x15, 0xa1, 0x95, 0xb8, 0xac, 0xa1, 0x95, 0xea, 0x85, 0xd7, 0x3c, 0xbc, 0x7d, 0x7a, 0x7c,
- 0xe3, 0x6d, 0xbe, 0x1f, 0x7d, 0xf2, 0x3b, 0x83, 0xdb, 0xc7, 0x67, 0xf0, 0xef, 0x4b, 0xd2, 0xfd,
- 0x4f, 0xbe, 0xd7, 0x38, 0xe8, 0x5e, 0xdd, 0x04, 0x8d, 0xeb, 0x9b, 0xa0, 0x71, 0xb5, 0x0c, 0xc4,
- 0xf5, 0x32, 0x10, 0xbf, 0x97, 0x81, 0xb8, 0xfc, 0x13, 0x34, 0x0e, 0xc5, 0xb8, 0x55, 0xbe, 0x4d,
- 0xfa, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xed, 0x6f, 0xb7, 0xdf, 0x04, 0x00, 0x00,
- }
|