ConfigManagerServiceBase constructor
ConfigManagerServiceBase()
Implementation
ConfigManagerServiceBase() {
$addMethod($grpc.ServiceMethod<$2.StringValue, $2.StringValue>(
'GetUserConfigByKey',
getUserConfigByKey_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($2.StringValue value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $4.UserConfigMap>(
'GetAllUserConfig',
getAllUserConfig_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($4.UserConfigMap value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$4.UserConfigMap, $1.OperationResponse>(
'SetUserConfigByKey',
setUserConfigByKey_Pre,
false,
false,
($core.List<$core.int> value) => $4.UserConfigMap.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$4.UserConfigMap, $1.OperationResponse>(
'DelAllUserConfig',
delAllUserConfig_Pre,
false,
false,
($core.List<$core.int> value) => $4.UserConfigMap.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $1.OperationResponse>(
'DelUserConfigByKey',
delUserConfigByKey_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
}