Interface Control.ClientConfigOrBuilder

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

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

      • getServerTargetsList

        java.util.List<java.lang.String> getServerTargetsList()
         List of targets to connect to. At least one target needs to be specified.
         
        repeated string server_targets = 1;
        Returns:
        A list containing the serverTargets.
      • getServerTargetsCount

        int getServerTargetsCount()
         List of targets to connect to. At least one target needs to be specified.
         
        repeated string server_targets = 1;
        Returns:
        The count of serverTargets.
      • getServerTargets

        java.lang.String getServerTargets​(int index)
         List of targets to connect to. At least one target needs to be specified.
         
        repeated string server_targets = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The serverTargets at the given index.
      • getServerTargetsBytes

        com.google.protobuf.ByteString getServerTargetsBytes​(int index)
         List of targets to connect to. At least one target needs to be specified.
         
        repeated string server_targets = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the serverTargets at the given index.
      • getClientTypeValue

        int getClientTypeValue()
        .grpc.testing.ClientType client_type = 2;
        Returns:
        The enum numeric value on the wire for clientType.
      • getClientType

        Control.ClientType getClientType()
        .grpc.testing.ClientType client_type = 2;
        Returns:
        The clientType.
      • hasSecurityParams

        boolean hasSecurityParams()
        .grpc.testing.SecurityParams security_params = 3;
        Returns:
        Whether the securityParams field is set.
      • getSecurityParams

        Control.SecurityParams getSecurityParams()
        .grpc.testing.SecurityParams security_params = 3;
        Returns:
        The securityParams.
      • getOutstandingRpcsPerChannel

        int getOutstandingRpcsPerChannel()
         How many concurrent RPCs to start for each channel.
         For synchronous client, use a separate thread for each outstanding RPC.
         
        int32 outstanding_rpcs_per_channel = 4;
        Returns:
        The outstandingRpcsPerChannel.
      • getClientChannels

        int getClientChannels()
         Number of independent client channels to create.
         i-th channel will connect to server_target[i % server_targets.size()]
         
        int32 client_channels = 5;
        Returns:
        The clientChannels.
      • getAsyncClientThreads

        int getAsyncClientThreads()
         Only for async client. Number of threads to use to start/manage RPCs.
         
        int32 async_client_threads = 7;
        Returns:
        The asyncClientThreads.
      • getRpcTypeValue

        int getRpcTypeValue()
        .grpc.testing.RpcType rpc_type = 8;
        Returns:
        The enum numeric value on the wire for rpcType.
      • getRpcType

        Control.RpcType getRpcType()
        .grpc.testing.RpcType rpc_type = 8;
        Returns:
        The rpcType.
      • hasLoadParams

        boolean hasLoadParams()
         The requested load for the entire client (aggregated over all the threads).
         
        .grpc.testing.LoadParams load_params = 10;
        Returns:
        Whether the loadParams field is set.
      • getLoadParams

        Control.LoadParams getLoadParams()
         The requested load for the entire client (aggregated over all the threads).
         
        .grpc.testing.LoadParams load_params = 10;
        Returns:
        The loadParams.
      • getLoadParamsOrBuilder

        Control.LoadParamsOrBuilder getLoadParamsOrBuilder()
         The requested load for the entire client (aggregated over all the threads).
         
        .grpc.testing.LoadParams load_params = 10;
      • hasPayloadConfig

        boolean hasPayloadConfig()
        .grpc.testing.PayloadConfig payload_config = 11;
        Returns:
        Whether the payloadConfig field is set.
      • getPayloadConfig

        Payloads.PayloadConfig getPayloadConfig()
        .grpc.testing.PayloadConfig payload_config = 11;
        Returns:
        The payloadConfig.
      • hasHistogramParams

        boolean hasHistogramParams()
        .grpc.testing.HistogramParams histogram_params = 12;
        Returns:
        Whether the histogramParams field is set.
      • getHistogramParams

        Stats.HistogramParams getHistogramParams()
        .grpc.testing.HistogramParams histogram_params = 12;
        Returns:
        The histogramParams.
      • getCoreListList

        java.util.List<java.lang.Integer> getCoreListList()
         Specify the cores we should run the client on, if desired
         
        repeated int32 core_list = 13;
        Returns:
        A list containing the coreList.
      • getCoreListCount

        int getCoreListCount()
         Specify the cores we should run the client on, if desired
         
        repeated int32 core_list = 13;
        Returns:
        The count of coreList.
      • getCoreList

        int getCoreList​(int index)
         Specify the cores we should run the client on, if desired
         
        repeated int32 core_list = 13;
        Parameters:
        index - The index of the element to return.
        Returns:
        The coreList at the given index.
      • getCoreLimit

        int getCoreLimit()
        int32 core_limit = 14;
        Returns:
        The coreLimit.
      • getOtherClientApi

        java.lang.String getOtherClientApi()
         If we use an OTHER_CLIENT client_type, this string gives more detail
         
        string other_client_api = 15;
        Returns:
        The otherClientApi.
      • getOtherClientApiBytes

        com.google.protobuf.ByteString getOtherClientApiBytes()
         If we use an OTHER_CLIENT client_type, this string gives more detail
         
        string other_client_api = 15;
        Returns:
        The bytes for otherClientApi.
      • getChannelArgsList

        java.util.List<Control.ChannelArg> getChannelArgsList()
        repeated .grpc.testing.ChannelArg channel_args = 16;
      • getChannelArgs

        Control.ChannelArg getChannelArgs​(int index)
        repeated .grpc.testing.ChannelArg channel_args = 16;
      • getChannelArgsCount

        int getChannelArgsCount()
        repeated .grpc.testing.ChannelArg channel_args = 16;
      • getChannelArgsOrBuilderList

        java.util.List<? extends Control.ChannelArgOrBuilder> getChannelArgsOrBuilderList()
        repeated .grpc.testing.ChannelArg channel_args = 16;
      • getChannelArgsOrBuilder

        Control.ChannelArgOrBuilder getChannelArgsOrBuilder​(int index)
        repeated .grpc.testing.ChannelArg channel_args = 16;
      • getMessagesPerStream

        int getMessagesPerStream()
         Number of messages on a stream before it gets finished/restarted
         
        int32 messages_per_stream = 18;
        Returns:
        The messagesPerStream.