msg

package
v6.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package msg is a generated protocol buffer package. It is generated from these files:

benchmark.proto

It has these top-level messages:

BenchmarkMessage

Index

Constants

View Source
const Default_BenchmarkMessage_Field100 int32 = 0
View Source
const Default_BenchmarkMessage_Field101 int32 = 0
View Source
const Default_BenchmarkMessage_Field104 int32 = 0
View Source
const Default_BenchmarkMessage_Field12 bool = true
View Source
const Default_BenchmarkMessage_Field128 int32 = 0
View Source
const Default_BenchmarkMessage_Field129 string = "xxxxxxxxxxxxxxxxxxxxx"
View Source
const Default_BenchmarkMessage_Field13 bool = true
View Source
const Default_BenchmarkMessage_Field130 int32 = 0
View Source
const Default_BenchmarkMessage_Field131 int32 = 0
View Source
const Default_BenchmarkMessage_Field14 bool = true
View Source
const Default_BenchmarkMessage_Field17 bool = true
View Source
const Default_BenchmarkMessage_Field23 int32 = 0
View Source
const Default_BenchmarkMessage_Field24 bool = false
View Source
const Default_BenchmarkMessage_Field25 int32 = 0
View Source
const Default_BenchmarkMessage_Field271 int32 = -1
View Source
const Default_BenchmarkMessage_Field272 int32 = -1
View Source
const Default_BenchmarkMessage_Field29 int32 = 0
View Source
const Default_BenchmarkMessage_Field30 bool = false
View Source
const Default_BenchmarkMessage_Field59 bool = false
View Source
const Default_BenchmarkMessage_Field6 int32 = 0
View Source
const Default_BenchmarkMessage_Field60 int32 = -1
View Source
const Default_BenchmarkMessage_Field67 int32 = 0
View Source
const Default_BenchmarkMessage_Field80 bool = false
View Source
const Default_BenchmarkMessage_Field81 bool = true

Variables

View Source
var (
	ErrInvalidLengthBenchmark = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBenchmark   = fmt.Errorf("proto: integer overflow")
)

Functions

func CheckArgs

func CheckArgs(c, n int) (int, int, error)

CheckArgs check concurrency and total request count.

Types

type BenchmarkMessage

type BenchmarkMessage struct {
	Field1   string   `protobuf:"bytes,1,req,name=field1" json:"field1"`
	Field9   string   `protobuf:"bytes,9,opt,name=field9" json:"field9"`
	Field18  string   `protobuf:"bytes,18,opt,name=field18" json:"field18"`
	Field80  *bool    `protobuf:"varint,80,opt,name=field80,def=0" json:"field80,omitempty"`
	Field81  *bool    `protobuf:"varint,81,opt,name=field81,def=1" json:"field81,omitempty"`
	Field2   int32    `protobuf:"varint,2,req,name=field2" json:"field2"`
	Field3   int32    `protobuf:"varint,3,req,name=field3" json:"field3"`
	Field280 int32    `protobuf:"varint,280,opt,name=field280" json:"field280"`
	Field6   *int32   `protobuf:"varint,6,opt,name=field6,def=0" json:"field6,omitempty"`
	Field22  int64    `protobuf:"varint,22,opt,name=field22" json:"field22"`
	Field4   string   `protobuf:"bytes,4,opt,name=field4" json:"field4"`
	Field5   []uint64 `protobuf:"fixed64,5,rep,name=field5" json:"field5,omitempty"`
	Field59  *bool    `protobuf:"varint,59,opt,name=field59,def=0" json:"field59,omitempty"`
	Field7   string   `protobuf:"bytes,7,opt,name=field7" json:"field7"`
	Field16  int32    `protobuf:"varint,16,opt,name=field16" json:"field16"`
	Field130 *int32   `protobuf:"varint,130,opt,name=field130,def=0" json:"field130,omitempty"`
	Field12  *bool    `protobuf:"varint,12,opt,name=field12,def=1" json:"field12,omitempty"`
	Field17  *bool    `protobuf:"varint,17,opt,name=field17,def=1" json:"field17,omitempty"`
	Field13  *bool    `protobuf:"varint,13,opt,name=field13,def=1" json:"field13,omitempty"`
	Field14  *bool    `protobuf:"varint,14,opt,name=field14,def=1" json:"field14,omitempty"`
	Field104 *int32   `protobuf:"varint,104,opt,name=field104,def=0" json:"field104,omitempty"`
	Field100 *int32   `protobuf:"varint,100,opt,name=field100,def=0" json:"field100,omitempty"`
	Field101 *int32   `protobuf:"varint,101,opt,name=field101,def=0" json:"field101,omitempty"`
	Field102 string   `protobuf:"bytes,102,opt,name=field102" json:"field102"`
	Field103 string   `protobuf:"bytes,103,opt,name=field103" json:"field103"`
	Field29  *int32   `protobuf:"varint,29,opt,name=field29,def=0" json:"field29,omitempty"`
	Field30  *bool    `protobuf:"varint,30,opt,name=field30,def=0" json:"field30,omitempty"`
	Field60  *int32   `protobuf:"varint,60,opt,name=field60,def=-1" json:"field60,omitempty"`
	Field271 *int32   `protobuf:"varint,271,opt,name=field271,def=-1" json:"field271,omitempty"`
	Field272 *int32   `protobuf:"varint,272,opt,name=field272,def=-1" json:"field272,omitempty"`
	Field150 int32    `protobuf:"varint,150,opt,name=field150" json:"field150"`
	Field23  *int32   `protobuf:"varint,23,opt,name=field23,def=0" json:"field23,omitempty"`
	Field24  *bool    `protobuf:"varint,24,opt,name=field24,def=0" json:"field24,omitempty"`
	Field25  *int32   `protobuf:"varint,25,opt,name=field25,def=0" json:"field25,omitempty"`
	Field78  bool     `protobuf:"varint,78,opt,name=field78" json:"field78"`
	Field67  *int32   `protobuf:"varint,67,opt,name=field67,def=0" json:"field67,omitempty"`
	Field68  int32    `protobuf:"varint,68,opt,name=field68" json:"field68"`
	Field128 *int32   `protobuf:"varint,128,opt,name=field128,def=0" json:"field128,omitempty"`
	Field129 *string  `protobuf:"bytes,129,opt,name=field129,def=xxxxxxxxxxxxxxxxxxxxx" json:"field129,omitempty"`
	Field131 *int32   `protobuf:"varint,131,opt,name=field131,def=0" json:"field131,omitempty"`
}

