bench

package
v0.0.0-...-f3ce4ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2016 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package bench is a generated protocol buffer package.

It is generated from these files:

combos/neither/bench.proto

It has these top-level messages:

Request
Small
Medium
Big

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBencherServer

func RegisterBencherServer(s *grpc.Server, srv BencherServer)

Types

type BencherClient

type BencherClient interface {
	BigStream(ctx context.Context, in *Request, opts ...grpc.CallOption) (Bencher_BigStreamClient, error)
	MediumStream(ctx context.Context, in *Request, opts ...grpc.CallOption) (Bencher_MediumStreamClient, error)
	SmallStream(ctx context.Context, in *Request, opts ...grpc.CallOption) (Bencher_SmallStreamClient, error)
}

func NewBencherClient

func NewBencherClient(cc *grpc.ClientConn) BencherClient

type BencherServer

type BencherServer interface {
	BigStream(*Request, Bencher_BigStreamServer) error
	MediumStream(*Request, Bencher_MediumStreamServer) error
	SmallStream(*Request, Bencher_SmallStreamServer) error
}

type Bencher_BigStreamClient

type Bencher_BigStreamClient interface {
	Recv() (*Big, error)
	grpc.ClientStream
}

type Bencher_BigStreamServer

type Bencher_BigStreamServer interface {
	Send(*Big) error
	grpc.ServerStream
}

type Bencher_MediumStreamClient

type Bencher_MediumStreamClient interface {
	Recv() (*Medium, error)
	grpc.ClientStream
}

type Bencher_MediumStreamServer

type Bencher_MediumStreamServer interface {
	Send(*Medium) error
	grpc.ServerStream
}

type Bencher_SmallStreamClient

type Bencher_SmallStreamClient interface {
	Recv() (*Small, error)
	grpc.ClientStream
}

type Bencher_SmallStreamServer

type Bencher_SmallStreamServer interface {
	Send(*Small) error
	grpc.ServerStream
}

type Big

type Big struct {
	Field1  float64  `protobuf:"fixed64,1,opt,name=Field1,json=field1,proto3" json:"Field1,omitempty"`
	Field2  float32  `protobuf:"fixed32,2,opt,name=Field2,json=field2,proto3" json:"Field2,omitempty"`
	Field3  *Medium  `protobuf:"bytes,3,opt,name=Field3,json=field3" json:"Field3,omitempty"`
	Field4  []*Small `protobuf:"bytes,4,rep,name=Field4,json=field4" json:"Field4,omitempty"`
	Field6  uint64   `protobuf:"varint,6,opt,name=Field6,json=field6,proto3" json:"Field6,omitempty"`
	Field7  int32    `protobuf:"zigzag32,7,opt,name=Field7,json=field7,proto3" json:"Field7,omitempty"`
	Field8  *Medium  `protobuf:"bytes,8,opt,name=Field8,json=field8" json:"Field8,omitempty"`
	Field13 bool     `protobuf:"varint,13,opt,name=Field13,json=field13,proto3" json:"Field13,omitempty"`
	Field14 string   `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"`
	Field15 []byte   `protobuf:"bytes,15,opt,name=Field15,json=field15,proto3" json:"Field15,omitempty"`
}

func NewPopulatedBig

func NewPopulatedBig(r randyBench, easy bool) *Big

func (*Big) Descriptor

func (*Big) Descriptor() ([]byte, []int)

func (*Big) Equal

func (this *Big) Equal(that interface{}) bool

func (*Big) GetField3

func (m *Big) GetField3() *Medium

func (*Big) GetField4

func (m *Big) GetField4() []*Small

func (*Big) GetField8

func (m *Big) GetField8() *Medium

func (*Big) GoString

func (this *Big) GoString() string

func (*Big) ProtoMessage

func (*Big) ProtoMessage()

func (*Big) Reset

func (m *Big) Reset()

func (*Big) Size

func (m *Big) Size() (n int)

func (*Big) String

func (m *Big) String() string

func (*Big) VerboseEqual

func (this *Big) VerboseEqual(that interface{}) error

