Interface Control.ServerConfigOrBuilder

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

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

      • getServerTypeValue

        int getServerTypeValue()
        .grpc.testing.ServerType server_type = 1;
        Returns:
        The enum numeric value on the wire for serverType.
      • getServerType

        Control.ServerType getServerType()
        .grpc.testing.ServerType server_type = 1;
        Returns:
        The serverType.
      • hasSecurityParams

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

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

        int getPort()
         Port on which to listen. Zero means pick unused port.
         
        int32 port = 4;
        Returns:
        The port.
      • getAsyncServerThreads

        int getAsyncServerThreads()
         Only for async server. Number of threads used to serve the requests.
         
        int32 async_server_threads = 7;
        Returns:
        The asyncServerThreads.
      • getCoreLimit

        int getCoreLimit()
         Specify the number of cores to limit server to, if desired
         
        int32 core_limit = 8;
        Returns:
        The coreLimit.
      • hasPayloadConfig

        boolean hasPayloadConfig()
         payload config, used in generic server.
         Note this must NOT be used in proto (non-generic) servers. For proto servers,
         'response sizes' must be configured from the 'response_size' field of the
         'SimpleRequest' objects in RPC requests.
         
        .grpc.testing.PayloadConfig payload_config = 9;
        Returns:
        Whether the payloadConfig field is set.
      • getPayloadConfig

        Payloads.PayloadConfig getPayloadConfig()
         payload config, used in generic server.
         Note this must NOT be used in proto (non-generic) servers. For proto servers,
         'response sizes' must be configured from the 'response_size' field of the
         'SimpleRequest' objects in RPC requests.
         
        .grpc.testing.PayloadConfig payload_config = 9;
        Returns:
        The payloadConfig.
      • getPayloadConfigOrBuilder

        Payloads.PayloadConfigOrBuilder getPayloadConfigOrBuilder()
         payload config, used in generic server.
         Note this must NOT be used in proto (non-generic) servers. For proto servers,
         'response sizes' must be configured from the 'response_size' field of the
         'SimpleRequest' objects in RPC requests.
         
        .grpc.testing.PayloadConfig payload_config = 9;
      • getCoreListList

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

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

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

        java.lang.String getOtherServerApi()
         If we use an OTHER_SERVER client_type, this string gives more detail
         
        string other_server_api = 11;
        Returns:
        The otherServerApi.
      • getOtherServerApiBytes

        com.google.protobuf.ByteString getOtherServerApiBytes()
         If we use an OTHER_SERVER client_type, this string gives more detail
         
        string other_server_api = 11;
        Returns:
        The bytes for otherServerApi.
      • getResourceQuotaSize

        int getResourceQuotaSize()
         Buffer pool size (no buffer pool specified if unset)
         
        int32 resource_quota_size = 1001;
        Returns:
        The resourceQuotaSize.