VersionsServiceBase constructor
VersionsServiceBase()
Implementation
VersionsServiceBase() {
$addMethod(
$grpc.ServiceMethod<$14.ListVersionsRequest, $14.ListVersionsResponse>(
'ListVersions',
listVersions_Pre,
false,
false,
($core.List<$core.int> value) =>
$14.ListVersionsRequest.fromBuffer(value),
($14.ListVersionsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetVersionRequest, $14.Version>(
'GetVersion',
getVersion_Pre,
false,
false,
($core.List<$core.int> value) =>
$14.GetVersionRequest.fromBuffer(value),
($14.Version value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.CreateVersionRequest, $2.Operation>(
'CreateVersion',
createVersion_Pre,
false,
false,
($core.List<$core.int> value) =>
$14.CreateVersionRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.UpdateVersionRequest, $14.Version>(
'UpdateVersion',
updateVersion_Pre,
false,
false,
($core.List<$core.int> value) =>
$14.UpdateVersionRequest.fromBuffer(value),
($14.Version value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.DeleteVersionRequest, $1.Empty>(
'DeleteVersion',
deleteVersion_Pre,
false,
false,
($core.List<$core.int> value) =>
$14.DeleteVersionRequest.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.LoadVersionRequest, $2.Operation>(
'LoadVersion',
loadVersion_Pre,
false,
false,
($core.List<$core.int> value) =>
$14.LoadVersionRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
}