EntityTypesServiceBase constructor
EntityTypesServiceBase()
Implementation
EntityTypesServiceBase() {
$addMethod($grpc.ServiceMethod<$5.ListEntityTypesRequest,
$5.ListEntityTypesResponse>(
'ListEntityTypes',
listEntityTypes_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.ListEntityTypesRequest.fromBuffer(value),
($5.ListEntityTypesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GetEntityTypeRequest, $5.EntityType>(
'GetEntityType',
getEntityType_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.GetEntityTypeRequest.fromBuffer(value),
($5.EntityType value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.CreateEntityTypeRequest, $5.EntityType>(
'CreateEntityType',
createEntityType_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.CreateEntityTypeRequest.fromBuffer(value),
($5.EntityType value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.UpdateEntityTypeRequest, $5.EntityType>(
'UpdateEntityType',
updateEntityType_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.UpdateEntityTypeRequest.fromBuffer(value),
($5.EntityType value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.DeleteEntityTypeRequest, $1.Empty>(
'DeleteEntityType',
deleteEntityType_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.DeleteEntityTypeRequest.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
}