type Medium

type Medium struct {
	Field1  float64 `protobuf:"fixed64,1,opt,name=Field1,json=field1,proto3" json:"Field1,omitempty"`
	Field2  float32 `protobuf:"fixed32,2,opt,name=Field2,json=field2,proto3" json:"Field2,omitempty"`
	Field3  int32   `protobuf:"varint,3,opt,name=Field3,json=field3,proto3" json:"Field3,omitempty"`
	Field4  int64   `protobuf:"varint,4,opt,name=Field4,json=field4,proto3" json:"Field4,omitempty"`
	Field5  uint32  `protobuf:"varint,5,opt,name=Field5,json=field5,proto3" json:"Field5,omitempty"`
	Field6  uint64  `protobuf:"varint,6,opt,name=Field6,json=field6,proto3" json:"Field6,omitempty"`
	Field7  int32   `protobuf:"zigzag32,7,opt,name=Field7,json=field7,proto3" json:"Field7,omitempty"`
	Field8  int64   `protobuf:"zigzag64,8,opt,name=Field8,json=field8,proto3" json:"Field8,omitempty"`
	Field9  uint32  `protobuf:"fixed32,9,opt,name=Field9,json=field9,proto3" json:"Field9,omitempty"`
	Field10 int32   `protobuf:"fixed32,10,opt,name=Field10,json=field10,proto3" json:"Field10,omitempty"`
	Field11 uint64  `protobuf:"fixed64,11,opt,name=Field11,json=field11,proto3" json:"Field11,omitempty"`
	Field12 int64   `protobuf:"fixed64,12,opt,name=Field12,json=field12,proto3" json:"Field12,omitempty"`
	Field13 bool    `protobuf:"varint,13,opt,name=Field13,json=field13,proto3" json:"Field13,omitempty"`
	Field14 string  `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"`
	Field15 []byte  `protobuf:"bytes,15,opt,name=Field15,json=field15,proto3" json:"Field15,omitempty"`
}

func NewPopulatedMedium

func NewPopulatedMedium(r randyBench, easy bool) *Medium

func (*Medium) Descriptor

func (*Medium) Descriptor() ([]byte, []int)

func (*Medium) Equal

func (this *Medium) Equal(that interface{}) bool

func (*Medium) GoString

func (this *Medium) GoString() string

func (*Medium) ProtoMessage

func (*Medium) ProtoMessage()

func (*Medium) Reset

func (m *Medium) Reset()

func (*Medium) Size

func (m *Medium) Size() (n int)

func (*Medium) String

func (m *Medium) String() string

func (*Medium) VerboseEqual

func (this *Medium) VerboseEqual(that interface{}) error

type Request

type Request struct {
	Num int64 `protobuf:"varint,1,opt,name=Num,json=num,proto3" json:"Num,omitempty"`
}

func NewPopulatedRequest

func NewPopulatedRequest(r randyBench, easy bool) *Request

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) Equal

func (this *Request) Equal(that interface{}) bool

func (*Request) GoString

func (this *Request) GoString() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) VerboseEqual

func (this *Request) VerboseEqual(that interface{}) error

type Small

type Small struct {
	Field3  int32  `protobuf:"varint,3,opt,name=Field3,json=field3,proto3" json:"Field3,omitempty"`
	Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,json=field11,proto3" json:"Field11,omitempty"`
	Field14 string `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"`
}

func NewPopulatedSmall

func NewPopulatedSmall(r randyBench, easy bool) *Small

func (*Small) Descriptor

func (*Small) Descriptor() ([]byte, []int)

func (*Small) Equal

func (this *Small) Equal(that interface{}) bool

func (*Small) GoString

func (this *Small) GoString() string

func (*Small) ProtoMessage

func (*Small) ProtoMessage()

func (*Small) Reset

func (m *Small) Reset()

func (*Small) Size

func (m *Small) Size() (n int)

func (*Small) String

func (m *Small) String() string

func (*Small) VerboseEqual

func (this *Small) VerboseEqual(that interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL