ContactServiceBase constructor
ContactServiceBase()
Implementation
ContactServiceBase() {
$addMethod($grpc.ServiceMethod<$0.ContactRequest, $1.StatusResponse>(
'createOne',
createOne_Pre,
false,
false,
($core.List<$core.int> value) => $0.ContactRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ContactsRequest, $1.StatusResponse>(
'createMany',
createMany_Pre,
false,
false,
($core.List<$core.int> value) => $0.ContactsRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ReadContactRequest, $2.ContactPb>(
'readOne',
readOne_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ReadContactRequest.fromBuffer(value),
($2.ContactPb value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.ReadAllContactsRequest, $0.ContactsResponse>(
'readAll',
readAll_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ReadAllContactsRequest.fromBuffer(value),
($0.ContactsResponse value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.ReadContactsIdsRequest, $0.ContactsIdsResponse>(
'readAllIds',
readAllIds_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ReadContactsIdsRequest.fromBuffer(value),
($0.ContactsIdsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ContactRequest, $1.StatusResponse>(
'updateOne',
updateOne_Pre,
false,
false,
($core.List<$core.int> value) => $0.ContactRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ContactRequest, $1.StatusResponse>(
'deleteOne',
deleteOne_Pre,
false,
false,
($core.List<$core.int> value) => $0.ContactRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
}