public static interface Control.ScenarioOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getBenchmarkSeconds()
Benchmark time, in seconds
|
Control.ClientConfig |
getClientConfig()
Client configuration
|
Control.ClientConfigOrBuilder |
getClientConfigOrBuilder()
Client configuration
|
String |
getName()
Human readable name for this scenario
|
com.google.protobuf.ByteString |
getNameBytes()
Human readable name for this scenario
|
int |
getNumClients()
Number of clients to start for the test
|
int |
getNumServers()
Number of servers to start for the test
|
Control.ServerConfig |
getServerConfig()
Server configuration
|
Control.ServerConfigOrBuilder |
getServerConfigOrBuilder()
Server configuration
|
int |
getSpawnLocalWorkerCount()
Number of workers to spawn locally (usually zero)
|
int |
getWarmupSeconds()
Warmup period, in seconds
|
boolean |
hasClientConfig()
Client configuration
|
boolean |
hasServerConfig()
Server configuration
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Human readable name for this scenario
string name = 1;com.google.protobuf.ByteString getNameBytes()
Human readable name for this scenario
string name = 1;boolean hasClientConfig()
Client configuration
.grpc.testing.ClientConfig client_config = 2;Control.ClientConfig getClientConfig()
Client configuration
.grpc.testing.ClientConfig client_config = 2;Control.ClientConfigOrBuilder getClientConfigOrBuilder()
Client configuration
.grpc.testing.ClientConfig client_config = 2;int getNumClients()
Number of clients to start for the test
int32 num_clients = 3;boolean hasServerConfig()
Server configuration
.grpc.testing.ServerConfig server_config = 4;Control.ServerConfig getServerConfig()
Server configuration
.grpc.testing.ServerConfig server_config = 4;Control.ServerConfigOrBuilder getServerConfigOrBuilder()
Server configuration
.grpc.testing.ServerConfig server_config = 4;int getNumServers()
Number of servers to start for the test
int32 num_servers = 5;int getWarmupSeconds()
Warmup period, in seconds
int32 warmup_seconds = 6;int getBenchmarkSeconds()
Benchmark time, in seconds
int32 benchmark_seconds = 7;int getSpawnLocalWorkerCount()
Number of workers to spawn locally (usually zero)
int32 spawn_local_worker_count = 8;