AssignEntityGroupRequest req) throws ServiceException {
try {
final byte[] entityGroupName = req.getEntityGroup().getValue()
.toByteArray();
EntityGroupSpecifierType type = req.getEntityGroup().getType();
AssignEntityGroupResponse aegr = AssignEntityGroupResponse.newBuilder()
.build();
checkInitialized();
if (type != EntityGroupSpecifierType.ENTITYGROUP_NAME) {
LOG.warn("assignEntityGroup specifier type: expected: "