DocumentsServiceBase constructor
DocumentsServiceBase()
Implementation
DocumentsServiceBase() {
$addMethod($grpc.ServiceMethod<$13.ListDocumentsRequest,
$13.ListDocumentsResponse>(
'ListDocuments',
listDocuments_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.ListDocumentsRequest.fromBuffer(value),
($13.ListDocumentsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.GetDocumentRequest, $13.Document>(
'GetDocument',
getDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.GetDocumentRequest.fromBuffer(value),
($13.Document value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.CreateDocumentRequest, $0.Operation>(
'CreateDocument',
createDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.CreateDocumentRequest.fromBuffer(value),
($0.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.DeleteDocumentRequest, $0.Operation>(
'DeleteDocument',
deleteDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.DeleteDocumentRequest.fromBuffer(value),
($0.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.UpdateDocumentRequest, $0.Operation>(
'UpdateDocument',
updateDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.UpdateDocumentRequest.fromBuffer(value),
($0.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.ReloadDocumentRequest, $0.Operation>(
'ReloadDocument',
reloadDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.ReloadDocumentRequest.fromBuffer(value),
($0.Operation value) => value.writeToBuffer()));
}