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, $1.Operation>(
'CreateDocument',
createDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.CreateDocumentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.ImportDocumentsRequest, $1.Operation>(
'ImportDocuments',
importDocuments_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.ImportDocumentsRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.DeleteDocumentRequest, $1.Operation>(
'DeleteDocument',
deleteDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.DeleteDocumentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.UpdateDocumentRequest, $1.Operation>(
'UpdateDocument',
updateDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.UpdateDocumentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.ReloadDocumentRequest, $1.Operation>(
'ReloadDocument',
reloadDocument_Pre,
false,
false,
($core.List<$core.int> value) =>
$13.ReloadDocumentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
}