public static interface Control.ServerConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncServerThreads()
Only for async server.
|
int |
getCoreLimit()
Specify the number of cores to limit server to, if desired
|
int |
getCoreList(int index)
Specify the cores we should run the server on, if desired
|
int |
getCoreListCount()
Specify the cores we should run the server on, if desired
|
List<Integer> |
getCoreListList()
Specify the cores we should run the server on, if desired
|
String |
getOtherServerApi()
If we use an OTHER_SERVER client_type, this string gives more detail
|
com.google.protobuf.ByteString |
getOtherServerApiBytes()
If we use an OTHER_SERVER client_type, this string gives more detail
|
Payloads.PayloadConfig |
getPayloadConfig()
payload config, used in generic server.
|
Payloads.PayloadConfigOrBuilder |
getPayloadConfigOrBuilder()
payload config, used in generic server.
|
int |
getPort()
Port on which to listen.
|
int |
getResourceQuotaSize()
Buffer pool size (no buffer pool specified if unset)
|
Control.SecurityParams |
getSecurityParams()
.grpc.testing.SecurityParams security_params = 2; |
Control.SecurityParamsOrBuilder |
getSecurityParamsOrBuilder()
.grpc.testing.SecurityParams security_params = 2; |
Control.ServerType |
getServerType()
.grpc.testing.ServerType server_type = 1; |
int |
getServerTypeValue()
.grpc.testing.ServerType server_type = 1; |
boolean |
hasPayloadConfig()
payload config, used in generic server.
|
boolean |
hasSecurityParams()
.grpc.testing.SecurityParams security_params = 2; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getServerTypeValue()
.grpc.testing.ServerType server_type = 1;Control.ServerType getServerType()
.grpc.testing.ServerType server_type = 1;boolean hasSecurityParams()
.grpc.testing.SecurityParams security_params = 2;Control.SecurityParams getSecurityParams()
.grpc.testing.SecurityParams security_params = 2;Control.SecurityParamsOrBuilder getSecurityParamsOrBuilder()
.grpc.testing.SecurityParams security_params = 2;int getPort()
Port on which to listen. Zero means pick unused port.
int32 port = 4;int getAsyncServerThreads()
Only for async server. Number of threads used to serve the requests.
int32 async_server_threads = 7;int getCoreLimit()
Specify the number of cores to limit server to, if desired
int32 core_limit = 8;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;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;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;List<Integer> getCoreListList()
Specify the cores we should run the server on, if desired
repeated int32 core_list = 10;int getCoreListCount()
Specify the cores we should run the server on, if desired
repeated int32 core_list = 10;int getCoreList(int index)
Specify the cores we should run the server on, if desired
repeated int32 core_list = 10;index - The index of the element to return.String getOtherServerApi()
If we use an OTHER_SERVER client_type, this string gives more detail
string other_server_api = 11;com.google.protobuf.ByteString getOtherServerApiBytes()
If we use an OTHER_SERVER client_type, this string gives more detail
string other_server_api = 11;int getResourceQuotaSize()
Buffer pool size (no buffer pool specified if unset)
int32 resource_quota_size = 1001;