AccessControlProtos.UserPermission.newBuilder()
.setUser(ByteString.copyFromUtf8(username))
.setPermission(ret)
).build();
}
<BUG>public static AccessControlProtos.GrantRequest buildGrantRequest(

String username, AccessControlProtos.Permission.Action... actions) {
</BUG>
AccessControlProtos.Permission.Builder ret =

AccessControlProtos.UserPermission.newBuilder()
.setUser(ByteString.copyFromUtf8(username))
.setPermission(ret)
).setMergeExistingPermissions(mergeExistingPermissions).build();
}
public static AccessControlProtos.GrantRequest buildGrantRequest(
String username, String namespace, boolean mergeExistingPermissions,
AccessControlProtos.Permission.Action... actions) {
AccessControlProtos.Permission.Builder ret =
