PagesServiceBase constructor
PagesServiceBase()
Implementation
PagesServiceBase() {
$addMethod($grpc.ServiceMethod<$0.ListPagesRequest, $0.ListPagesResponse>(
'ListPages',
listPages_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListPagesRequest.fromBuffer(value),
($0.ListPagesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetPageRequest, $0.Page>(
'GetPage',
getPage_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetPageRequest.fromBuffer(value),
($0.Page value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreatePageRequest, $0.Page>(
'CreatePage',
createPage_Pre,
false,
false,
($core.List<$core.int> value) => $0.CreatePageRequest.fromBuffer(value),
($0.Page value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.UpdatePageRequest, $0.Page>(
'UpdatePage',
updatePage_Pre,
false,
false,
($core.List<$core.int> value) => $0.UpdatePageRequest.fromBuffer(value),
($0.Page value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeletePageRequest, $1.Empty>(
'DeletePage',
deletePage_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeletePageRequest.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
}