589 lines
		
	
	
		
			21 KiB
		
	
	
	
		
			Dart
		
	
	
	
			
		
		
	
	
			589 lines
		
	
	
		
			21 KiB
		
	
	
	
		
			Dart
		
	
	
	
| // This is a generated file - do not edit.
 | |
| //
 | |
| // Generated from post.proto.
 | |
| 
 | |
| // @dart = 3.3
 | |
| 
 | |
| // ignore_for_file: annotate_overrides, camel_case_types, comment_references
 | |
| // ignore_for_file: constant_identifier_names
 | |
| // ignore_for_file: curly_braces_in_flow_control_structures
 | |
| // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
 | |
| // ignore_for_file: non_constant_identifier_names
 | |
| 
 | |
| import 'dart:async' as $async;
 | |
| import 'dart:core' as $core;
 | |
| 
 | |
| import 'package:grpc/service_api.dart' as $grpc;
 | |
| import 'package:protobuf/protobuf.dart' as $pb;
 | |
| 
 | |
| import 'blocks.pb.dart' as $1;
 | |
| import 'post.pb.dart' as $0;
 | |
| 
 | |
| export 'post.pb.dart';
 | |
| 
 | |
| /// 正文
 | |
| @$pb.GrpcServiceName('cms.Post')
 | |
