ContextsServiceBase constructor
ContextsServiceBase()
Implementation
ContextsServiceBase() {
$addMethod(
$grpc.ServiceMethod<$5.ListContextsRequest, $5.ListContextsResponse>(
'ListContexts',
listContexts_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.ListContextsRequest.fromBuffer(value),
($5.ListContextsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GetContextRequest, $5.Context>(
'GetContext',
getContext_Pre,
false,
false,
($core.List<$core.int> value) => $5.GetContextRequest.fromBuffer(value),
($5.Context value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.CreateContextRequest, $5.Context>(
'CreateContext',
createContext_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.CreateContextRequest.fromBuffer(value),
($5.Context value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.UpdateContextRequest, $5.Context>(
'UpdateContext',
updateContext_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.UpdateContextRequest.fromBuffer(value),
($5.Context value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.DeleteContextRequest, $2.Empty>(
'DeleteContext',
deleteContext_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.DeleteContextRequest.fromBuffer(value),
($2.Empty value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.DeleteAllContextsRequest, $2.Empty>(
'DeleteAllContexts',
deleteAllContexts_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.DeleteAllContextsRequest.fromBuffer(value),
($2.Empty value) => value.writeToBuffer()));
}