Interface Control.ScenarioOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Control.Scenario, Control.Scenario.Builder
    Enclosing class:
    Control

    public static interface Control.ScenarioOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        java.lang.String getName()
         Human readable name for this scenario
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Human readable name for this scenario
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasClientConfig

        boolean hasClientConfig()
         Client configuration
         
        .grpc.testing.ClientConfig client_config = 2;
        Returns:
        Whether the clientConfig field is set.
      • getClientConfig

        Control.ClientConfig getClientConfig()
         Client configuration
         
        .grpc.testing.ClientConfig client_config = 2;
        Returns:
        The clientConfig.
      • getClientConfigOrBuilder

        Control.ClientConfigOrBuilder getClientConfigOrBuilder()
         Client configuration
         
        .grpc.testing.ClientConfig client_config = 2;
      • getNumClients

        int getNumClients()
         Number of clients to start for the test
         
        int32 num_clients = 3;
        Returns:
        The numClients.
      • hasServerConfig

        boolean hasServerConfig()
         Server configuration
         
        .grpc.testing.ServerConfig server_config = 4;
        Returns:
        Whether the serverConfig field is set.
      • getServerConfig

        Control.ServerConfig getServerConfig()
         Server configuration
         
        .grpc.testing.ServerConfig server_config = 4;
        Returns:
        The serverConfig.
      • getServerConfigOrBuilder

        Control.ServerConfigOrBuilder getServerConfigOrBuilder()
         Server configuration
         
        .grpc.testing.ServerConfig server_config = 4;
      • getNumServers

        int getNumServers()
         Number of servers to start for the test
         
        int32 num_servers = 5;
        Returns:
        The numServers.
      • getWarmupSeconds

        int getWarmupSeconds()
         Warmup period, in seconds
         
        int32 warmup_seconds = 6;
        Returns:
        The warmupSeconds.
      • getBenchmarkSeconds

        int getBenchmarkSeconds()
         Benchmark time, in seconds
         
        int32 benchmark_seconds = 7;
        Returns:
        The benchmarkSeconds.
      • getSpawnLocalWorkerCount

        int getSpawnLocalWorkerCount()
         Number of workers to spawn locally (usually zero)
         
        int32 spawn_local_worker_count = 8;
        Returns:
        The spawnLocalWorkerCount.