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