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