You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1686 lines
39 KiB
1686 lines
39 KiB
// 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, |
|
}
|
|
|