| class PostClient extends $grpc.Client {
 | |
|   /// The hostname for this service.
 | |
|   static const $core.String defaultHost = '';
 | |
| 
 | |
|   /// OAuth scopes needed for the client.
 | |
|   static const $core.List<$core.String> oauthScopes = [
 | |
|     '',
 | |
|   ];
 | |
| 
 | |
|   PostClient(super.channel, {super.options, super.interceptors});
 | |
| 
 | |
|   /// 文章列表
 | |
|   $grpc.ResponseFuture<$0.PostListReply> fetch(
 | |
|     $0.PostListRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$fetch, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 获取文章详情 By Identity
 | |
|   $grpc.ResponseFuture<$0.PostItem> getByIdentity(
 | |
|     $0.GetPostRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$getByIdentity, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 获取文章详情 By Key
 | |
|   $grpc.ResponseFuture<$0.PostItem> getByKey(
 | |
|     $0.GetPostByKeyRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$getByKey, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 搜索文章
 | |
|   $grpc.ResponseFuture<$0.PostListReply> search(
 | |
|     $1.SearchRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$search, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 发布文章
 | |
|   $grpc.ResponseFuture<$1.StatusReply> create(
 | |
|     $0.PostItem request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$create, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 修改文章
 | |
|   $grpc.ResponseFuture<$1.StatusReply> modify(
 | |
|     $0.PostItem request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$modify, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 删除文章
 | |
|   $grpc.ResponseFuture<$1.StatusReply> delete(
 | |
|     $1.IdentRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$delete, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 文章点赞处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> incrPostLike(
 | |
|     $0.PostOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$incrPostLike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 文章点赞取消处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> descPostLike(
 | |
|     $0.PostOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$descPostLike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 文章点踩处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> incrPostUnlike(
 | |
|     $0.PostOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$incrPostUnlike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 文章点踩取消处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> descPostUnlike(
 | |
|     $0.PostOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$descPostUnlike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 评论列表
 | |
|   $grpc.ResponseFuture<$0.CommentListResponse> commentList(
 | |
|     $0.CommentListRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$commentList, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 发布评论
 | |
|   $grpc.ResponseFuture<$1.StatusReply> addComment(
 | |
|     $0.CommentItem request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$addComment, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 修改评论
 | |
|   $grpc.ResponseFuture<$1.StatusReply> modifyComment(
 | |
|     $0.CommentItem request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$modifyComment, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 删除评论
 | |
|   $grpc.ResponseFuture<$1.StatusReply> deleteComment(
 | |
|     $0.DeleteCommentRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$deleteComment, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 评论点赞处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> incrCommentLike(
 | |
|     $0.CommentOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$incrCommentLike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 评论点赞取消处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> descCommentLike(
 | |
|     $0.CommentOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$descCommentLike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 评论点踩处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> incrCommentUnlike(
 | |
|     $0.CommentOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$incrCommentUnlike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   /// 评论点踩取消处理
 | |
|   $grpc.ResponseFuture<$1.StatusReply> descCommentUnlike(
 | |
|     $0.CommentOpIdentityRequest request, {
 | |
|     $grpc.CallOptions? options,
 | |
|   }) {
 | |
|     return $createUnaryCall(_$descCommentUnlike, request, options: options);
 | |
|   }
 | |
| 
 | |
|   // method descriptors
 | |
| 
 | |
|   static final _$fetch =
 | |
|       $grpc.ClientMethod<$0.PostListRequest, $0.PostListReply>(
 | |
|           '/cms.Post/Fetch',
 | |
|           ($0.PostListRequest value) => value.writeToBuffer(),
 | |
|           $0.PostListReply.fromBuffer);
 | |
|   static final _$getByIdentity =
 | |
|       $grpc.ClientMethod<$0.GetPostRequest, $0.PostItem>(
 | |
|           '/cms.Post/GetByIdentity',
 | |
|           ($0.GetPostRequest value) => value.writeToBuffer(),
 | |
|           $0.PostItem.fromBuffer);
 | |
|   static final _$getByKey =
 | |
|       $grpc.ClientMethod<$0.GetPostByKeyRequest, $0.PostItem>(
 | |
|           '/cms.Post/GetByKey',
 | |
|           ($0.GetPostByKeyRequest value) => value.writeToBuffer(),
 | |
|           $0.PostItem.fromBuffer);
 | |
|   static final _$search =
 | |
|       $grpc.ClientMethod<$1.SearchRequest, $0.PostListReply>(
 | |
|           '/cms.Post/Search',
 | |
|           ($1.SearchRequest value) => value.writeToBuffer(),
 | |
|           $0.PostListReply.fromBuffer);
 | |
|   static final _$create = $grpc.ClientMethod<$0.PostItem, $1.StatusReply>(
 | |
|       '/cms.Post/Create',
 | |
|       ($0.PostItem value) => value.writeToBuffer(),
 | |
|       $1.StatusReply.fromBuffer);
 | |
|   static final _$modify = $grpc.ClientMethod<$0.PostItem, $1.StatusReply>(
 | |
|       '/cms.Post/Modify',
 | |
|       ($0.PostItem value) => value.writeToBuffer(),
 | |
|       $1.StatusReply.fromBuffer);
 | |
|   static final _$delete = $grpc.ClientMethod<$1.IdentRequest, $1.StatusReply>(
 | |
|       '/cms.Post/Delete',
 | |
|       ($1.IdentRequest value) => value.writeToBuffer(),
 | |
|       $1.StatusReply.fromBuffer);
 | |
|   static final _$incrPostLike =
 | |
|       $grpc.ClientMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/IncrPostLike',
 | |
|           ($0.PostOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$descPostLike =
 | |
|       $grpc.ClientMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/DescPostLike',
 | |
|           ($0.PostOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$incrPostUnlike =
 | |
|       $grpc.ClientMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/IncrPostUnlike',
 | |
|           ($0.PostOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$descPostUnlike =
 | |
|       $grpc.ClientMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/DescPostUnlike',
 | |
|           ($0.PostOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$commentList =
 | |
|       $grpc.ClientMethod<$0.CommentListRequest, $0.CommentListResponse>(
 | |
|           '/cms.Post/CommentList',
 | |
|           ($0.CommentListRequest value) => value.writeToBuffer(),
 | |
|           $0.CommentListResponse.fromBuffer);
 | |
|   static final _$addComment =
 | |
|       $grpc.ClientMethod<$0.CommentItem, $1.StatusReply>(
 | |
|           '/cms.Post/AddComment',
 | |
|           ($0.CommentItem value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$modifyComment =
 | |
|       $grpc.ClientMethod<$0.CommentItem, $1.StatusReply>(
 | |
|           '/cms.Post/ModifyComment',
 | |
|           ($0.CommentItem value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$deleteComment =
 | |
|       $grpc.ClientMethod<$0.DeleteCommentRequest, $1.StatusReply>(
 | |
|           '/cms.Post/DeleteComment',
 | |
|           ($0.DeleteCommentRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$incrCommentLike =
 | |
|       $grpc.ClientMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/IncrCommentLike',
 | |
|           ($0.CommentOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$descCommentLike =
 | |
|       $grpc.ClientMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/DescCommentLike',
 | |
|           ($0.CommentOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$incrCommentUnlike =
 | |
|       $grpc.ClientMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/IncrCommentUnlike',
 | |
|           ($0.CommentOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
|   static final _$descCommentUnlike =
 | |
|       $grpc.ClientMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|           '/cms.Post/DescCommentUnlike',
 | |
|           ($0.CommentOpIdentityRequest value) => value.writeToBuffer(),
 | |
|           $1.StatusReply.fromBuffer);
 | |
| }
 | |
| 
 | |
| @$pb.GrpcServiceName('cms.Post')
 | |
| abstract class PostServiceBase extends $grpc.Service {
 | |
|   $core.String get $name => 'cms.Post';
 | |
| 
 | |
|   PostServiceBase() {
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostListRequest, $0.PostListReply>(
 | |
|         'Fetch',
 | |
|         fetch_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $0.PostListRequest.fromBuffer(value),
 | |
|         ($0.PostListReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.GetPostRequest, $0.PostItem>(
 | |
|         'GetByIdentity',
 | |
|         getByIdentity_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $0.GetPostRequest.fromBuffer(value),
 | |
|         ($0.PostItem value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.GetPostByKeyRequest, $0.PostItem>(
 | |
|         'GetByKey',
 | |
|         getByKey_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.GetPostByKeyRequest.fromBuffer(value),
 | |
|         ($0.PostItem value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$1.SearchRequest, $0.PostListReply>(
 | |
|         'Search',
 | |
|         search_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $1.SearchRequest.fromBuffer(value),
 | |
|         ($0.PostListReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostItem, $1.StatusReply>(
 | |
|         'Create',
 | |
|         create_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $0.PostItem.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostItem, $1.StatusReply>(
 | |
|         'Modify',
 | |
|         modify_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $0.PostItem.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$1.IdentRequest, $1.StatusReply>(
 | |
|         'Delete',
 | |
|         delete_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $1.IdentRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|         'IncrPostLike',
 | |
|         incrPostLike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.PostOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|         'DescPostLike',
 | |
|         descPostLike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.PostOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|         'IncrPostUnlike',
 | |
|         incrPostUnlike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.PostOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.PostOpIdentityRequest, $1.StatusReply>(
 | |
|         'DescPostUnlike',
 | |
|         descPostUnlike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.PostOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod(
 | |
|         $grpc.ServiceMethod<$0.CommentListRequest, $0.CommentListResponse>(
 | |
|             'CommentList',
 | |
|             commentList_Pre,
 | |
|             false,
 | |
|             false,
 | |
|             ($core.List<$core.int> value) =>
 | |
|                 $0.CommentListRequest.fromBuffer(value),
 | |
|             ($0.CommentListResponse value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.CommentItem, $1.StatusReply>(
 | |
|         'AddComment',
 | |
|         addComment_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $0.CommentItem.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.CommentItem, $1.StatusReply>(
 | |
|         'ModifyComment',
 | |
|         modifyComment_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) => $0.CommentItem.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.DeleteCommentRequest, $1.StatusReply>(
 | |
|         'DeleteComment',
 | |
|         deleteComment_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.DeleteCommentRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|         'IncrCommentLike',
 | |
|         incrCommentLike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.CommentOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|         'DescCommentLike',
 | |
|         descCommentLike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.CommentOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|         'IncrCommentUnlike',
 | |
|         incrCommentUnlike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.CommentOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|     $addMethod($grpc.ServiceMethod<$0.CommentOpIdentityRequest, $1.StatusReply>(
 | |
|         'DescCommentUnlike',
 | |
|         descCommentUnlike_Pre,
 | |
|         false,
 | |
|         false,
 | |
|         ($core.List<$core.int> value) =>
 | |
|             $0.CommentOpIdentityRequest.fromBuffer(value),
 | |
|         ($1.StatusReply value) => value.writeToBuffer()));
 | |
|   }
 | |
| 
 | |
|   $async.Future<$0.PostListReply> fetch_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.PostListRequest> $request) async {
 | |
|     return fetch($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$0.PostListReply> fetch(
 | |
|       $grpc.ServiceCall call, $0.PostListRequest request);
 | |
| 
 | |
|   $async.Future<$0.PostItem> getByIdentity_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.GetPostRequest> $request) async {
 | |
|     return getByIdentity($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$0.PostItem> getByIdentity(
 | |
|       $grpc.ServiceCall call, $0.GetPostRequest request);
 | |
| 
 | |
|   $async.Future<$0.PostItem> getByKey_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.GetPostByKeyRequest> $request) async {
 | |
|     return getByKey($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$0.PostItem> getByKey(
 | |
|       $grpc.ServiceCall call, $0.GetPostByKeyRequest request);
 | |
| 
 | |
|   $async.Future<$0.PostListReply> search_Pre(
 | |
|       $grpc.ServiceCall $call, $async.Future<$1.SearchRequest> $request) async {
 | |
|     return search($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$0.PostListReply> search(
 | |
|       $grpc.ServiceCall call, $1.SearchRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> create_Pre(
 | |
|       $grpc.ServiceCall $call, $async.Future<$0.PostItem> $request) async {
 | |
|     return create($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> create(
 | |
|       $grpc.ServiceCall call, $0.PostItem request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> modify_Pre(
 | |
|       $grpc.ServiceCall $call, $async.Future<$0.PostItem> $request) async {
 | |
|     return modify($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> modify(
 | |
|       $grpc.ServiceCall call, $0.PostItem request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> delete_Pre(
 | |
|       $grpc.ServiceCall $call, $async.Future<$1.IdentRequest> $request) async {
 | |
|     return delete($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> delete(
 | |
|       $grpc.ServiceCall call, $1.IdentRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrPostLike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.PostOpIdentityRequest> $request) async {
 | |
|     return incrPostLike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrPostLike(
 | |
|       $grpc.ServiceCall call, $0.PostOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descPostLike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.PostOpIdentityRequest> $request) async {
 | |
|     return descPostLike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descPostLike(
 | |
|       $grpc.ServiceCall call, $0.PostOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrPostUnlike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.PostOpIdentityRequest> $request) async {
 | |
|     return incrPostUnlike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrPostUnlike(
 | |
|       $grpc.ServiceCall call, $0.PostOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descPostUnlike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.PostOpIdentityRequest> $request) async {
 | |
|     return descPostUnlike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descPostUnlike(
 | |
|       $grpc.ServiceCall call, $0.PostOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$0.CommentListResponse> commentList_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.CommentListRequest> $request) async {
 | |
|     return commentList($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$0.CommentListResponse> commentList(
 | |
|       $grpc.ServiceCall call, $0.CommentListRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> addComment_Pre(
 | |
|       $grpc.ServiceCall $call, $async.Future<$0.CommentItem> $request) async {
 | |
|     return addComment($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> addComment(
 | |
|       $grpc.ServiceCall call, $0.CommentItem request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> modifyComment_Pre(
 | |
|       $grpc.ServiceCall $call, $async.Future<$0.CommentItem> $request) async {
 | |
|     return modifyComment($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> modifyComment(
 | |
|       $grpc.ServiceCall call, $0.CommentItem request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> deleteComment_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.DeleteCommentRequest> $request) async {
 | |
|     return deleteComment($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> deleteComment(
 | |
|       $grpc.ServiceCall call, $0.DeleteCommentRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrCommentLike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.CommentOpIdentityRequest> $request) async {
 | |
|     return incrCommentLike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrCommentLike(
 | |
|       $grpc.ServiceCall call, $0.CommentOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descCommentLike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.CommentOpIdentityRequest> $request) async {
 | |
|     return descCommentLike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descCommentLike(
 | |
|       $grpc.ServiceCall call, $0.CommentOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrCommentUnlike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.CommentOpIdentityRequest> $request) async {
 | |
|     return incrCommentUnlike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> incrCommentUnlike(
 | |
|       $grpc.ServiceCall call, $0.CommentOpIdentityRequest request);
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descCommentUnlike_Pre($grpc.ServiceCall $call,
 | |
|       $async.Future<$0.CommentOpIdentityRequest> $request) async {
 | |
|     return descCommentUnlike($call, await $request);
 | |
|   }
 | |
| 
 | |
|   $async.Future<$1.StatusReply> descCommentUnlike(
 | |
|       $grpc.ServiceCall call, $0.CommentOpIdentityRequest request);
 | |
| }
 |