func PrepareArgs

func PrepareArgs() *BenchmarkMessage

PrepareArgs prepare args.

func (*BenchmarkMessage) Descriptor

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

func (*BenchmarkMessage) GetField1

func (m *BenchmarkMessage) GetField1() string

func (*BenchmarkMessage) GetField100

func (m *BenchmarkMessage) GetField100() int32

func (*BenchmarkMessage) GetField101

func (m *BenchmarkMessage) GetField101() int32

func (*BenchmarkMessage) GetField102

func (m *BenchmarkMessage) GetField102() string

func (*BenchmarkMessage) GetField103

func (m *BenchmarkMessage) GetField103() string

func (*BenchmarkMessage) GetField104

func (m *BenchmarkMessage) GetField104() int32

func (*BenchmarkMessage) GetField12

func (m *BenchmarkMessage) GetField12() bool

func (*BenchmarkMessage) GetField128

func (m *BenchmarkMessage) GetField128() int32

func (*BenchmarkMessage) GetField129

func (m *BenchmarkMessage) GetField129() string

func (*BenchmarkMessage) GetField13

func (m *BenchmarkMessage) GetField13() bool

func (*BenchmarkMessage) GetField130

func (m *BenchmarkMessage) GetField130() int32

func (*BenchmarkMessage) GetField131

func (m *BenchmarkMessage) GetField131() int32

func (*BenchmarkMessage) GetField14

func (m *BenchmarkMessage) GetField14() bool

func (*BenchmarkMessage) GetField150

func (m *BenchmarkMessage) GetField150() int32

func (*BenchmarkMessage) GetField16

func (m *BenchmarkMessage) GetField16() int32

func (*BenchmarkMessage) GetField17

func (m *BenchmarkMessage) GetField17() bool

func (*BenchmarkMessage) GetField18

func (m *BenchmarkMessage) GetField18() string

func (*BenchmarkMessage) GetField2

func (m *BenchmarkMessage) GetField2() int32

func (*BenchmarkMessage) GetField22

func (m *BenchmarkMessage) GetField22() int64

func (*BenchmarkMessage) GetField23

func (m *BenchmarkMessage) GetField23() int32

func (*BenchmarkMessage) GetField24

func (m *BenchmarkMessage) GetField24() bool

func (*BenchmarkMessage) GetField25

func (m *BenchmarkMessage) GetField25() int32

func (*BenchmarkMessage) GetField271

func (m *BenchmarkMessage) GetField271() int32

func (*BenchmarkMessage) GetField272

func (m *BenchmarkMessage) GetField272() int32

func (*BenchmarkMessage) GetField280

func (m *BenchmarkMessage) GetField280() int32

func (*BenchmarkMessage) GetField29

func (m *BenchmarkMessage) GetField29() int32

func (*BenchmarkMessage) GetField3

func (m *BenchmarkMessage) GetField3() int32

func (*BenchmarkMessage) GetField30

func (m *BenchmarkMessage) GetField30() bool

func (*BenchmarkMessage) GetField4

func (m *BenchmarkMessage) GetField4() string

func (*BenchmarkMessage) GetField5

func (m *BenchmarkMessage) GetField5() []uint64

func (*BenchmarkMessage) GetField59

func (m *BenchmarkMessage) GetField59() bool

func (*BenchmarkMessage) GetField6

func (m *BenchmarkMessage) GetField6() int32

func (*BenchmarkMessage) GetField60

func (m *BenchmarkMessage) GetField60() int32

func (*BenchmarkMessage) GetField67

func (m *BenchmarkMessage) GetField67() int32

func (*BenchmarkMessage) GetField68

func (m *BenchmarkMessage) GetField68() int32

func (*BenchmarkMessage) GetField7

func (m *BenchmarkMessage) GetField7() string

func (*BenchmarkMessage) GetField78

func (m *BenchmarkMessage) GetField78() bool

func (*BenchmarkMessage) GetField80

func (m *BenchmarkMessage) GetField80() bool

func (*BenchmarkMessage) GetField81

func (m *BenchmarkMessage) GetField81() bool

func (*BenchmarkMessage) GetField9

func (m *BenchmarkMessage) GetField9() string

func (*BenchmarkMessage) Marshal

func (m *BenchmarkMessage) Marshal() (dAtA []byte, err error)

func (*BenchmarkMessage) MarshalTo

func (m *BenchmarkMessage) MarshalTo(dAtA []byte) (int, error)

func (*BenchmarkMessage) ProtoMessage

func (*BenchmarkMessage) ProtoMessage()

func (*BenchmarkMessage) Reset

func (m *BenchmarkMessage) Reset()

func (*BenchmarkMessage) Size

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

func (*BenchmarkMessage) String

func (m *BenchmarkMessage) String() string

func (*BenchmarkMessage) Unmarshal

func (m *BenchmarkMessage) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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