12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: control.proto
- package grpc_testing
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // 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.ProtoPackageIsVersion3 // please upgrade the proto package
- type ClientType int32
- const (
- ClientType_SYNC_CLIENT ClientType = 0
- ClientType_ASYNC_CLIENT ClientType = 1
- )
- var ClientType_name = map[int32]string{
- 0: "SYNC_CLIENT",
- 1: "ASYNC_CLIENT",
- }
- var ClientType_value = map[string]int32{
- "SYNC_CLIENT": 0,
- "ASYNC_CLIENT": 1,
- }
- func (x ClientType) String() string {
- return proto.EnumName(ClientType_name, int32(x))
- }
- func (ClientType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{0}
- }
- type ServerType int32
- const (
- ServerType_SYNC_SERVER ServerType = 0
- ServerType_ASYNC_SERVER ServerType = 1
- ServerType_ASYNC_GENERIC_SERVER ServerType = 2
- )
- var ServerType_name = map[int32]string{
- 0: "SYNC_SERVER",
- 1: "ASYNC_SERVER",
- 2: "ASYNC_GENERIC_SERVER",
- }
- var ServerType_value = map[string]int32{
- "SYNC_SERVER": 0,
- "ASYNC_SERVER": 1,
- "ASYNC_GENERIC_SERVER": 2,
- }
- func (x ServerType) String() string {
- return proto.EnumName(ServerType_name, int32(x))
- }
- func (ServerType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{1}
- }
- type RpcType int32
- const (
- RpcType_UNARY RpcType = 0
- RpcType_STREAMING RpcType = 1
- )
- var RpcType_name = map[int32]string{
- 0: "UNARY",
- 1: "STREAMING",
- }
- var RpcType_value = map[string]int32{
- "UNARY": 0,
- "STREAMING": 1,
- }
- func (x RpcType) String() string {
- return proto.EnumName(RpcType_name, int32(x))
- }
- func (RpcType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{2}
- }
- // Parameters of poisson process distribution, which is a good representation
- // of activity coming in from independent identical stationary sources.
- type PoissonParams struct {
- // The rate of arrivals (a.k.a. lambda parameter of the exp distribution).
- OfferedLoad float64 `protobuf:"fixed64,1,opt,name=offered_load,json=offeredLoad,proto3" json:"offered_load,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *PoissonParams) Reset() { *m = PoissonParams{} }
- func (m *PoissonParams) String() string { return proto.CompactTextString(m) }
- func (*PoissonParams) ProtoMessage() {}
- func (*PoissonParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{0}
- }
- func (m *PoissonParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PoissonParams.Unmarshal(m, b)
- }
- func (m *PoissonParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PoissonParams.Marshal(b, m, deterministic)
- }
- func (m *PoissonParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PoissonParams.Merge(m, src)
- }
- func (m *PoissonParams) XXX_Size() int {
- return xxx_messageInfo_PoissonParams.Size(m)
- }
- func (m *PoissonParams) XXX_DiscardUnknown() {
- xxx_messageInfo_PoissonParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_PoissonParams proto.InternalMessageInfo
- func (m *PoissonParams) GetOfferedLoad() float64 {
- if m != nil {
- return m.OfferedLoad
- }
- return 0
- }
- type UniformParams struct {
- InterarrivalLo float64 `protobuf:"fixed64,1,opt,name=interarrival_lo,json=interarrivalLo,proto3" json:"interarrival_lo,omitempty"`
- InterarrivalHi float64 `protobuf:"fixed64,2,opt,name=interarrival_hi,json=interarrivalHi,proto3" json:"interarrival_hi,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UniformParams) Reset() { *m = UniformParams{} }
- func (m *UniformParams) String() string { return proto.CompactTextString(m) }
- func (*UniformParams) ProtoMessage() {}
- func (*UniformParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{1}
- }
- func (m *UniformParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UniformParams.Unmarshal(m, b)
- }
- func (m *UniformParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UniformParams.Marshal(b, m, deterministic)
- }
- func (m *UniformParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UniformParams.Merge(m, src)
- }
- func (m *UniformParams) XXX_Size() int {
- return xxx_messageInfo_UniformParams.Size(m)
- }
- func (m *UniformParams) XXX_DiscardUnknown() {
- xxx_messageInfo_UniformParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_UniformParams proto.InternalMessageInfo
- func (m *UniformParams) GetInterarrivalLo() float64 {
- if m != nil {
- return m.InterarrivalLo
- }
- return 0
- }
- func (m *UniformParams) GetInterarrivalHi() float64 {
- if m != nil {
- return m.InterarrivalHi
- }
- return 0
- }
- type DeterministicParams struct {
- OfferedLoad float64 `protobuf:"fixed64,1,opt,name=offered_load,json=offeredLoad,proto3" json:"offered_load,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DeterministicParams) Reset() { *m = DeterministicParams{} }
- func (m *DeterministicParams) String() string { return proto.CompactTextString(m) }
- func (*DeterministicParams) ProtoMessage() {}
- func (*DeterministicParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{2}
- }
- func (m *DeterministicParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeterministicParams.Unmarshal(m, b)
- }
- func (m *DeterministicParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeterministicParams.Marshal(b, m, deterministic)
- }
- func (m *DeterministicParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeterministicParams.Merge(m, src)
- }
- func (m *DeterministicParams) XXX_Size() int {
- return xxx_messageInfo_DeterministicParams.Size(m)
- }
- func (m *DeterministicParams) XXX_DiscardUnknown() {
- xxx_messageInfo_DeterministicParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_DeterministicParams proto.InternalMessageInfo
- func (m *DeterministicParams) GetOfferedLoad() float64 {
- if m != nil {
- return m.OfferedLoad
- }
- return 0
- }
- type ParetoParams struct {
- InterarrivalBase float64 `protobuf:"fixed64,1,opt,name=interarrival_base,json=interarrivalBase,proto3" json:"interarrival_base,omitempty"`
- Alpha float64 `protobuf:"fixed64,2,opt,name=alpha,proto3" json:"alpha,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ParetoParams) Reset() { *m = ParetoParams{} }
- func (m *ParetoParams) String() string { return proto.CompactTextString(m) }
- func (*ParetoParams) ProtoMessage() {}
- func (*ParetoParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{3}
- }
- func (m *ParetoParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ParetoParams.Unmarshal(m, b)
- }
- func (m *ParetoParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ParetoParams.Marshal(b, m, deterministic)
- }
- func (m *ParetoParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ParetoParams.Merge(m, src)
- }
- func (m *ParetoParams) XXX_Size() int {
- return xxx_messageInfo_ParetoParams.Size(m)
- }
- func (m *ParetoParams) XXX_DiscardUnknown() {
- xxx_messageInfo_ParetoParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_ParetoParams proto.InternalMessageInfo
- func (m *ParetoParams) GetInterarrivalBase() float64 {
- if m != nil {
- return m.InterarrivalBase
- }
- return 0
- }
- func (m *ParetoParams) GetAlpha() float64 {
- if m != nil {
- return m.Alpha
- }
- return 0
- }
- // Once an RPC finishes, immediately start a new one.
- // No configuration parameters needed.
- type ClosedLoopParams struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClosedLoopParams) Reset() { *m = ClosedLoopParams{} }
- func (m *ClosedLoopParams) String() string { return proto.CompactTextString(m) }
- func (*ClosedLoopParams) ProtoMessage() {}
- func (*ClosedLoopParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{4}
- }
- func (m *ClosedLoopParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClosedLoopParams.Unmarshal(m, b)
- }
- func (m *ClosedLoopParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClosedLoopParams.Marshal(b, m, deterministic)
- }
- func (m *ClosedLoopParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClosedLoopParams.Merge(m, src)
- }
- func (m *ClosedLoopParams) XXX_Size() int {
- return xxx_messageInfo_ClosedLoopParams.Size(m)
- }
- func (m *ClosedLoopParams) XXX_DiscardUnknown() {
- xxx_messageInfo_ClosedLoopParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClosedLoopParams proto.InternalMessageInfo
- type LoadParams struct {
- // Types that are valid to be assigned to Load:
- // *LoadParams_ClosedLoop
- // *LoadParams_Poisson
- // *LoadParams_Uniform
- // *LoadParams_Determ
- // *LoadParams_Pareto
- Load isLoadParams_Load `protobuf_oneof:"load"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LoadParams) Reset() { *m = LoadParams{} }
- func (m *LoadParams) String() string { return proto.CompactTextString(m) }
- func (*LoadParams) ProtoMessage() {}
- func (*LoadParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{5}
- }
- func (m *LoadParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LoadParams.Unmarshal(m, b)
- }
- func (m *LoadParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LoadParams.Marshal(b, m, deterministic)
- }
- func (m *LoadParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LoadParams.Merge(m, src)
- }
- func (m *LoadParams) XXX_Size() int {
- return xxx_messageInfo_LoadParams.Size(m)
- }
- func (m *LoadParams) XXX_DiscardUnknown() {
- xxx_messageInfo_LoadParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_LoadParams proto.InternalMessageInfo
- type isLoadParams_Load interface {
- isLoadParams_Load()
- }
- type LoadParams_ClosedLoop struct {
- ClosedLoop *ClosedLoopParams `protobuf:"bytes,1,opt,name=closed_loop,json=closedLoop,proto3,oneof"`
- }
- type LoadParams_Poisson struct {
- Poisson *PoissonParams `protobuf:"bytes,2,opt,name=poisson,proto3,oneof"`
- }
- type LoadParams_Uniform struct {
- Uniform *UniformParams `protobuf:"bytes,3,opt,name=uniform,proto3,oneof"`
- }
- type LoadParams_Determ struct {
- Determ *DeterministicParams `protobuf:"bytes,4,opt,name=determ,proto3,oneof"`
- }
- type LoadParams_Pareto struct {
- Pareto *ParetoParams `protobuf:"bytes,5,opt,name=pareto,proto3,oneof"`
- }
- func (*LoadParams_ClosedLoop) isLoadParams_Load() {}
- func (*LoadParams_Poisson) isLoadParams_Load() {}
- func (*LoadParams_Uniform) isLoadParams_Load() {}
- func (*LoadParams_Determ) isLoadParams_Load() {}
- func (*LoadParams_Pareto) isLoadParams_Load() {}
- func (m *LoadParams) GetLoad() isLoadParams_Load {
- if m != nil {
- return m.Load
- }
- return nil
- }
- func (m *LoadParams) GetClosedLoop() *ClosedLoopParams {
- if x, ok := m.GetLoad().(*LoadParams_ClosedLoop); ok {
- return x.ClosedLoop
- }
- return nil
- }
- func (m *LoadParams) GetPoisson() *PoissonParams {
- if x, ok := m.GetLoad().(*LoadParams_Poisson); ok {
- return x.Poisson
- }
- return nil
- }
- func (m *LoadParams) GetUniform() *UniformParams {
- if x, ok := m.GetLoad().(*LoadParams_Uniform); ok {
- return x.Uniform
- }
- return nil
- }
- func (m *LoadParams) GetDeterm() *DeterministicParams {
- if x, ok := m.GetLoad().(*LoadParams_Determ); ok {
- return x.Determ
- }
- return nil
- }
- func (m *LoadParams) GetPareto() *ParetoParams {
- if x, ok := m.GetLoad().(*LoadParams_Pareto); ok {
- return x.Pareto
- }
- return nil
- }
- // XXX_OneofWrappers is for the internal use of the proto package.
- func (*LoadParams) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*LoadParams_ClosedLoop)(nil),
- (*LoadParams_Poisson)(nil),
- (*LoadParams_Uniform)(nil),
- (*LoadParams_Determ)(nil),
- (*LoadParams_Pareto)(nil),
- }
- }
- // presence of SecurityParams implies use of TLS
- type SecurityParams struct {
- UseTestCa bool `protobuf:"varint,1,opt,name=use_test_ca,json=useTestCa,proto3" json:"use_test_ca,omitempty"`
- ServerHostOverride string `protobuf:"bytes,2,opt,name=server_host_override,json=serverHostOverride,proto3" json:"server_host_override,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SecurityParams) Reset() { *m = SecurityParams{} }
- func (m *SecurityParams) String() string { return proto.CompactTextString(m) }
- func (*SecurityParams) ProtoMessage() {}
- func (*SecurityParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{6}
- }
- func (m *SecurityParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SecurityParams.Unmarshal(m, b)
- }
- func (m *SecurityParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SecurityParams.Marshal(b, m, deterministic)
- }
- func (m *SecurityParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SecurityParams.Merge(m, src)
- }
- func (m *SecurityParams) XXX_Size() int {
- return xxx_messageInfo_SecurityParams.Size(m)
- }
- func (m *SecurityParams) XXX_DiscardUnknown() {
- xxx_messageInfo_SecurityParams.DiscardUnknown(m)
- }
- var xxx_messageInfo_SecurityParams proto.InternalMessageInfo
- func (m *SecurityParams) GetUseTestCa() bool {
- if m != nil {
- return m.UseTestCa
- }
- return false
- }
- func (m *SecurityParams) GetServerHostOverride() string {
- if m != nil {
- return m.ServerHostOverride
- }
- return ""
- }
- type ClientConfig struct {
- // List of targets to connect to. At least one target needs to be specified.
- ServerTargets []string `protobuf:"bytes,1,rep,name=server_targets,json=serverTargets,proto3" json:"server_targets,omitempty"`
- ClientType ClientType `protobuf:"varint,2,opt,name=client_type,json=clientType,proto3,enum=grpc.testing.ClientType" json:"client_type,omitempty"`
- SecurityParams *SecurityParams `protobuf:"bytes,3,opt,name=security_params,json=securityParams,proto3" json:"security_params,omitempty"`
- // How many concurrent RPCs to start for each channel.
- // For synchronous client, use a separate thread for each outstanding RPC.
- OutstandingRpcsPerChannel int32 `protobuf:"varint,4,opt,name=outstanding_rpcs_per_channel,json=outstandingRpcsPerChannel,proto3" json:"outstanding_rpcs_per_channel,omitempty"`
- // Number of independent client channels to create.
- // i-th channel will connect to server_target[i % server_targets.size()]
- ClientChannels int32 `protobuf:"varint,5,opt,name=client_channels,json=clientChannels,proto3" json:"client_channels,omitempty"`
- // Only for async client. Number of threads to use to start/manage RPCs.
- AsyncClientThreads int32 `protobuf:"varint,7,opt,name=async_client_threads,json=asyncClientThreads,proto3" json:"async_client_threads,omitempty"`
- RpcType RpcType `protobuf:"varint,8,opt,name=rpc_type,json=rpcType,proto3,enum=grpc.testing.RpcType" json:"rpc_type,omitempty"`
- // The requested load for the entire client (aggregated over all the threads).
- LoadParams *LoadParams `protobuf:"bytes,10,opt,name=load_params,json=loadParams,proto3" json:"load_params,omitempty"`
- PayloadConfig *PayloadConfig `protobuf:"bytes,11,opt,name=payload_config,json=payloadConfig,proto3" json:"payload_config,omitempty"`
- HistogramParams *HistogramParams `protobuf:"bytes,12,opt,name=histogram_params,json=histogramParams,proto3" json:"histogram_params,omitempty"`
- // Specify the cores we should run the client on, if desired
- CoreList []int32 `protobuf:"varint,13,rep,packed,name=core_list,json=coreList,proto3" json:"core_list,omitempty"`
- CoreLimit int32 `protobuf:"varint,14,opt,name=core_limit,json=coreLimit,proto3" json:"core_limit,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClientConfig) Reset() { *m = ClientConfig{} }
- func (m *ClientConfig) String() string { return proto.CompactTextString(m) }
- func (*ClientConfig) ProtoMessage() {}
- func (*ClientConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{7}
- }
- func (m *ClientConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClientConfig.Unmarshal(m, b)
- }
- func (m *ClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClientConfig.Marshal(b, m, deterministic)
- }
- func (m *ClientConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClientConfig.Merge(m, src)
- }
- func (m *ClientConfig) XXX_Size() int {
- return xxx_messageInfo_ClientConfig.Size(m)
- }
- func (m *ClientConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_ClientConfig.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClientConfig proto.InternalMessageInfo
- func (m *ClientConfig) GetServerTargets() []string {
- if m != nil {
- return m.ServerTargets
- }
- return nil
- }
- func (m *ClientConfig) GetClientType() ClientType {
- if m != nil {
- return m.ClientType
- }
- return ClientType_SYNC_CLIENT
- }
- func (m *ClientConfig) GetSecurityParams() *SecurityParams {
- if m != nil {
- return m.SecurityParams
- }
- return nil
- }
- func (m *ClientConfig) GetOutstandingRpcsPerChannel() int32 {
- if m != nil {
- return m.OutstandingRpcsPerChannel
- }
- return 0
- }
- func (m *ClientConfig) GetClientChannels() int32 {
- if m != nil {
- return m.ClientChannels
- }
- return 0
- }
- func (m *ClientConfig) GetAsyncClientThreads() int32 {
- if m != nil {
- return m.AsyncClientThreads
- }
- return 0
- }
- func (m *ClientConfig) GetRpcType() RpcType {
- if m != nil {
- return m.RpcType
- }
- return RpcType_UNARY
- }
- func (m *ClientConfig) GetLoadParams() *LoadParams {
- if m != nil {
- return m.LoadParams
- }
- return nil
- }
- func (m *ClientConfig) GetPayloadConfig() *PayloadConfig {
- if m != nil {
- return m.PayloadConfig
- }
- return nil
- }
- func (m *ClientConfig) GetHistogramParams() *HistogramParams {
- if m != nil {
- return m.HistogramParams
- }
- return nil
- }
- func (m *ClientConfig) GetCoreList() []int32 {
- if m != nil {
- return m.CoreList
- }
- return nil
- }
- func (m *ClientConfig) GetCoreLimit() int32 {
- if m != nil {
- return m.CoreLimit
- }
- return 0
- }
- type ClientStatus struct {
- Stats *ClientStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClientStatus) Reset() { *m = ClientStatus{} }
- func (m *ClientStatus) String() string { return proto.CompactTextString(m) }
- func (*ClientStatus) ProtoMessage() {}
- func (*ClientStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{8}
- }
- func (m *ClientStatus) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClientStatus.Unmarshal(m, b)
- }
- func (m *ClientStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClientStatus.Marshal(b, m, deterministic)
- }
- func (m *ClientStatus) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClientStatus.Merge(m, src)
- }
- func (m *ClientStatus) XXX_Size() int {
- return xxx_messageInfo_ClientStatus.Size(m)
- }
- func (m *ClientStatus) XXX_DiscardUnknown() {
- xxx_messageInfo_ClientStatus.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClientStatus proto.InternalMessageInfo
- func (m *ClientStatus) GetStats() *ClientStats {
- if m != nil {
- return m.Stats
- }
- return nil
- }
- // Request current stats
- type Mark struct {
- // if true, the stats will be reset after taking their snapshot.
- Reset_ bool `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Mark) Reset() { *m = Mark{} }
- func (m *Mark) String() string { return proto.CompactTextString(m) }
- func (*Mark) ProtoMessage() {}
- func (*Mark) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{9}
- }
- func (m *Mark) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Mark.Unmarshal(m, b)
- }
- func (m *Mark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Mark.Marshal(b, m, deterministic)
- }
- func (m *Mark) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Mark.Merge(m, src)
- }
- func (m *Mark) XXX_Size() int {
- return xxx_messageInfo_Mark.Size(m)
- }
- func (m *Mark) XXX_DiscardUnknown() {
- xxx_messageInfo_Mark.DiscardUnknown(m)
- }
- var xxx_messageInfo_Mark proto.InternalMessageInfo
- func (m *Mark) GetReset_() bool {
- if m != nil {
- return m.Reset_
- }
- return false
- }
- type ClientArgs struct {
- // Types that are valid to be assigned to Argtype:
- // *ClientArgs_Setup
- // *ClientArgs_Mark
- Argtype isClientArgs_Argtype `protobuf_oneof:"argtype"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClientArgs) Reset() { *m = ClientArgs{} }
- func (m *ClientArgs) String() string { return proto.CompactTextString(m) }
- func (*ClientArgs) ProtoMessage() {}
- func (*ClientArgs) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{10}
- }
- func (m *ClientArgs) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClientArgs.Unmarshal(m, b)
- }
- func (m *ClientArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClientArgs.Marshal(b, m, deterministic)
- }
- func (m *ClientArgs) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClientArgs.Merge(m, src)
- }
- func (m *ClientArgs) XXX_Size() int {
- return xxx_messageInfo_ClientArgs.Size(m)
- }
- func (m *ClientArgs) XXX_DiscardUnknown() {
- xxx_messageInfo_ClientArgs.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClientArgs proto.InternalMessageInfo
- type isClientArgs_Argtype interface {
- isClientArgs_Argtype()
- }
- type ClientArgs_Setup struct {
- Setup *ClientConfig `protobuf:"bytes,1,opt,name=setup,proto3,oneof"`
- }
- type ClientArgs_Mark struct {
- Mark *Mark `protobuf:"bytes,2,opt,name=mark,proto3,oneof"`
- }
- func (*ClientArgs_Setup) isClientArgs_Argtype() {}
- func (*ClientArgs_Mark) isClientArgs_Argtype() {}
- func (m *ClientArgs) GetArgtype() isClientArgs_Argtype {
- if m != nil {
- return m.Argtype
- }
- return nil
- }
- func (m *ClientArgs) GetSetup() *ClientConfig {
- if x, ok := m.GetArgtype().(*ClientArgs_Setup); ok {
- return x.Setup
- }
- return nil
- }
- func (m *ClientArgs) GetMark() *Mark {
- if x, ok := m.GetArgtype().(*ClientArgs_Mark); ok {
- return x.Mark
- }
- return nil
- }
- // XXX_OneofWrappers is for the internal use of the proto package.
- func (*ClientArgs) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*ClientArgs_Setup)(nil),
- (*ClientArgs_Mark)(nil),
- }
- }
- type ServerConfig struct {
- ServerType ServerType `protobuf:"varint,1,opt,name=server_type,json=serverType,proto3,enum=grpc.testing.ServerType" json:"server_type,omitempty"`
- SecurityParams *SecurityParams `protobuf:"bytes,2,opt,name=security_params,json=securityParams,proto3" json:"security_params,omitempty"`
- // Port on which to listen. Zero means pick unused port.
- Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
- // Only for async server. Number of threads used to serve the requests.
- AsyncServerThreads int32 `protobuf:"varint,7,opt,name=async_server_threads,json=asyncServerThreads,proto3" json:"async_server_threads,omitempty"`
- // Specify the number of cores to limit server to, if desired
- CoreLimit int32 `protobuf:"varint,8,opt,name=core_limit,json=coreLimit,proto3" json:"core_limit,omitempty"`
- // payload config, used in generic server
- PayloadConfig *PayloadConfig `protobuf:"bytes,9,opt,name=payload_config,json=payloadConfig,proto3" json:"payload_config,omitempty"`
- // Specify the cores we should run the server on, if desired
- CoreList []int32 `protobuf:"varint,10,rep,packed,name=core_list,json=coreList,proto3" json:"core_list,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ServerConfig) Reset() { *m = ServerConfig{} }
- func (m *ServerConfig) String() string { return proto.CompactTextString(m) }
- func (*ServerConfig) ProtoMessage() {}
- func (*ServerConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{11}
- }
- func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
- }
- func (m *ServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ServerConfig.Marshal(b, m, deterministic)
- }
- func (m *ServerConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ServerConfig.Merge(m, src)
- }
- func (m *ServerConfig) XXX_Size() int {
- return xxx_messageInfo_ServerConfig.Size(m)
- }
- func (m *ServerConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_ServerConfig.DiscardUnknown(m)
- }
- var xxx_messageInfo_ServerConfig proto.InternalMessageInfo
- func (m *ServerConfig) GetServerType() ServerType {
- if m != nil {
- return m.ServerType
- }
- return ServerType_SYNC_SERVER
- }
- func (m *ServerConfig) GetSecurityParams() *SecurityParams {
- if m != nil {
- return m.SecurityParams
- }
- return nil
- }
- func (m *ServerConfig) GetPort() int32 {
- if m != nil {
- return m.Port
- }
- return 0
- }
- func (m *ServerConfig) GetAsyncServerThreads() int32 {
- if m != nil {
- return m.AsyncServerThreads
- }
- return 0
- }
- func (m *ServerConfig) GetCoreLimit() int32 {
- if m != nil {
- return m.CoreLimit
- }
- return 0
- }
- func (m *ServerConfig) GetPayloadConfig() *PayloadConfig {
- if m != nil {
- return m.PayloadConfig
- }
- return nil
- }
- func (m *ServerConfig) GetCoreList() []int32 {
- if m != nil {
- return m.CoreList
- }
- return nil
- }
- type ServerArgs struct {
- // Types that are valid to be assigned to Argtype:
- // *ServerArgs_Setup
- // *ServerArgs_Mark
- Argtype isServerArgs_Argtype `protobuf_oneof:"argtype"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ServerArgs) Reset() { *m = ServerArgs{} }
- func (m *ServerArgs) String() string { return proto.CompactTextString(m) }
- func (*ServerArgs) ProtoMessage() {}
- func (*ServerArgs) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{12}
- }
- func (m *ServerArgs) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ServerArgs.Unmarshal(m, b)
- }
- func (m *ServerArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ServerArgs.Marshal(b, m, deterministic)
- }
- func (m *ServerArgs) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ServerArgs.Merge(m, src)
- }
- func (m *ServerArgs) XXX_Size() int {
- return xxx_messageInfo_ServerArgs.Size(m)
- }
- func (m *ServerArgs) XXX_DiscardUnknown() {
- xxx_messageInfo_ServerArgs.DiscardUnknown(m)
- }
- var xxx_messageInfo_ServerArgs proto.InternalMessageInfo
- type isServerArgs_Argtype interface {
- isServerArgs_Argtype()
- }
- type ServerArgs_Setup struct {
- Setup *ServerConfig `protobuf:"bytes,1,opt,name=setup,proto3,oneof"`
- }
- type ServerArgs_Mark struct {
- Mark *Mark `protobuf:"bytes,2,opt,name=mark,proto3,oneof"`
- }
- func (*ServerArgs_Setup) isServerArgs_Argtype() {}
- func (*ServerArgs_Mark) isServerArgs_Argtype() {}
- func (m *ServerArgs) GetArgtype() isServerArgs_Argtype {
- if m != nil {
- return m.Argtype
- }
- return nil
- }
- func (m *ServerArgs) GetSetup() *ServerConfig {
- if x, ok := m.GetArgtype().(*ServerArgs_Setup); ok {
- return x.Setup
- }
- return nil
- }
- func (m *ServerArgs) GetMark() *Mark {
- if x, ok := m.GetArgtype().(*ServerArgs_Mark); ok {
- return x.Mark
- }
- return nil
- }
- // XXX_OneofWrappers is for the internal use of the proto package.
- func (*ServerArgs) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*ServerArgs_Setup)(nil),
- (*ServerArgs_Mark)(nil),
- }
- }
- type ServerStatus struct {
- Stats *ServerStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
- // the port bound by the server
- Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
- // Number of cores available to the server
- Cores int32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ServerStatus) Reset() { *m = ServerStatus{} }
- func (m *ServerStatus) String() string { return proto.CompactTextString(m) }
- func (*ServerStatus) ProtoMessage() {}
- func (*ServerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{13}
- }
- func (m *ServerStatus) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ServerStatus.Unmarshal(m, b)
- }
- func (m *ServerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ServerStatus.Marshal(b, m, deterministic)
- }
- func (m *ServerStatus) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ServerStatus.Merge(m, src)
- }
- func (m *ServerStatus) XXX_Size() int {
- return xxx_messageInfo_ServerStatus.Size(m)
- }
- func (m *ServerStatus) XXX_DiscardUnknown() {
- xxx_messageInfo_ServerStatus.DiscardUnknown(m)
- }
- var xxx_messageInfo_ServerStatus proto.InternalMessageInfo
- func (m *ServerStatus) GetStats() *ServerStats {
- if m != nil {
- return m.Stats
- }
- return nil
- }
- func (m *ServerStatus) GetPort() int32 {
- if m != nil {
- return m.Port
- }
- return 0
- }
- func (m *ServerStatus) GetCores() int32 {
- if m != nil {
- return m.Cores
- }
- return 0
- }
- type CoreRequest struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CoreRequest) Reset() { *m = CoreRequest{} }
- func (m *CoreRequest) String() string { return proto.CompactTextString(m) }
- func (*CoreRequest) ProtoMessage() {}
- func (*CoreRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{14}
- }
- func (m *CoreRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CoreRequest.Unmarshal(m, b)
- }
- func (m *CoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CoreRequest.Marshal(b, m, deterministic)
- }
- func (m *CoreRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CoreRequest.Merge(m, src)
- }
- func (m *CoreRequest) XXX_Size() int {
- return xxx_messageInfo_CoreRequest.Size(m)
- }
- func (m *CoreRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CoreRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CoreRequest proto.InternalMessageInfo
- type CoreResponse struct {
- // Number of cores available on the server
- Cores int32 `protobuf:"varint,1,opt,name=cores,proto3" json:"cores,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CoreResponse) Reset() { *m = CoreResponse{} }
- func (m *CoreResponse) String() string { return proto.CompactTextString(m) }
- func (*CoreResponse) ProtoMessage() {}
- func (*CoreResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{15}
- }
- func (m *CoreResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CoreResponse.Unmarshal(m, b)
- }
- func (m *CoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CoreResponse.Marshal(b, m, deterministic)
- }
- func (m *CoreResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CoreResponse.Merge(m, src)
- }
- func (m *CoreResponse) XXX_Size() int {
- return xxx_messageInfo_CoreResponse.Size(m)
- }
- func (m *CoreResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CoreResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_CoreResponse proto.InternalMessageInfo
- func (m *CoreResponse) GetCores() int32 {
- if m != nil {
- return m.Cores
- }
- return 0
- }
- type Void struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Void) Reset() { *m = Void{} }
- func (m *Void) String() string { return proto.CompactTextString(m) }
- func (*Void) ProtoMessage() {}
- func (*Void) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{16}
- }
- func (m *Void) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Void.Unmarshal(m, b)
- }
- func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Void.Marshal(b, m, deterministic)
- }
- func (m *Void) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Void.Merge(m, src)
- }
- func (m *Void) XXX_Size() int {
- return xxx_messageInfo_Void.Size(m)
- }
- func (m *Void) XXX_DiscardUnknown() {
- xxx_messageInfo_Void.DiscardUnknown(m)
- }
- var xxx_messageInfo_Void proto.InternalMessageInfo
- // A single performance scenario: input to qps_json_driver
- type Scenario struct {
- // Human readable name for this scenario
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Client configuration
- ClientConfig *ClientConfig `protobuf:"bytes,2,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"`
- // Number of clients to start for the test
- NumClients int32 `protobuf:"varint,3,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"`
- // Server configuration
- ServerConfig *ServerConfig `protobuf:"bytes,4,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"`
- // Number of servers to start for the test
- NumServers int32 `protobuf:"varint,5,opt,name=num_servers,json=numServers,proto3" json:"num_servers,omitempty"`
- // Warmup period, in seconds
- WarmupSeconds int32 `protobuf:"varint,6,opt,name=warmup_seconds,json=warmupSeconds,proto3" json:"warmup_seconds,omitempty"`
- // Benchmark time, in seconds
- BenchmarkSeconds int32 `protobuf:"varint,7,opt,name=benchmark_seconds,json=benchmarkSeconds,proto3" json:"benchmark_seconds,omitempty"`
- // Number of workers to spawn locally (usually zero)
- SpawnLocalWorkerCount int32 `protobuf:"varint,8,opt,name=spawn_local_worker_count,json=spawnLocalWorkerCount,proto3" json:"spawn_local_worker_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Scenario) Reset() { *m = Scenario{} }
- func (m *Scenario) String() string { return proto.CompactTextString(m) }
- func (*Scenario) ProtoMessage() {}
- func (*Scenario) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{17}
- }
- func (m *Scenario) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Scenario.Unmarshal(m, b)
- }
- func (m *Scenario) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Scenario.Marshal(b, m, deterministic)
- }
- func (m *Scenario) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Scenario.Merge(m, src)
- }
- func (m *Scenario) XXX_Size() int {
- return xxx_messageInfo_Scenario.Size(m)
- }
- func (m *Scenario) XXX_DiscardUnknown() {
- xxx_messageInfo_Scenario.DiscardUnknown(m)
- }
- var xxx_messageInfo_Scenario proto.InternalMessageInfo
- func (m *Scenario) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *Scenario) GetClientConfig() *ClientConfig {
- if m != nil {
- return m.ClientConfig
- }
- return nil
- }
- func (m *Scenario) GetNumClients() int32 {
- if m != nil {
- return m.NumClients
- }
- return 0
- }
- func (m *Scenario) GetServerConfig() *ServerConfig {
- if m != nil {
- return m.ServerConfig
- }
- return nil
- }
- func (m *Scenario) GetNumServers() int32 {
- if m != nil {
- return m.NumServers
- }
- return 0
- }
- func (m *Scenario) GetWarmupSeconds() int32 {
- if m != nil {
- return m.WarmupSeconds
- }
- return 0
- }
- func (m *Scenario) GetBenchmarkSeconds() int32 {
- if m != nil {
- return m.BenchmarkSeconds
- }
- return 0
- }
- func (m *Scenario) GetSpawnLocalWorkerCount() int32 {
- if m != nil {
- return m.SpawnLocalWorkerCount
- }
- return 0
- }
- // A set of scenarios to be run with qps_json_driver
- type Scenarios struct {
- Scenarios []*Scenario `protobuf:"bytes,1,rep,name=scenarios,proto3" json:"scenarios,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Scenarios) Reset() { *m = Scenarios{} }
- func (m *Scenarios) String() string { return proto.CompactTextString(m) }
- func (*Scenarios) ProtoMessage() {}
- func (*Scenarios) Descriptor() ([]byte, []int) {
- return fileDescriptor_0c5120591600887d, []int{18}
- }
- func (m *Scenarios) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Scenarios.Unmarshal(m, b)
- }
- func (m *Scenarios) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Scenarios.Marshal(b, m, deterministic)
- }
- func (m *Scenarios) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Scenarios.Merge(m, src)
- }
- func (m *Scenarios) XXX_Size() int {
- return xxx_messageInfo_Scenarios.Size(m)
- }
- func (m *Scenarios) XXX_DiscardUnknown() {
- xxx_messageInfo_Scenarios.DiscardUnknown(m)
- }
- var xxx_messageInfo_Scenarios proto.InternalMessageInfo
- func (m *Scenarios) GetScenarios() []*Scenario {
- if m != nil {
- return m.Scenarios
- }
- return nil
- }
- func init() {
- proto.RegisterEnum("grpc.testing.ClientType", ClientType_name, ClientType_value)
- proto.RegisterEnum("grpc.testing.ServerType", ServerType_name, ServerType_value)
- proto.RegisterEnum("grpc.testing.RpcType", RpcType_name, RpcType_value)
- proto.RegisterType((*PoissonParams)(nil), "grpc.testing.PoissonParams")
- proto.RegisterType((*UniformParams)(nil), "grpc.testing.UniformParams")
- proto.RegisterType((*DeterministicParams)(nil), "grpc.testing.DeterministicParams")
- proto.RegisterType((*ParetoParams)(nil), "grpc.testing.ParetoParams")
- proto.RegisterType((*ClosedLoopParams)(nil), "grpc.testing.ClosedLoopParams")
- proto.RegisterType((*LoadParams)(nil), "grpc.testing.LoadParams")
- proto.RegisterType((*SecurityParams)(nil), "grpc.testing.SecurityParams")
- proto.RegisterType((*ClientConfig)(nil), "grpc.testing.ClientConfig")
- proto.RegisterType((*ClientStatus)(nil), "grpc.testing.ClientStatus")
- proto.RegisterType((*Mark)(nil), "grpc.testing.Mark")
- proto.RegisterType((*ClientArgs)(nil), "grpc.testing.ClientArgs")
- proto.RegisterType((*ServerConfig)(nil), "grpc.testing.ServerConfig")
- proto.RegisterType((*ServerArgs)(nil), "grpc.testing.ServerArgs")
- proto.RegisterType((*ServerStatus)(nil), "grpc.testing.ServerStatus")
- proto.RegisterType((*CoreRequest)(nil), "grpc.testing.CoreRequest")
- proto.RegisterType((*CoreResponse)(nil), "grpc.testing.CoreResponse")
- proto.RegisterType((*Void)(nil), "grpc.testing.Void")
- proto.RegisterType((*Scenario)(nil), "grpc.testing.Scenario")
- proto.RegisterType((*Scenarios)(nil), "grpc.testing.Scenarios")
- }
- func init() { proto.RegisterFile("control.proto", fileDescriptor_0c5120591600887d) }
- var fileDescriptor_0c5120591600887d = []byte{
- // 1179 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x6f, 0x6f, 0xdb, 0xb6,
- 0x13, 0xb6, 0x1d, 0xdb, 0xb1, 0x4e, 0xb6, 0xe3, 0x1f, 0x7f, 0xe9, 0xa0, 0xa6, 0x69, 0x97, 0x6a,
- 0x1b, 0x16, 0x64, 0x40, 0x5a, 0x78, 0x05, 0xba, 0x62, 0x2f, 0x02, 0xc7, 0x33, 0xea, 0x00, 0x69,
- 0x96, 0xd1, 0x69, 0x87, 0xbe, 0x12, 0x18, 0x99, 0xb1, 0x85, 0xc8, 0xa2, 0x46, 0x52, 0x09, 0xf2,
- 0x15, 0xf6, 0x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